Skip to content
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

[lgtm] Fix libyang missing in lgtm validation issue #1135

Merged
merged 3 commits into from
Oct 3, 2022

Conversation

liuh-80
Copy link
Contributor

@liuh-80 liuh-80 commented Oct 2, 2022

Why I did it

sonic-swss-common lib will add depency to libyang soon, so need install libyang lib to prevent lgtm break.

How I did it

Modify azure pipeline to install libyang in lgtm steps.

How to verify it

Pass lgtm validation.

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

Description for the changelog

Modify lgtm.yml to install libyang in lgtm.

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 October 2, 2022 03:36
@liuh-80
Copy link
Contributor Author

liuh-80 commented Oct 2, 2022

The LGTM validation always using master branch file, so please help do a force merge to fix this issue.

@@ -21,6 +21,8 @@ extraction:
- libgmock-dev
- uuid
- uuid-dev
- libyang
- libyang-dev
Copy link
Contributor

Choose a reason for hiding this comment

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

libyang-dev one package is enough?

Copy link
Contributor Author

@liuh-80 liuh-80 Oct 2, 2022

Choose a reason for hiding this comment

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

I check the make file of sonic-sairedis, we need install libyang, because there was step to run UT in make file, so need load libyang during UT.

@qiluo-msft
Copy link
Contributor

@kcudnik The LGTM validation always using master branch file, so please help do a force merge to fix this issue.

@kcudnik kcudnik merged commit 157e573 into sonic-net:master Oct 3, 2022
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
* Fix libyang missing in lgtm validation issue
skbarista added a commit to skbarista/sonic-sairedis that referenced this pull request Dec 2, 2022
* Add UnitTest.
* Port sonic-net#1135 to 202205
  to fix lgtm.
Yakiv-Huryk pushed a commit to Yakiv-Huryk/sonic-sairedis that referenced this pull request Dec 6, 2022
* Fix libyang missing in lgtm validation issue
xumia pushed a commit that referenced this pull request Dec 29, 2022
* Add UnitTest.
* Port #1135 to 202205
  to fix lgtm.
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.

3 participants