Skip to content

Commit 1e5ce38

Browse files
committed
fixup! Add Explicit Binary Signing Task
1 parent 850380a commit 1e5ce38

File tree

2 files changed

+56
-3
lines changed

2 files changed

+56
-3
lines changed

.pipelines/build/binaries.jobs.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ jobs:
4949
- job: sign_${{ job_data.job }}
5050
displayName: "Sign Binary - ${{ job_data.displayName }} -"
5151
strategy: ${{ job_data.strategy }}
52-
dependsOn:
53-
- binaries_${{ job_data.job }}
5452
pool:
55-
type: linux
53+
${{ if eq(job_data.job, 'windows_amd64') }}:
54+
type: windows
55+
${{ else }}:
56+
type: linux
5657
variables:
5758
ob_outputDirectory: $(Build.SourcesDirectory)
5859
ob_artifactSuffix: _$(artifact)

.pipelines/run-pipeline.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,58 @@ stages:
331331
NPM_LINUX_ARM64_REF: $(IMAGE_REPO_PATH)/linux-arm64/npm:$(Build.BuildNumber)
332332
NPM_WINDOWS_AMD64_REF: $(IMAGE_REPO_PATH)/windows-amd64/npm:$(Build.BuildNumber)
333333
jobs:
334+
- template: build/binaries.jobs.yaml
335+
parameters:
336+
binaries:
337+
- job: linux_amd64
338+
displayName: "Linux/AMD64"
339+
templateContext:
340+
action: sign
341+
repositoryArtifact: drop_build_binaries_linux_amd64_$(artifact)
342+
strategy:
343+
matrix:
344+
azure_ipam:
345+
artifact: azure-ipam
346+
cni:
347+
artifact: cni
348+
cns:
349+
artifact: cns
350+
ipv6_hp_bpf:
351+
artifact: ipv6-hp-bpf
352+
npm:
353+
artifact: npm
354+
- job: windows_amd64
355+
displayName: "Windows/AMD64"
356+
templateContext:
357+
action: sign
358+
repositoryArtifact: drop_build_binaries_windows_amd64_$(artifact)
359+
strategy:
360+
matrix:
361+
cni:
362+
artifact: cni
363+
cns:
364+
artifact: cns
365+
npm:
366+
artifact: npm
367+
- job: linux_arm64
368+
displayName: "Linux/ARM64"
369+
templateContext:
370+
action: sign
371+
repositoryArtifact: drop_build_binaries_linux_arm64_$(artifact)
372+
strategy:
373+
matrix:
374+
azure_ipam:
375+
artifact: azure-ipam
376+
cni:
377+
artifact: cni
378+
cns:
379+
artifact: cns
380+
ipv6_hp_bpf:
381+
artifact: ipv6-hp-bpf
382+
npm:
383+
artifact: npm
384+
385+
334386
- template: build/manifests.jobs.yaml
335387
parameters:
336388
generate:

0 commit comments

Comments
 (0)