Skip to content

Commit

Permalink
Updates to package and release pipelines (#23800) (#23919)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapatwardhan committed Jun 11, 2024
1 parent 53ae33a commit 0677255
Show file tree
Hide file tree
Showing 19 changed files with 1,942 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .pipelines/PowerShell-Coordinated_Packages-Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ extends:
cg:
enabled: true
ignoreDirectories: '.devcontainer,demos,docker,docs,src,test,tools/packaging'
asyncSdl: # https://aka.ms/obpipelines/asyncsdl
asyncSdl:
enabled: true
forStages: [prep, macos, linux, windows, SignFiles, test_and_release_artifacts]
credscan:
Expand Down
18 changes: 12 additions & 6 deletions .pipelines/PowerShell-Packages-Official.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
trigger: none # https://aka.ms/obpipelines/triggers
trigger: none

parameters: # parameters are shown up in ADO UI in a build queue time
- name: 'debug'
Expand All @@ -20,7 +20,7 @@ parameters: # parameters are shown up in ADO UI in a build queue time

variables:
- name: CDP_DEFINITION_BUILD_COUNT
value: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning
value: $[counter('', 0)] # needed for onebranch.pipeline.version task
- name: system.debug
value: ${{ parameters.debug }}
- name: ENABLE_PRS_DELAYSIGN
Expand All @@ -40,10 +40,14 @@ variables:
- name: ob_outputDirectory
value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT'
- name: WindowsContainerImage
value: 'onebranch.azurecr.io/windows/ltsc2019/vse2022:latest' # Docker image which is used to build the project https://aka.ms/obpipelines/containers
value: 'onebranch.azurecr.io/windows/ltsc2019/vse2022:latest' # Docker image which is used to build the project
- name: LinuxContainerImage
value: mcr.microsoft.com/onebranch/cbl-mariner/build:2.0
- group: mscodehub-feed-read-akv
- name: branchCounterKey
value: $[format('{0:yyyyMMdd}-{1}', pipeline.startTime,variables['Build.SourceBranch'])]
- name: branchCounter
value: $[counter(variables['branchCounterKey'], 1)]

resources:
pipelines:
Expand All @@ -62,9 +66,9 @@ resources:
ref: refs/heads/main

extends:
template: v2/OneBranch.Official.CrossPlat.yml@templates # https://aka.ms/obpipelines/templates
template: v2/OneBranch.Official.CrossPlat.yml@templates
parameters:
cloudvault: # https://aka.ms/obpipelines/cloudvault
cloudvault:
enabled: false
featureFlags:
linuxEsrpSigning: true
Expand All @@ -84,7 +88,7 @@ extends:
cg:
enabled: true
ignoreDirectories: '.devcontainer,demos,docker,docs,src,test,tools/packaging'
asyncSdl: # https://aka.ms/obpipelines/asyncsdl
asyncSdl:
enabled: true
forStages: ['build']
credscan:
Expand Down Expand Up @@ -149,13 +153,15 @@ extends:
signedDrop: 'drop_linux_sign_linux_fxd_x64_mariner'
packageType: rpm-fxdependent #mariner-x64
jobName: mariner_x64
signingProfile: 'CP-459159-Pgp'

- template: /.pipelines/templates/linux-package-build.yml@self
parameters:
unsignedDrop: 'drop_linux_build_linux_fxd_arm64_mariner'
signedDrop: 'drop_linux_sign_linux_fxd_arm64_mariner'
packageType: rpm-fxdependent-arm64 #mariner-arm64
jobName: mariner_arm64
signingProfile: 'CP-459159-Pgp'

- template: /.pipelines/templates/linux-package-build.yml@self
parameters:
Expand Down
Loading

0 comments on commit 0677255

Please sign in to comment.