Skip to content

[azp] Download libyang3 in the PR build pipeline - #4618

Merged
prsunny merged 2 commits into
sonic-net:masterfrom
theasianpianist:libyang3-support
May 28, 2026
Merged

[azp] Download libyang3 in the PR build pipeline#4618
prsunny merged 2 commits into
sonic-net:masterfrom
theasianpianist:libyang3-support

Conversation

@theasianpianist

Copy link
Copy Markdown
Contributor

What I did
When building in the PR check pipeline, download and install libyang3.

Why I did it
sonic-net/sonic-swss-common#973 changed swss-common to depend on libyang3

How I verified it

Details if related

@theasianpianist
theasianpianist requested a review from prsunny as a code owner May 28, 2026 17:17
Copilot AI review requested due to automatic review settings May 28, 2026 17:17
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Azure Pipelines PR build template to pull in libyang3 from the SONiC “common-lib” artifact, aligning the PR build environment with the newer sonic-swss-common dependency on libyang v3.

Changes:

  • Switch common-lib artifact download pattern from libyang_*.deb to libyang3_*.deb.
  • Rename the install step display name to reflect it installs multiple SONiC-built dependency .debs (not just libnl).

@theasianpianist theasianpianist changed the title Download libyang3 in the PR build pipeline [azp]Download libyang3 in the PR build pipeline May 28, 2026
@theasianpianist theasianpianist changed the title [azp]Download libyang3 in the PR build pipeline [azp] Download libyang3 in the PR build pipeline May 28, 2026
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread .azure-pipelines/test-docker-sonic-vs-template.yml
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
prsunny merged commit 5303266 into sonic-net:master May 28, 2026
12 of 18 checks passed
lolyu pushed a commit to sonic-net/sonic-sairedis that referenced this pull request May 29, 2026
…pgroup (#1916)

Approach
What is the motivation for this PR?
sonic-net/sonic-swss-common#973 changed swss-common to depend on libyang3

Work item tracking
Microsoft ADO (number only):
How did you do it?
When building in the PR check pipeline, download and install libyang3. A similar change was made for sonic-swss: sonic-net/sonic-swss#4618

How did you verify/test it?
Any platform specific information?
Yogapriya-cisco pushed a commit to prhoskot/sonic-swss that referenced this pull request Jul 13, 2026
* Download libyang3 in the build pipeline
What I did
When building in the PR check pipeline, download and install libyang3.

Why I did it
sonic-net/sonic-swss-common#973 changed swss-common to depend on libyang3

Signed-off-by: Yogapriya Mohankumar <ymohanku@cisco.com>
leenr pushed a commit to leenr/sonic-swss that referenced this pull request Aug 4, 2026
* Download libyang3 in the build pipeline
What I did
When building in the PR check pipeline, download and install libyang3.

Why I did it
sonic-net/sonic-swss-common#973 changed swss-common to depend on libyang3
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