Skip to content

Commit aaac4ba

Browse files
wen587zjswhhh
authored andcommitted
Revert "[swss] Install yang related debto align with latest libswsscommon re…" (sonic-net#3832)
This reverts commit 9efc4c4. Revert "[swss] Install yang related debto align with latest libswsscommon requirement"
1 parent 151ffa7 commit aaac4ba

1 file changed

Lines changed: 1 addition & 22 deletions

File tree

.azure-pipelines/test-docker-sonic-vs-template.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,6 @@ jobs:
7575
path: $(Build.ArtifactStagingDirectory)/download
7676
allowPartiallySucceededBuilds: true
7777
displayName: "Download sonic swss common deb packages"
78-
- task: DownloadPipelineArtifact@2
79-
inputs:
80-
source: specific
81-
project: build
82-
pipeline: Azure.sonic-buildimage.common_libs
83-
runVersion: 'latestFromBranch'
84-
runBranch: 'refs/heads/$(BUILD_BRANCH)'
85-
path: $(Build.ArtifactStagingDirectory)/download
86-
artifact: common-lib
87-
patterns: |
88-
target/debs/bookworm/libyang-*_1.0*.deb
89-
target/debs/bookworm/libyang_1.0*.deb
90-
target/debs/bookworm/libyang-cpp_*.deb
91-
target/debs/bookworm/python3-yang_*.deb
92-
displayName: "Download libyang from common lib"
9378
- task: DownloadPipelineArtifact@2
9479
inputs:
9580
source: specific
@@ -127,16 +112,10 @@ jobs:
127112
libboost1.74-dev \
128113
libboost-dev \
129114
libhiredis0.14 \
130-
libpcre3-dev
115+
libyang-dev \
131116
132117
sudo .azure-pipelines/build_and_install_module.sh
133118
134-
# Install libyang packages from downloaded artifacts
135-
sudo dpkg -i $(Build.ArtifactStagingDirectory)/download/target/debs/bookworm/libyang-*_1.0*.deb \
136-
$(Build.ArtifactStagingDirectory)/download/target/debs/bookworm/libyang_1.0*.deb \
137-
$(Build.ArtifactStagingDirectory)/download/target/debs/bookworm/libyang-cpp_*.deb \
138-
$(Build.ArtifactStagingDirectory)/download/target/debs/bookworm/python3-yang_*.deb
139-
140119
sudo dpkg -i $(Build.ArtifactStagingDirectory)/download/libprotobuf*_amd64.deb $(Build.ArtifactStagingDirectory)/download/libprotobuf-lite*_amd64.deb $(Build.ArtifactStagingDirectory)/download/python3-protobuf*_amd64.deb
141120
sudo dpkg -i $(Build.ArtifactStagingDirectory)/download/libdashapi*.deb
142121
sudo dpkg -i --force-confask,confnew $(Build.ArtifactStagingDirectory)/download/libswsscommon_1.0.0_amd64.deb || apt-get install -f

0 commit comments

Comments
 (0)