Skip to content

Commit d13020f

Browse files
authored
[backport] release/v1.6 ci: build cns in release test pipeline (#3869) (#3984)
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 9bb84be commit d13020f

File tree

1 file changed

+31
-17
lines changed

1 file changed

+31
-17
lines changed

.pipelines/cni/pipeline.yaml

Lines changed: 31 additions & 17 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()
@@ -51,6 +50,14 @@ stages:
5150
arch: amd64
5251
name: cni
5352
os: windows
53+
cns_linux_amd64:
54+
arch: amd64
55+
name: cns
56+
os: linux
57+
cns_windows_amd64:
58+
arch: amd64
59+
name: cns
60+
os: windows
5461
ipv6_hp_bpf_linux_amd64:
5562
arch: amd64
5663
name: ipv6-hp-bpf
@@ -75,22 +82,26 @@ stages:
7582
name: "$(BUILD_POOL_NAME_LINUX_ARM64)"
7683
strategy:
7784
matrix:
78-
azure_ipam_linux_arm64:
79-
arch: arm64
80-
name: azure-ipam
81-
os: linux
82-
cni_linux_arm64:
83-
arch: arm64
84-
name: cni
85-
os: linux
86-
ipv6_hp_bpf_linux_arm64:
87-
arch: arm64
88-
name: ipv6-hp-bpf
89-
os: linux
90-
npm_linux_arm64:
91-
arch: arm64
92-
name: npm
93-
os: linux
85+
azure_ipam_linux_arm64:
86+
arch: arm64
87+
name: azure-ipam
88+
os: linux
89+
cni_linux_arm64:
90+
arch: arm64
91+
name: cni
92+
os: linux
93+
cns_linux_arm64:
94+
arch: arm64
95+
name: cns
96+
os: linux
97+
ipv6_hp_bpf_linux_arm64:
98+
arch: arm64
99+
name: ipv6-hp-bpf
100+
os: linux
101+
npm_linux_arm64:
102+
arch: arm64
103+
name: npm
104+
os: linux
94105
steps:
95106
- template: ../containers/container-template.yaml
96107
parameters:
@@ -147,6 +158,9 @@ stages:
147158
cni:
148159
name: cni
149160
platforms: linux/amd64 linux/arm64 windows/amd64
161+
cns:
162+
name: cns
163+
platforms: linux/amd64 linux/arm64 windows/amd64
150164
ipv6-hp-bpf:
151165
name: ipv6-hp-bpf
152166
platforms: linux/amd64 linux/arm64

0 commit comments

Comments
 (0)