Skip to content

Commit

Permalink
workflows/ipsec: opt-out from minor upgrade test when KPR is enabled
Browse files Browse the repository at this point in the history
KPR is not supported on v1.15, skip these particular tests.

Signed-off-by: Julian Wiedmann <[email protected]>
  • Loading branch information
julianwiedmann committed Oct 28, 2024
1 parent f846d20 commit 8ab4081
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/ipsec/configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
key-two: 'cbc(aes)'
key-type-one: '+'
key-type-two: '+'
skip-minor-upgrade: 'true'
- name: '6'
# renovate: datasource=docker depName=quay.io/lvh-images/kind
kernel: '5.10-20240710.064909'
Expand All @@ -62,6 +63,7 @@
key-two: 'gcm(aes)'
key-type-one: '+'
key-type-two: '+'
skip-minor-upgrade: 'true'
- name: '7'
# renovate: datasource=docker depName=quay.io/lvh-images/kind
kernel: '5.15-20240710.064909'
Expand All @@ -84,3 +86,4 @@
key-two: 'gcm(aes)'
key-type-one: '+'
key-type-two: '+'
skip-minor-upgrade: 'true'
4 changes: 4 additions & 0 deletions .github/workflows/tests-ipsec-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ jobs:
fi
echo "CILIUM_DOWNGRADE_VERSION: ${CILIUM_DOWNGRADE_VERSION}"
echo "IMAGE_TAG: ${IMAGE_TAG}"
if [ "${{ matrix.mode }}" = "minor" ] && [ "${{ matrix.skip-minor-upgrade }}" = "true" ]; then
echo "::notice::Skipping minor upgrade"
CILIUM_DOWNGRADE_VERSION=""
fi
if [ -z "${CILIUM_DOWNGRADE_VERSION}" ]; then
echo "::notice::No CILIUM_DOWNGRADE_VERSION returned; skipping remaining steps"
fi
Expand Down

0 comments on commit 8ab4081

Please sign in to comment.