azure-container-networking
azure-container-networking copied to clipboard
ci: azure-ipam patch upgrade testing
Reason for Change: First pr for patch upgrade testing in CNI release pipeline. The CNI release patch upgrade tests will follow the same flow that we use for cilium patch upgrade tests. Create cluster > deploy current images > e2e > deploy upgrade images > e2e > delete cluster
-
Adding TEST_AZURE_IPAM_VERSION/UPGRADE_AZURE_IPAM_VERSION and TEST_CNS_VERSION/UPGRADE_CNS_VERSION and new conditions to check these vars in the upgrade scenario. (CNS patch upgrade work still needs to be completed for non cilium)
-
Adding parameter upgradeScenario as a field to check off in pipeline run to determine if new patch needs to be deployed/tested
further documentation/instruction for use will be added when pipeline work is complete, but here is a quick guide for how values are expected to be set
upgradeScenario[T/F] - true will deploy patches and retest, false will run pipeline as usual- if upgradeScenario is true
TEST_AZURE_IPAM_VERSION: set to current azure ipam patchUPGRADE_AZURE_IPAM_VERSION: set to upgrade azure ipam patchTEST_CNS_VERSION: set to current cns patchUPGRADE_CNS_VERSION: set to upgrade cns patch
if the TEST_* or UPGRADE_* values are not set it will use make to get the pipeline image build
Issue Fixed:
Requirements:
- [ ] uses conventional commit messages
- [ ] includes documentation
- [ ] adds unit tests
- [ ] relevant PR labels added
Notes: