35
35
dbg_image : no
36
36
asan_image : no
37
37
swi_image : no
38
- raw_image : no
39
38
docker_syncd_rpc_image : no
40
39
syncd_rpc_image : no
41
40
platform_rpc : no
62
61
variables :
63
62
dbg_image : yes
64
63
swi_image : yes
65
- raw_image : yes
66
64
docker_syncd_rpc_image : yes
67
65
platform_rpc : brcm
68
66
@@ -92,13 +90,15 @@ jobs:
92
90
pool : sonicbld-armhf
93
91
timeoutInMinutes : 2880
94
92
variables :
93
+ PLATFORM_NAME : marvell
95
94
PLATFORM_ARCH : armhf
96
95
97
96
- name : marvell-arm64
98
97
${{ if not(parameters.qemuOrCrossBuild) }} :
99
98
pool : sonicbld-arm64
100
99
timeoutInMinutes : 2880
101
100
variables :
101
+ PLATFORM_NAME : marvell
102
102
PLATFORM_ARCH : arm64
103
103
104
104
- name : marvell
@@ -116,12 +116,19 @@ jobs:
116
116
docker_syncd_rpc_image : yes
117
117
platform_rpc : nephos
118
118
119
+ - name : pensando
120
+ pool : sonicbld-arm64
121
+ variables :
122
+ PLATFORM_ARCH : arm64
123
+
119
124
buildSteps :
120
125
- template : .azure-pipelines/template-skipvstest.yml@buildimage
121
126
- template : .azure-pipelines/template-daemon.yml@buildimage
122
127
- bash : |
123
128
set -ex
124
- if [ $(GROUP_NAME) == vs ]; then
129
+ if [ $(GROUP_NAME) == pensando ]; then
130
+ make $BUILD_OPTIONS target/sonic-pensando.tar
131
+ elif [ $(GROUP_NAME) == vs ]; then
125
132
if [ $(dbg_image) == yes ]; then
126
133
make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-vs.img.gz
127
134
mv target/sonic-vs.img.gz target/sonic-vs-dbg.img.gz
@@ -130,9 +137,13 @@ jobs:
130
137
make $BUILD_OPTIONS ENABLE_ASAN=y target/docker-sonic-vs.gz
131
138
mv target/docker-sonic-vs.gz target/docker-sonic-vs-asan.gz
132
139
fi
133
- if [ $(K8S_OPTIONS) == 'INCLUDE_KUBERNETES_MASTER=y' ]; then
134
- make $BUILD_OPTIONS $(K8S_OPTIONS) target/sonic-vs.img.gz
135
- mv target/sonic-vs.img.gz target/sonic-vs-k8s.img.gz
140
+ if [ "$(K8S_MASTER_CHANGED)" == 'YES' ]; then
141
+ make $BUILD_OPTIONS INCLUDE_KUBERNETES_MASTER=y target/sonic-vs.img.gz
142
+ gzip -d target/sonic-vs.img.gz
143
+ SONIC_RUN_CMDS="qemu-img convert target/sonic-vs.img -O vhdx -o subformat=dynamic target/sonic-vs.vhdx" make $BUILD_OPTIONS sonic-slave-run
144
+ gzip target/sonic-vs.vhdx
145
+ mv target/sonic-vs.vhdx.gz target/sonic-vs-k8s.vhdx.gz
146
+ rm target/sonic-vs.img
136
147
fi
137
148
make $BUILD_OPTIONS target/docker-sonic-vs.gz target/sonic-vs.img.gz target/docker-ptf.gz
138
149
make $BUILD_OPTIONS target/docker-ptf-sai.gz
@@ -149,9 +160,6 @@ jobs:
149
160
if [ $(swi_image) == yes ]; then
150
161
make $BUILD_OPTIONS ENABLE_IMAGE_SIGNATURE=y target/sonic-aboot-$(GROUP_NAME).swi
151
162
fi
152
- if [ $(raw_image) == yes ]; then
153
- make $BUILD_OPTIONS target/sonic-$(GROUP_NAME).raw
154
- fi
155
163
if [ $(docker_syncd_rpc_image) == yes ]; then
156
164
# workaround for issue in rules/sairedis.dep, git ls-files will list un-exist files for cache
157
165
make $BUILD_OPTIONS ENABLE_SYNCD_RPC=y target/docker-syncd-$(platform_rpc)-rpc.gz
0 commit comments