Skip to content

Commit

Permalink
Merge pull request #234 from saiarcot895/use-latest-swsscommon
Browse files Browse the repository at this point in the history
Use the latest libswsscommon artifacts from the repo
  • Loading branch information
saiarcot895 authored May 9, 2024
2 parents d442e7a + 82c57c7 commit adece7c
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ stages:
patterns: |
target/debs/bookworm/libyang*.deb
target/debs/bookworm/libnl*.deb
target/debs/bookworm/libswsscommon*.deb
target/debs/bookworm/python3-swsscommon*.deb
target/python-wheels/bookworm/sonic_yang_models*.whl
displayName: "Download bookworm debs"

Expand Down Expand Up @@ -124,14 +122,26 @@ stages:
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo apt-add-repository https://packages.microsoft.com/debian/12/prod
sudo apt-get update
sudo apt-get install -y dotnet-sdk-7.0
sudo apt-get install -y dotnet-sdk-8.0
displayName: "Install .NET CORE"
- task: DownloadPipelineArtifact@2
inputs:
source: specific
project: build
pipeline: Azure.sonic-swss-common
artifact: sonic-swss-common-bookworm
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/$(BUILD_BRANCH)'
displayName: "Download sonic-swss-common"

- script: |
set -ex
# LIBSWSSCOMMON
sudo dpkg -i ../target/debs/bookworm/libswsscommon_1.0.0_amd64.deb
sudo dpkg -i ../target/debs/bookworm/libswsscommon-dev_1.0.0_amd64.deb
sudo dpkg -i ../target/debs/bookworm/python3-swsscommon_1.0.0_amd64.deb
sudo dpkg -i libswsscommon_1.0.0_amd64.deb
sudo dpkg -i libswsscommon-dev_1.0.0_amd64.deb
sudo dpkg -i python3-swsscommon_1.0.0_amd64.deb
workingDirectory: $(Pipeline.Workspace)/
displayName: 'Install libswsscommon package'
- script: |
Expand Down

0 comments on commit adece7c

Please sign in to comment.