-
Notifications
You must be signed in to change notification settings - Fork 54
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
Azp: install sonic yangs during pipline build #144
Conversation
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.
LGTM
Please rebase. It cannot be merged as it is now. |
@sachinholla The PR cannot be merged as it is reported out-of-date. |
e571e84
to
5a5d974
Compare
5a5d974
to
650e5df
Compare
280082a
to
1b2483c
Compare
@@ -101,6 +101,10 @@ stages: | |||
sudo dpkg -i ../target/debs/bullseye/libyang*1.0.73*.deb | |||
displayName: "Install dependency" | |||
|
|||
- script: | |
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.
To install coherent packages related to YANG, it would be cleaner if you replace "-script" with the comment "# YANG MODELS" to run after libyang package install. If you want to keep the separate script, please add the same comment.
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.
I prefer keeping it as a separate step.. Will add a comment.. Step's displayName attribute anyway indicates "Install sonic yangs"
7eff69f
to
280b7f4
Compare
* Download & install sonic_yang_models.whl before telemetry build. Translib code generators and app modues use these sonic yangs * Download source code and artifacts for the build branch only * Use pipeline 142 for downloading sonic-buildimage.vs artifacts, which runs on all branches
Why I did it
Translib infra (sonic-mgmt-common) has an option to import cvl sonic yangs from sonic-yang-models.whl. This option is not enabled right now, but will be in near future. Hence sonic-yang-models.whl needs to be installed on the vm.
Also backport the pipeline build fixes done in 202305 branch.
How I did it
How to verify it
PR build
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)