You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: validate docker-sonic-mgmt image with PR tests before publishing (sonic-net#24866)
* ci: validate docker-sonic-mgmt image with PR tests before publishing
Previously, the newly built docker-sonic-mgmt image was not tested
before publishing, creating a gap in catching regressions. This change
introduces a Test stage that validates the built image using sonic-mgmt
PR tests before pushing to registry.
- Push lastbuild tag after Build stage
- Add Test stage using newly built docker-sonic-mgmt:lastbuild image
- Add Publish stage to push latest tag only after tests pass
- Fix cp command syntax in artifact staging
This change depends on the merge of sonic-net/sonic-mgmt#21636
Signed-off-by: Xin Wang <xiwang5@microsoft.com>
* Override REPO_NAME to avoid downloading KVM image from current build
Signed-off-by: Xin Wang <xiwang5@microsoft.com>
---------
Signed-off-by: Xin Wang <xiwang5@microsoft.com>
0 commit comments