@@ -6,7 +6,7 @@ parameters:
66jobs :
77- ${{ each job_data in parameters.binaries }} :
88 - job : binaries_${{ job_data.job }}
9- displayName : " Build Binary - ${{ job_data.displayName }}"
9+ displayName : " Build Binary - ${{ job_data.displayName }} - "
1010 strategy : ${{ job_data.strategy }}
1111 pool :
1212 type : linux
3939 target : $(name)
4040 os : $(OS)
4141 arch : $(ARCH)
42-
43-
44- - job : sign_${{ job_data.job }}
45- displayName : " Sign Binary - ${{ job_data.displayName }}"
46- strategy : ${{ job_data.strategy }}
47- dependsOn :
48- - binaries_${{ job_data.job }}
49- pool :
50- type : docker
51- os : linux
52- ${{ if eq(job_data.job, 'linux_arm64') }} :
53- hostArchitecture : arm64
54- ${{ else }} :
55- hostArchitecture : amd64
56- variables :
57- ob_outputDirectory : $(Build.ArtifactStagingDirectory)/out
58- ob_artifactSuffix : _$(artifact)
59- ob_extract_root_artifact : true
60- ${{ if eq(job_data.job, 'linux_amd64') }} :
61- LinuxContainerImage : $(LinuxContainerImage2)
62- ARCH : amd64
63- OS : linux
64- ${{ elseif eq(job_data.job, 'windows_amd64') }} :
65- LinuxContainerImage : $(LinuxContainerImage2)
66- ob_enable_qemu : true
67- ARCH : amd64
68- OS : windows
69- ${{ elseif eq(job_data.job, 'linux_arm64') }} :
70- LinuxContainerImage : $(LinuxContainerImage3)
71- ob_enable_qemu : true
72- ARCH : arm64
73- OS : linux
74-
75- steps :
76- - task : DownloadPipelineArtifact@2
77- inputs :
78- targetPath : $(Build.ArtifactStagingDirectory)/out
79- artifact : drop_build_binaries_${{ job_data.job }}_$(artifact)
80-
81- - task : onebranch.pipeline.signing@1
82- inputs :
83- command : ' sign'
84- signing_profile : ' external_distribution'
85- files_to_sign : ' **/*'
86- search_root : ' $(Build.ArtifactStagingDirectory)/out'
0 commit comments