-
Notifications
You must be signed in to change notification settings - Fork 254
ci: cns patch testing in release pipeline #3914
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
base: master
Are you sure you want to change the base?
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.
Pull Request Overview
This PR extends the CNS patch testing capability to CNIv2 scenarios in the release pipeline. It allows for testing CNS version upgrades by configuring specific pipeline variables and adds conditional logic to support both regular and upgrade scenarios.
Key changes:
- Added upgrade scenario support to CNIv2 templates with conditional logic for version handling
- Enhanced log artifact naming to differentiate between regular and upgrade test runs
- Extended pipeline configuration to include CNIv2 upgrade test stages alongside existing Cilium upgrade tests
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 12 comments.
File | Description |
---|---|
.pipelines/npm/npm-cni-integration-test.yaml | Added configurable log type parameter for artifact naming |
.pipelines/cni/singletenancy/cniv2-template.yaml | Added upgrade scenario support with conditional stage creation and CNS version handling |
.pipelines/cni/pipeline.yaml | Added CNIv2 upgrade test stages and updated documentation comment |
.pipelines/cni/cilium/cilium-overlay-load-test-template.yaml | Fixed job dependency to include CNS deployment |
/azp run Azure Container Networking PR |
Azure Pipelines successfully started running 1 pipeline(s). |
Reason for Change:
Allows for bumping the cns version in the release pipeline byo clusters to test upgrades to the next version. CNS patch test is already in place for cilium scenarios, this PR extends it to the CNIv2 scenarios.
Requires setting upgradeScenario: true in pipeline trigger and updating the following variables:
TEST_CNS_VERSION
: set to current cns patchCNS_IMAGE_REPO
: set the repo for current cns imageUPGRADE_CNS_VERSION
: set to upgrade cns patchUPGRADE_CNS_IMAGE_REPO
: set the repo for upgrade imageContinuation of #3678
Issue Fixed:
Requirements:
Notes: