Skip to content

ci-e2e-upgrade: Add minor / patch upgrades #31932

@brb

Description

@brb

The same as implemented in ci-ipsec-upgrade -

if [ "${{ matrix.mode }}" = "minor" ]; then
CILIUM_DOWNGRADE_VERSION=$(contrib/scripts/print-downgrade-version.sh stable)
IMAGE_TAG=${CILIUM_DOWNGRADE_VERSION}
else
# Upgrade from / downgrade to patch release.
# In some cases we expect to fail to get the version number, do not
# fail the workflow in such case. This is typically the case on
# main branch where we don't have preceeding patch releases.
CILIUM_DOWNGRADE_VERSION=$(contrib/scripts/print-downgrade-version.sh patch || true)
.

The vsn derivation steps could be moved to a separate GH action to avoid repetition.

Metadata

Metadata

Labels

area/CI-improvementTopic or proposal to improve the Continuous Integration workflowhelp-wantedYou can help! Post a detailed plan on the issue or create a PR to solve this issue.pinnedThese issues are not marked stale by our issue bot.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions