-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[AzurePipeline] Fix vstest step failed by libyang missing. #12240
Conversation
azure-pipelines.yml
Outdated
@@ -113,6 +113,7 @@ stages: | |||
|
|||
- script: | | |||
set -x | |||
sudo apt-get install libyang libyang-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May need a -y, some time it will wait forever without '-y'.
sudo apt-get update
sudo apt-get install -y libyang libyang-dev
Better to add apt-get update, if the image has not been updated for a long time the local cache of the Debian package index might be out of date.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Merged the PR by force. |
Why I did it Fix PR merge failed because 'vstest' step does not install libyang. How I did it Install libyang in azure pipeline. How to verify it Pass vstest step.
[AzurePipeline] Fix vstest step failed by libyang missing.
Why I did it
Fix PR merge failed because 'vstest' step does not install libyang.
How I did it
Install libyang in azure pipeline.
How to verify it
Pass vstest step.
Which release branch to backport (provide reason below if selected)
Description for the changelog
[AzurePipeline] Fix vstest step failed by libyang missing.
Ensure to add label/tag for the feature raised. example - PR#2174 where, Generic Config and Update feature has been labelled as GCU.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)