Skip to content

Commit ae545d5

Browse files
author
Sheyla Trudo
committed
fixup! Separate Build Changes
1 parent d28306f commit ae545d5

File tree

1 file changed

+29
-89
lines changed

1 file changed

+29
-89
lines changed

.pipelines/run-pipeline.yaml

Lines changed: 29 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -74,96 +74,36 @@ stages:
7474
dependsOn:
7575
- setup
7676
- test
77+
strategy:
78+
maxParallel: 4
79+
matrix:
80+
windows_amd64:
81+
arch: amd64
82+
os: windows
83+
images: |
84+
azure-ipam
85+
cni
86+
cns
87+
npm
88+
linux_amd64: |
89+
azure-ipam
90+
cni
91+
cns
92+
ipv6-hp-bpf
93+
npm
94+
linux_arm64: |
95+
azure-ipam
96+
cni
97+
cns
98+
ipv6-hp-bpf
99+
npm
77100
jobs:
78-
- job: containerize_amd64
79-
displayName: Build Images
80-
templateContext:
81-
type: containerBuildJob
82-
strategy:
83-
maxParallel: 4
84-
matrix:
85-
azure_ipam_linux_amd64:
86-
arch: amd64
87-
name: azure-ipam
88-
os: linux
89-
azure_ipam_windows:
90-
arch: amd64
91-
name: azure-ipam
92-
os: windows
93-
cni_linux_amd64:
94-
arch: amd64
95-
name: cni
96-
os: linux
97-
cni_windows_amd64:
98-
arch: amd64
99-
name: cni
100-
os: windows
101-
cns_linux_amd64:
102-
arch: amd64
103-
name: cns
104-
os: linux
105-
cns_windows_amd64:
106-
arch: amd64
107-
name: cns
108-
os: windows
109-
ipv6_hp_bpf_linux_amd64:
110-
arch: amd64
111-
name: ipv6-hp-bpf
112-
os: linux
113-
npm_linux_amd64:
114-
arch: amd64
115-
name: npm
116-
os: linux
117-
npm_windows_amd64:
118-
arch: amd64
119-
name: npm
120-
os: windows
121-
steps:
122-
- task: GoTool@0
123-
inputs:
124-
version: $(GO_VERSION)
125-
- template: containers/container-template.steps.yaml
126-
parameters:
127-
arch: $(arch)
128-
name: $(name)
129-
os: $(os)
130-
os_version: $(os_version)
131-
- job: containerize_linux_arm64
132-
displayName: Build Images
133-
templateContext:
134-
type: containerBuildJob
135-
pool:
136-
name: "$(BUILD_POOL_NAME_LINUX_ARM64)"
137-
os: linux
138-
strategy:
139-
maxParallel: 4
140-
matrix:
141-
azure_ipam_linux_arm64:
142-
arch: arm64
143-
name: azure-ipam
144-
os: linux
145-
cni_linux_arm64:
146-
arch: arm64
147-
name: cni
148-
os: linux
149-
cns_linux_arm64:
150-
arch: arm64
151-
name: cns
152-
os: linux
153-
ipv6_hp_bpf_linux_arm64:
154-
arch: arm64
155-
name: ipv6-hp-bpf
156-
os: linux
157-
npm_linux_arm64:
158-
arch: arm64
159-
name: npm
160-
os: linux
161-
steps:
162-
- template: containers/container-template.steps.yaml
163-
parameters:
164-
arch: $(arch)
165-
name: $(name)
166-
os: $(os)
101+
- template: templates/container-template.jobs.yaml
102+
parameters:
103+
arch: $(arch)
104+
os: $(os)
105+
images: $(images)
106+
167107

168108
- stage: publish
169109
displayName: Publish Multiarch Manifests

0 commit comments

Comments
 (0)