File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 21
21
preSteps : ${{ parameters.preSteps }}
22
22
postSteps : ${{ parameters.postSteps }}
23
23
jobVariables :
24
- PLATFORM : $(GROUP_NAME)
24
+ PLATFORM_AZP : $(GROUP_NAME)
25
25
PLATFORM_ARCH : amd64
26
26
BUILD_OPTIONS : ${{ parameters.buildOptions }}
27
27
dbg_image : false
Original file line number Diff line number Diff line change 28
28
- template : cleanup.yml
29
29
- ${{ parameters. preSteps }}
30
30
- script : |
31
- if [ -n "$(CACHE_MODE)" ] && echo $(PLATFORM ) | grep -E -q "^(vs|broadcom|mellanox)$"; then
32
- CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=$(CACHE_MODE) SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/$(PLATFORM )"
31
+ if [ -n "$(CACHE_MODE)" ] && echo $(PLATFORM_AZP ) | grep -E -q "^(vs|broadcom|mellanox)$"; then
32
+ CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=$(CACHE_MODE) SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/$(PLATFORM_AZP )"
33
33
BUILD_OPTIONS="$(BUILD_OPTIONS) $CACHE_OPTIONS"
34
34
echo "##vso[task.setvariable variable=BUILD_OPTIONS]$BUILD_OPTIONS"
35
35
fi
42
42
sudo apt-get install -y acl
43
43
export DOCKER_DATA_ROOT_FOR_MULTIARCH=/data/march/docker
44
44
sudo bash -c "echo 1 > /proc/sys/vm/compact_memory"
45
- ENABLE_DOCKER_BASE_PULL=y make PLATFORM=$(PLATFORM ) PLATFORM_ARCH=$(PLATFORM_ARCH) configure
45
+ ENABLE_DOCKER_BASE_PULL=y make PLATFORM=$(PLATFORM_AZP ) PLATFORM_ARCH=$(PLATFORM_ARCH) configure
46
46
displayName: 'Make configure'
47
47
postSteps :
48
48
- publish : $(System.DefaultWorkingDirectory)/target
You can’t perform that action at this time.
0 commit comments