Why I did it Currently sonic-slave-* tag is confusing. Set correct tag on sonic-slave-* image. Fix job name to fit the build. How I did it build amd image in amd64: sonic-slave-bullseye:cfe29bff67c sonic-slave-bullseye:latest sonic-slave-bullseye:master build armhf image in amd64: sonic-slave-bullseye-march-armhf:33614806dc3 sonic-slave-bullseye-march-armhf:latest sonic-slave-bullseye-march-armhf:master build arm64 image in amd64: sonic-slave-bullseye-march-arm64:f3b1b16c801 sonic-slave-bullseye-march-arm64:latest sonic-slave-bullseye-march-arm64:master build arm64 image in arm64: sonic-slave-bullseye:75cb326c9a7 sonic-slave-bullseye-arm64:latest sonic-slave-bullseye:master build armhf image in armhf: sonic-slave-bullseye:64d178951fc sonic-slave-bullseye-armhf:latest sonic-slave-bullseye:master How to verify it
This commit is contained in:
parent
933bf06058
commit
9175ebad0a
@ -30,7 +30,6 @@ trigger:
|
||||
paths:
|
||||
include:
|
||||
- sonic-slave-*
|
||||
- src/sonic-build-hooks
|
||||
- files/build/versions
|
||||
- Makefile
|
||||
- Makefile.work
|
||||
@ -56,7 +55,7 @@ parameters:
|
||||
default: sonicdev
|
||||
|
||||
stages:
|
||||
- stage: Build
|
||||
- stage: Build_in_amd64
|
||||
jobs:
|
||||
- ${{ each dist in parameters.dists }}:
|
||||
- ${{ if endswith(variables['Build.DefinitionName'], dist) }}:
|
||||
@ -66,7 +65,9 @@ stages:
|
||||
pool: sonicbld
|
||||
arch: ${{ arch }}
|
||||
dist: ${{ dist }}
|
||||
- stage: Build_march
|
||||
${{ if ne(arch, 'amd64') }}:
|
||||
march: _march_${{ arch }}
|
||||
- stage: Build_native_arm
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- ${{ each dist in parameters.dists }}:
|
||||
@ -78,4 +79,4 @@ stages:
|
||||
pool: sonicbld-${{ arch }}
|
||||
arch: ${{ arch }}
|
||||
dist: ${{ dist }}
|
||||
march: march_
|
||||
march: _${{ arch }}
|
||||
|
Loading…
Reference in New Issue
Block a user