Skip to content

Install libyang to azure pipeline #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 16, 2022

Conversation

liuh-80
Copy link
Contributor

@liuh-80 liuh-80 commented Sep 15, 2022

Why I did it

sonic-swss-common lib will add dependency to libyang soon, so need install libyang lib to prevent build and UT break.

How I did it

Modify azure pipeline to install libyang in azure pipeline steps.

How to verify it

Pass all UT.

Which release branch to backport (provide reason below if selected)

Description for the changelog

Modify azure pipeline to install libyang in azure pipeline steps.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@liuh-80 liuh-80 marked this pull request as ready for review September 15, 2022 06:04
artifact: common-lib.${{ parameters.arch }}
patterns: |
target/debs/buster/libyang-*.deb
target/debs/buster/libyang_*.deb
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be bullseye, not buster.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason we using buster is because today the swss-common lib download by next step is build with buster.

@liuh-80 liuh-80 merged commit b6bce8b into sonic-net:master Sep 16, 2022
kellyyeh pushed a commit to kellyyeh/sonic-dhcp-relay that referenced this pull request Oct 8, 2022
#### Why I did it
sonic-swss-common lib will add dependency to libyang soon, so need install libyang lib to prevent build and UT break.

#### How I did it
Modify azure pipeline to install libyang in azure pipeline steps.

#### How to verify it
Pass all UT.

#### Which release branch to backport (provide reason below if selected)

#### Description for the changelog
Modify azure pipeline to install libyang in azure pipeline steps.

#### Link to config_db schema for YANG module changes

#### A picture of a cute animal (not mandatory but encouraged)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants