Skip to content

[ci][DO-NOT-MERGE]: Validate against sonic-swss-common migration (#1222, build 1164874)#4753

Draft
theasianpianist wants to merge 1 commit into
sonic-net:masterfrom
theasianpianist:ci-unification/validate-swss-common-1222
Draft

[ci][DO-NOT-MERGE]: Validate against sonic-swss-common migration (#1222, build 1164874)#4753
theasianpianist wants to merge 1 commit into
sonic-net:masterfrom
theasianpianist:ci-unification/validate-swss-common-1222

Conversation

@theasianpianist

Copy link
Copy Markdown
Contributor

DO NOT MERGE — CI validation only

Draft PR to validate that sonic-swss builds and tests green against the
sonic-swss-common CI-unification migration PR (sonic-net/sonic-swss-common#1222).

This draft pins sonic-swss's swss-common download to #1222's green build 1164874 so its
whole pipeline (build + docker + VS test) is exercised against the migration artifact (produced
by buildenv_setup, which also publishes build-env/).

Changes

Pin every Download sonic swss common step (build-template, build-docker, test-docker) to
runVersion: specific / runId: 1164874 instead of latestFromBranch on the
swss_common_branch parameter.

No libnl companion changes#1222's swss-common builds against stock apt libnl, so
libswsscommon Depends on the stock libnl already present in every sonic-swss build/test/docker
environment (the build stage installs it from common-lib; the test host resolves it via apt).

Not for merge

The runId pin is temporary; revert to latestFromBranch / runBranch: refs/heads/${{ parameters.swss_common_branch }}
before merge.

…4 (migration validation)

Draft PR to validate that sonic-swss builds + tests green against the sonic-swss-common
CI-unification migration PR (sonic-net/sonic-swss-common#1222).

Pin every 'Download sonic swss common' step (build-template, build-docker, test-docker)
to runVersion: specific / runId: 1164874 (the green sonic-net#1222 build) instead of
latestFromBranch on the swss_common_branch parameter.

sonic-net#1222's swss-common builds against STOCK apt libnl, so libswsscommon Depends on the
stock libnl already present in every sonic-swss build/test/docker environment (the build
stage installs it from common-lib; the test host resolves it via apt) -- no SONiC-libnl
companion changes are needed here (only the pin).

NOT for merge -- the runId pin is temporary; revert to latestFromBranch before merge.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@azure-pipelines

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

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.

2 participants