File tree 3 files changed +7
-5
lines changed
src/sonic-build-hooks/scripts
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,18 @@ stages:
32
32
- stage : Build
33
33
jobs :
34
34
- job : Build
35
- pool : sonictest
35
+ pool : sonicbld
36
36
timeoutInMinutes : 360
37
37
steps :
38
38
- template : cleanup.yml
39
39
- checkout : self
40
40
clean : true
41
- submodules : recursive
42
41
- bash : |
43
42
set -xe
44
- make configure PLATFORM=generic
45
- make target/docker-sonic-mgmt.gz
43
+ git submodule update --init --recursive -- src/sonic-platform-daemons src/sonic-genl-packet src/sonic-sairedis src/ptf src/sonic-device-data
44
+
45
+ make NOBUSTER=1 DEFAULT_CONTAINER_REGISTRY=publicmirror.azurecr.io ENABLE_DOCKER_BASE_PULL=y configure PLATFORM=generic
46
+ make NOBUSTER=1 DEFAULT_CONTAINER_REGISTRY=publicmirror.azurecr.io ENABLE_DOCKER_BASE_PULL=y target/docker-sonic-mgmt.gz
46
47
cp target -r $(Build.ArtifactStagingDirectory)/target
47
48
docker load -i target/docker-sonic-mgmt.gz
48
49
docker tag docker-sonic-mgmt $REGISTRY_SERVER/docker-sonic-mgmt:latest
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ DOCKER_SONIC_MGMT = docker-sonic-mgmt.gz
3
3
$(DOCKER_SONIC_MGMT)_PATH = $(DOCKERS_PATH ) /docker-sonic-mgmt
4
4
$(DOCKER_SONIC_MGMT)_DEPENDS += $(SONIC_DEVICE_DATA ) $(PTF )
5
5
SONIC_DOCKER_IMAGES += $(DOCKER_SONIC_MGMT )
6
- SONIC_STRETCH_DOCKERS += $(DOCKER_SONIC_MGMT )
6
+ SONIC_BUSTER_DOCKERS += $(DOCKER_SONIC_MGMT )
Original file line number Diff line number Diff line change 21
21
PKG_CACHE_PATH=/sonic/target/vcache/${IMAGENAME}
22
22
fi
23
23
PKG_CACHE_FILE_NAME=${PKG_CACHE_PATH} /cache.tgz
24
+ sudo chown $USER $( dirname $PKG_CACHE_PATH )
24
25
mkdir -p ${PKG_CACHE_PATH}
25
26
26
27
. ${BUILDINFO_PATH} /scripts/utils.sh
You can’t perform that action at this time.
0 commit comments