Skip to content

Commit

Permalink
Merged PR 5956725: [ci] Fix variable 'REGISTRY_SERVER' conflict issue…
Browse files Browse the repository at this point in the history
… and generic platform building issue.

1. Variable 'REGISTRY_SERVER' in VG-1 conflicts with build variable in rules/config.
2. Generic platform image building target 'all' is not configured.
  • Loading branch information
liushilongbuaa committed Apr 26, 2022
1 parent 1eecd29 commit b969fa5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .pipelines/OneBranch.OfficialBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ stages:
BRANCH=$(Build.SourceBranchName)
for f in $DOCKERS; do
echo $f
./push_docker.sh $f $REGISTRY_SERVER $PORT $REGISTRY_USERNAME "$REGISTRY_PASSWD" $SONIC_VERSION $BRANCH
./push_docker.sh $f $REGISTRY_SERVER $PORT $REGISTRY_USERNAME "$REGISTRY_PASSWD" latest $BRANCH
./push_docker.sh $f $REGISTRY_SERVER_INTERNAL $PORT $REGISTRY_USERNAME "$REGISTRY_PASSWD" $SONIC_VERSION $BRANCH
./push_docker.sh $f $REGISTRY_SERVER_INTERNAL $PORT $REGISTRY_USERNAME "$REGISTRY_PASSWD" latest $BRANCH
done
env:
REGISTRY_PASSWD: $(REGISTRY_PASSWD)
Expand All @@ -184,7 +184,8 @@ stages:
make $OPTIONS target/docker-sonic-vs.gz target/sonic-vs.img.gz target/docker-ptf.gz
- name: generic
script: |
make all
OPTIONS="$BUILD_OPTIONS SONIC_DPKG_CACHE_METHOD=wcache PASSWORD=$PASSWORD"
make $OPTIONS target/sonic-generic.bin
- name: broadcom
script: |
OPTIONS="$BUILD_OPTIONS SONIC_DPKG_CACHE_METHOD=wcache PASSWORD=$PASSWORD"
Expand Down

0 comments on commit b969fa5

Please sign in to comment.