Skip to content

Commit 749cd6f

Browse files
authored
Merge 6e767e2 into 1accbc2
2 parents 1accbc2 + 6e767e2 commit 749cd6f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.azure-pipelines/docker-sonic-mgmt-py3-only.yml renamed to .azure-pipelines/docker-sonic-mgmt-mixed.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ stages:
5656
set -xe
5757
git submodule update --init --recursive -- src/sonic-platform-daemons src/sonic-genl-packet src/sonic-sairedis src/ptf src/sonic-device-data src/sonic-dash-api
5858
59-
make SONIC_BUILD_JOBS=$(nproc) DEFAULT_CONTAINER_REGISTRY=publicmirror.azurecr.io ENABLE_DOCKER_BASE_PULL=y configure PLATFORM=generic
60-
make -f Makefile.work BLDENV=bullseye SONIC_BUILD_JOBS=$(nproc) DEFAULT_CONTAINER_REGISTRY=publicmirror.azurecr.io ENABLE_DOCKER_BASE_PULL=y LEGACY_SONIC_MGMT_DOCKER=n target/docker-sonic-mgmt.gz
59+
make SONIC_BUILD_JOBS=$(nproc) DEFAULT_CONTAINER_REGISTRY=publicmirror.azurecr.io ENABLE_DOCKER_BASE_PULL=y configure PLATFORM=generic DOCKER_BUILDKIT=0
60+
make -f Makefile.work BLDENV=bullseye SONIC_BUILD_JOBS=$(nproc) DEFAULT_CONTAINER_REGISTRY=publicmirror.azurecr.io ENABLE_DOCKER_BASE_PULL=y LEGACY_SONIC_MGMT_DOCKER=y target/docker-sonic-mgmt.gz
6161
cp target -r $(Build.ArtifactStagingDirectory)/target
6262
docker load -i target/docker-sonic-mgmt.gz
63-
docker tag docker-sonic-mgmt $REGISTRY_SERVER/docker-sonic-mgmt:py3only
63+
docker tag docker-sonic-mgmt $REGISTRY_SERVER/docker-sonic-mgmt:mixed
6464
env:
6565
REGISTRY_SERVER: ${{ parameters.registry_url }}
6666
displayName: Build docker-sonic-mgmt.gz
@@ -100,7 +100,7 @@ stages:
100100
- bash: |
101101
set -ex
102102
103-
docker tag docker-sonic-mgmt:latest $REGISTRY_SERVER/docker-sonic-mgmt:py3only
103+
docker tag docker-sonic-mgmt:latest $REGISTRY_SERVER/docker-sonic-mgmt:mixed
104104
env:
105105
REGISTRY_SERVER: ${{ parameters.registry_url }}
106106
displayName: 'Tag docker-sonic-mgmt'
@@ -112,4 +112,4 @@ stages:
112112
containerRegistry: ${{ parameters.registry_conn }}
113113
repository: docker-sonic-mgmt
114114
command: push
115-
tags: py3only
115+
tags: mixed

.azure-pipelines/docker-sonic-mgmt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ stages:
5555
set -xe
5656
git submodule update --init --recursive -- src/sonic-platform-daemons src/sonic-genl-packet src/sonic-sairedis src/ptf src/sonic-device-data src/sonic-dash-api
5757
make SONIC_BUILD_JOBS=$(nproc) DEFAULT_CONTAINER_REGISTRY=publicmirror.azurecr.io ENABLE_DOCKER_BASE_PULL=y configure PLATFORM=generic
58-
make -f Makefile.work BLDENV=bullseye SONIC_BUILD_JOBS=$(nproc) DEFAULT_CONTAINER_REGISTRY=publicmirror.azurecr.io ENABLE_DOCKER_BASE_PULL=y LEGACY_SONIC_MGMT_DOCKER=y target/docker-sonic-mgmt.gz
58+
make -f Makefile.work BLDENV=bullseye SONIC_BUILD_JOBS=$(nproc) DEFAULT_CONTAINER_REGISTRY=publicmirror.azurecr.io ENABLE_DOCKER_BASE_PULL=y LEGACY_SONIC_MGMT_DOCKER=n target/docker-sonic-mgmt.gz
5959
cp target -r $(Build.ArtifactStagingDirectory)/target
6060
docker load -i target/docker-sonic-mgmt.gz
6161
docker tag docker-sonic-mgmt $REGISTRY_SERVER/docker-sonic-mgmt:latest

0 commit comments

Comments
 (0)