Skip to content

Commit f9de13e

Browse files
committed
ci: build cns in release test pipeline (#3869)
* test build img * test setup * add branches to trigger * add os version to parameterrs in image build * cleanup changes * remove os version
1 parent a45487d commit f9de13e

File tree

1 file changed

+27
-13
lines changed

1 file changed

+27
-13
lines changed

.pipelines/cni/pipeline.yaml

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ stages:
2020
go version
2121
echo "##vso[task.setvariable variable=commitID;isOutput=true]$(echo $(make revision)-$(date "+%d%H%M"))"
2222
echo "##vso[task.setvariable variable=npmVersion;isOutput=true]$(make npm-version)"
23-
echo "##vso[task.setvariable variable=cnsVersion;isOutput=true]$(CNS_VERSION)"
2423
name: "SetEnvVars"
2524
displayName: "Set Environment Variables"
2625
condition: always()
@@ -63,6 +62,14 @@ stages:
6362
name: cni
6463
os: windows
6564
os_version: ltsc2022
65+
cns_linux_amd64:
66+
arch: amd64
67+
name: cns
68+
os: linux
69+
cns_windows_amd64:
70+
arch: amd64
71+
name: cns
72+
os: windows
6673
npm_linux_amd64:
6774
arch: amd64
6875
name: npm
@@ -85,18 +92,22 @@ stages:
8592
name: "$(BUILD_POOL_NAME_LINUX_ARM64)"
8693
strategy:
8794
matrix:
88-
azure_ipam_linux_arm64:
89-
arch: arm64
90-
name: azure-ipam
91-
os: linux
92-
cni_linux_arm64:
93-
arch: arm64
94-
name: cni
95-
os: linux
96-
npm_linux_arm64:
97-
arch: arm64
98-
name: npm
99-
os: linux
95+
azure_ipam_linux_arm64:
96+
arch: arm64
97+
name: azure-ipam
98+
os: linux
99+
cni_linux_arm64:
100+
arch: arm64
101+
name: cni
102+
os: linux
103+
cns_linux_arm64:
104+
arch: arm64
105+
name: cns
106+
os: linux
107+
npm_linux_arm64:
108+
arch: arm64
109+
name: npm
110+
os: linux
100111
steps:
101112
- template: ../containers/container-template.yaml
102113
parameters:
@@ -154,6 +165,9 @@ stages:
154165
name: cni
155166
os_versions: ltsc2019 ltsc2022
156167
platforms: linux/amd64 linux/arm64 windows/amd64
168+
cns:
169+
name: cns
170+
platforms: linux/amd64 linux/arm64 windows/amd64
157171
npm:
158172
name: npm
159173
os_versions: ltsc2022

0 commit comments

Comments
 (0)