Skip to content

Commit c88ec82

Browse files
committed
Add azp
Signed-off-by: Ze Gan <ganze718@gmail.com>
1 parent eeca809 commit c88ec82

2 files changed

Lines changed: 21 additions & 16 deletions

File tree

.azure-pipelines/build-template.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
artifact: ${{ parameters.swss_common_artifact_name }}
8585
runVersion: 'latestFromBranch'
8686
runBranch: 'refs/heads/$(BUILD_BRANCH)'
87+
allowFailedBuilds: true
8788
path: $(Build.ArtifactStagingDirectory)/download
8889
patterns: |
8990
libswsscommon_1.0.0_${{ parameters.arch }}.deb
@@ -92,29 +93,29 @@ jobs:
9293
- task: DownloadPipelineArtifact@2
9394
inputs:
9495
source: specific
95-
project: build
96-
pipeline: Azure.sonic-sairedis
97-
artifact: ${{ parameters.sairedis_artifact_name }}
96+
project: nvidia
97+
pipeline: nvidia-sonic.sonic-buildimage
98+
artifact: sonic-buildimage.vs
9899
runVersion: 'latestFromBranch'
99-
runBranch: 'refs/heads/$(BUILD_BRANCH)'
100-
path: $(Build.ArtifactStagingDirectory)/download
100+
runBranch: 'refs/heads/bluefield'
101+
path: $(Build.ArtifactStagingDirectory)/download/sairedis
101102
patterns: |
102-
libsaivs_*.deb
103-
libsaivs-dev_*.deb
104-
libsairedis_*.deb
105-
libsairedis-dev_*.deb
106-
libsaimetadata_*.deb
107-
libsaimetadata-dev_*.deb
108-
syncd-vs_*.deb
103+
target/debs/buster/libsaivs_*.deb
104+
target/debs/buster/libsaivs-dev_*.deb
105+
target/debs/buster/libsairedis_*.deb
106+
target/debs/buster/libsairedis-dev_*.deb
107+
target/debs/buster/libsaimetadata_*.deb
108+
target/debs/buster/libsaimetadata-dev_*.deb
109+
target/debs/buster/syncd-vs_*.deb
109110
displayName: "Download sonic sairedis deb packages"
110111
- task: DownloadPipelineArtifact@2
111112
inputs:
112113
source: specific
113-
project: build
114-
pipeline: Azure.sonic-buildimage.common_libs
115-
artifact: ${{ parameters.common_lib_artifact_name }}
114+
project: nvidia
115+
pipeline: nvidia-sonic.sonic-buildimage
116+
artifact: sonic-buildimage.vs
116117
runVersion: 'latestFromBranch'
117-
runBranch: 'refs/heads/$(BUILD_BRANCH)'
118+
runBranch: 'refs/heads/bluefield'
118119
path: $(Build.ArtifactStagingDirectory)/download
119120
patterns: |
120121
target/debs/buster/libnl-3-200_*.deb
@@ -132,6 +133,7 @@ jobs:
132133
cd download
133134
sudo dpkg -i $(find target/debs/buster -type f)
134135
sudo dpkg -i $(ls *.deb)
136+
sudo dpkg -i $(find sairedis/target/debs/buster -type f)
135137
cd ..
136138
rm -rf download
137139
workingDirectory: $(Build.ArtifactStagingDirectory)

azure-pipelines.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ pr:
77
- master
88
- 202???
99
- 201???
10+
- dash
1011

1112
trigger:
1213
batch: true
@@ -15,6 +16,7 @@ trigger:
1516
- master
1617
- 202???
1718
- 201???
19+
- dash
1820

1921
# this part need to be set in UI
2022
schedules:
@@ -25,6 +27,7 @@ schedules:
2527
- master
2628
- 202???
2729
- 201???
30+
- dash
2831
always: true
2932

3033
variables:

0 commit comments

Comments
 (0)