azure-pipelines: migrate libyang1 deb install to libyang3#161
Open
bhouse-nexthop wants to merge 1 commit into
Open
azure-pipelines: migrate libyang1 deb install to libyang3#161bhouse-nexthop wants to merge 1 commit into
bhouse-nexthop wants to merge 1 commit into
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
sonic-buildimage no longer builds the libyang 1.0.73 debs (libyang, libyang-cpp, python3-yang); it now builds only libyang3. Update the pipeline to download and install the libyang3 debs using versionless globs: - download/install libyang3_*.deb and libyang-dev_*.deb (replacing the versioned libyang*1.0.73* set) - python3-yang_*.deb -> python3-libyang_*.deb - drop the removed libyang-cpp deb - generalize the LIBPCRE3 comment to reference libyang3 Part of sonic-net/sonic-buildimage#22385. Signed-off-by: Brad House <bhouse@nexthop.ai>
d0f1530 to
02214d7
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
sonic-buildimage no longer builds the libyang 1.0.73 debs (
libyang,libyang-cpp,python3-yang); it now builds only libyang3. The CI pipeline still downloads and installs the removed libyang1 debs from the sonic-buildimage build artifacts, so it must switch to the libyang3 debs.Part of sonic-net/sonic-buildimage#22385.
How I did it
Updated
azure-pipelines.ymlto consume the libyang3 debs using versionless globs:libyang3_*.debandlibyang-dev_*.debin place of the versionedlibyang*1.0.73*set.python3-yang_*.debtopython3-libyang_*.deb.libyang-cppdeb.LIBPCRE3comment that referencedlibyang 1.0.73to referencelibyang3.How to verify it
azure-pipelines.ymlbuild and confirm the download step pulls the libyang3 debs from the sonic-buildimage artifacts anddpkg -iinstalls them without error.Description for the changelog
azure-pipelines: migrate libyang1 deb install to libyang3