Skip to content

Commit

Permalink
Add ubuntu mantic/noble release and also disable legacy ones (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangpanMS authored Dec 16, 2024
1 parent c507c95 commit 8fc3478
Showing 1 changed file with 75 additions and 49 deletions.
124 changes: 75 additions & 49 deletions .pipelines/azure-pipelines-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ stages:
# AzLinux
- task: PublishLinuxPackagesPMC@0
displayName: 'AzLinux 3.0 rpm publish x64'
enabled: false
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
Expand All @@ -204,9 +203,9 @@ stages:
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/rpmpackages'
repository: 'azurelinux-3.0-prod-base-x86_64-yum'

- task: PublishLinuxPackagesPMC@0
displayName: 'AzLinux 3.0 rpm publish aarch64'
enabled: false
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
Expand All @@ -218,7 +217,6 @@ stages:

- task: PublishLinuxPackagesPMC@0
displayName: 'Mariner 2.0 rpm publish x64'
enabled: false
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
Expand All @@ -230,7 +228,6 @@ stages:

- task: PublishLinuxPackagesPMC@0
displayName: 'Mariner 2.0 rpm publish aarch64'
enabled: false
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
Expand All @@ -242,7 +239,6 @@ stages:

- task: PublishLinuxPackagesPMC@0
displayName: 'Mariner 1.0 rpm publish'
enabled: false
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
Expand All @@ -254,7 +250,6 @@ stages:

- task: PublishLinuxPackagesPMC@0
displayName: 'Mariner 1.0 rpm publish'
enabled: false
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
Expand Down Expand Up @@ -631,77 +626,89 @@ stages:

# Ubuntu
- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 17.10 deb publish'
displayName: 'Ubuntu 23.10 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-artful-prod-apt'
release: 'artful'
repository: 'microsoft-ubuntu-noble-prod-apt'
release: 'noble'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 18.04 deb publish'
displayName: 'Ubuntu 23.10 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-bionic-prod-apt'
release: 'bionic'
repository: 'microsoft-ubuntu-mantic-prod-apt'
release: 'mantic'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 18.10 deb publish'
displayName: 'Ubuntu 23.04 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-cosmic-prod-apt'
release: 'cosmic'
repository: 'microsoft-ubuntu-lunar-prod-apt'
release: 'lunar'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 19.04 deb publish'
displayName: 'Ubuntu 22.10 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-disco-prod-apt'
release: 'disco'
repository: 'microsoft-ubuntu-kinetic-prod-apt'
release: 'kinetic'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 19.10 deb publish'
displayName: 'Ubuntu 22.04 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-eoan-prod-apt'
release: 'eoan'
repository: 'microsoft-ubuntu-jammy-prod-apt'
release: 'jammy'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 20.04 deb publish'
displayName: 'Ubuntu 21.10 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-focal-prod-apt'
release: 'focal'

repository: 'microsoft-ubuntu-impish-prod-apt'
release: 'impish'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 21.04 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-hirsute-prod-apt'
release: 'hirsute'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 20.10 deb publish'
inputs:
Expand All @@ -713,68 +720,70 @@ stages:
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-groovy-prod-apt'
release: 'groovy'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 21.04 deb publish'
displayName: 'Ubuntu 20.04 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-hirsute-prod-apt'
release: 'hirsute'
repository: 'microsoft-ubuntu-focal-prod-apt'
release: 'focal'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 21.10 deb publish'
displayName: 'Ubuntu 19.10 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-impish-prod-apt'
release: 'impish'
repository: 'microsoft-ubuntu-eoan-prod-apt'
release: 'eoan'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 22.04 deb publish'
displayName: 'Ubuntu 19.04 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-jammy-prod-apt'
release: 'jammy'
repository: 'microsoft-ubuntu-disco-prod-apt'
release: 'disco'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 22.10 deb publish'
displayName: 'Ubuntu 18.10 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-kinetic-prod-apt'
release: 'kinetic'
repository: 'microsoft-ubuntu-cosmic-prod-apt'
release: 'cosmic'

- task: PublishLinuxPackagesPMC@0
displayName: 'Ubuntu 23.04 deb publish'
displayName: 'Ubuntu 18.04 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-lunar-prod-apt'
release: 'lunar'

repository: 'microsoft-ubuntu-bionic-prod-apt'
release: 'bionic'

# Disable legacy ubuntu publish
- task: PublishLinuxPackagesPMC@0
enabled: false
displayName: 'Ubuntu 14.04 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
Expand All @@ -787,6 +796,7 @@ stages:
release: 'trusty'

- task: PublishLinuxPackagesPMC@0
enabled: false
displayName: 'Ubuntu 15.10 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
Expand All @@ -799,6 +809,7 @@ stages:
release: 'wily'

- task: PublishLinuxPackagesPMC@0
enabled: false
displayName: 'Ubuntu 16.04 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
Expand All @@ -811,6 +822,7 @@ stages:
release: 'xenial'

- task: PublishLinuxPackagesPMC@0
enabled: false
displayName: 'Ubuntu 16.10 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
Expand All @@ -823,6 +835,7 @@ stages:
release: 'yakkety'

- task: PublishLinuxPackagesPMC@0
enabled: false
displayName: 'Ubuntu 17.04 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
Expand All @@ -833,3 +846,16 @@ stages:
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-zesty-prod-apt'
release: 'zesty'

- task: PublishLinuxPackagesPMC@0
enabled: false
displayName: 'Ubuntu 17.10 deb publish'
inputs:
profile: 'prod' # or 'tuxdev'
authType: 'wif'
auth_token: $(idToken) # no quotations
tenant_ID: $(tenantId) # no quotations
service_principal_ID: $(servicePrincipalId) # no quotations
package_path: '$(Agent.BuildDirectory)/drop/packages'
repository: 'microsoft-ubuntu-artful-prod-apt'
release: 'artful'

0 comments on commit 8fc3478

Please sign in to comment.