Skip to content

Commit

Permalink
[build] Use 202106 branches in azure pipeline (#996)
Browse files Browse the repository at this point in the history
Download upstream pipelines 202106 branches' artifacts.
  • Loading branch information
qiluo-msft committed Jan 24, 2022
1 parent cd83e16 commit a378d03
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .azure-pipelines/build-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
pipeline: 9
artifact: ${{ parameters.swss_common_artifact_name }}
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
runBranch: 'refs/heads/202106'
allowPartiallySucceededBuilds: true
allowFailedBuilds: true
displayName: "Download sonic swss common deb packages"
- task: DownloadPipelineArtifact@2
inputs:
Expand All @@ -53,10 +55,10 @@ jobs:
inputs:
source: specific
project: build
pipeline: 1
pipeline: 142
artifact: sonic-buildimage.vs
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
runBranch: 'refs/heads/202106'
displayName: "Download sonic buildimage"
- script: |
echo $(Build.DefinitionName).$(Build.BuildNumber)
Expand Down
4 changes: 3 additions & 1 deletion .azure-pipelines/build-swss-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ jobs:
pipeline: 9
artifact: ${{ parameters.swss_common_artifact_name }}
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
runBranch: 'refs/heads/202106'
allowPartiallySucceededBuilds: true
allowFailedBuilds: true
displayName: "Download sonic swss common deb packages"
- task: DownloadPipelineArtifact@2
inputs:
Expand Down
4 changes: 3 additions & 1 deletion .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ jobs:
pipeline: 9
artifact: ${{ parameters.swss_common_artifact_name }}
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
runBranch: 'refs/heads/202106'
allowPartiallySucceededBuilds: true
allowFailedBuilds: true
displayName: "Download sonic swss common deb packages"
- script: |
sudo dpkg -i libswsscommon_1.0.0_${{ parameters.arch }}.deb
Expand Down
4 changes: 3 additions & 1 deletion .azure-pipelines/test-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
pipeline: 9
artifact: sonic-swss-common.amd64.ubuntu20_04
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
runBranch: 'refs/heads/202106'
allowPartiallySucceededBuilds: true
allowFailedBuilds: true
displayName: "Download sonic swss common deb packages"

- checkout: self
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ resources:
repositories:
- repository: sonic-swss
type: github
ref: refs/heads/202106
name: Azure/sonic-swss
endpoint: build

Expand Down

0 comments on commit a378d03

Please sign in to comment.