azure-container-networking icon indicating copy to clipboard operation
azure-container-networking copied to clipboard

ci: azure-ipam patch upgrade testing

Open camrynl opened this issue 5 months ago • 0 comments

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 patch UPGRADE_AZURE_IPAM_VERSION: set to upgrade azure ipam patch TEST_CNS_VERSION: set to current cns patch UPGRADE_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:

Notes:

camrynl avatar May 22 '25 16:05 camrynl