File tree 1 file changed +23
-2
lines changed
1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ stages:
25
25
jobs :
26
26
- job :
27
27
displayName : " broadcom"
28
- timeoutInMinutes : 3600
28
+ timeoutInMinutes : 600
29
29
steps :
30
30
- checkout : self
31
31
submodules : recursive
@@ -44,9 +44,30 @@ stages:
44
44
artifact : sonic-buildimage.broadcom
45
45
displayName : " Archive sonic image"
46
46
47
+ - job :
48
+ displayName : " mellanox"
49
+ timeoutInMinutes : 600
50
+ steps :
51
+ - checkout : self
52
+ submodules : recursive
53
+ displayName : ' Checkout code'
54
+
55
+ - script : |
56
+ sudo modprobe overlay
57
+ CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=rcache SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/mellanox"
58
+ ENABLE_DOCKER_BASE_PULL=y make configure PLATFORM=mellanox
59
+ make USERNAME=admin SONIC_BUILD_JOBS=$(nproc) $CACHE_OPTIONS target/sonic-mellanox.bin
60
+ displayName: 'Build sonic image'
61
+ - script : |
62
+ sudo rm -rf fsroot
63
+ displayName: 'Clean up build artifacts'
64
+ - publish : $(System.DefaultWorkingDirectory)/
65
+ artifact : sonic-buildimage.mellanox
66
+ displayName : " Archive sonic image"
67
+
47
68
- job :
48
69
displayName : " kvm"
49
- timeoutInMinutes : 3600
70
+ timeoutInMinutes : 600
50
71
steps :
51
72
- checkout : self
52
73
submodules : recursive
You can’t perform that action at this time.
0 commit comments