Skip to content

Commit 936b77b

Browse files
authored
[backport] release/v1.5 ci: build cns in release test pipeline (#3869) (#3986)
* 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 * add os_versions * update img build
1 parent 45128fd commit 936b77b

File tree

1 file changed

+34
-13
lines changed

1 file changed

+34
-13
lines changed

.pipelines/cni/pipeline.yaml

Lines changed: 34 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,20 @@ stages:
6362
name: cni
6463
os: windows
6564
os_version: ltsc2022
65+
cns_windows2019_amd64:
66+
arch: amd64
67+
name: cns
68+
os: windows
69+
os_version: ltsc2019
70+
cns_linux_amd64:
71+
arch: amd64
72+
name: cns
73+
os: linux
74+
cns_windows2022_amd64:
75+
arch: amd64
76+
name: cns
77+
os: windows
78+
os_version: ltsc2022
6679
npm_linux_amd64:
6780
arch: amd64
6881
name: npm
@@ -85,18 +98,22 @@ stages:
8598
name: "$(BUILD_POOL_NAME_LINUX_ARM64)"
8699
strategy:
87100
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
101+
azure_ipam_linux_arm64:
102+
arch: arm64
103+
name: azure-ipam
104+
os: linux
105+
cni_linux_arm64:
106+
arch: arm64
107+
name: cni
108+
os: linux
109+
cns_linux_arm64:
110+
arch: arm64
111+
name: cns
112+
os: linux
113+
npm_linux_arm64:
114+
arch: arm64
115+
name: npm
116+
os: linux
100117
steps:
101118
- template: ../containers/container-template.yaml
102119
parameters:
@@ -154,6 +171,10 @@ stages:
154171
name: cni
155172
os_versions: ltsc2019 ltsc2022
156173
platforms: linux/amd64 linux/arm64 windows/amd64
174+
cns:
175+
name: cns
176+
os_versions: ltsc2019 ltsc2022
177+
platforms: linux/amd64 linux/arm64 windows/amd64
157178
npm:
158179
name: npm
159180
os_versions: ltsc2022

0 commit comments

Comments
 (0)