Skip to content
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

ci/ipsec: Skip waiting for images when skipping upgrade/dowgrade #29793

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

qmonnet
Copy link
Member

@qmonnet qmonnet commented Dec 11, 2023

The workflow to test upgrades/downgrades with IPsec supports two cases: upgrading from the last minor version, or from the last patch release. In the case of patch releases, there are instances where we are not able to determine the latest patch releases. This is the case on the current development branch, where no patch releases have been created yet, for example. In such a case, we skip most of the steps in the job.

When implementing the check on the patch release value and the bypass of the relevant steps, we omitted to skip the step where we wait for the CI images to be available, potentially causing unnecessary wait time for the job. Let's skip this step as well.

Fixes: c9dedb4 ("ci/ipsec: Skip upgrade/downgrade test to patch release on main branch")
Reported at #28815 (comment)

@qmonnet qmonnet added kind/bug/CI This is a bug in the testing code. area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. release-note/ci This PR makes changes to the CI. needs-backport/1.12 needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch feature/ipsec Relates to Cilium's IPsec feature labels Dec 11, 2023
@qmonnet qmonnet requested review from a team as code owners December 11, 2023 14:20
@qmonnet
Copy link
Member Author

qmonnet commented Dec 11, 2023

/ci-ipsec-upgrade

The workflow to test upgrades/downgrades with IPsec supports two cases:
upgrading from the last minor version, or from the last patch release.
In the case of patch releases, there are instances where we are not able
to determine the latest patch releases. This is the case on the current
development branch, where no patch releases have been created yet, for
example. In such a case, we skip most of the steps in the job.

When implementing the check on the patch release value and the bypass of
the relevant steps, we omitted to skip the step where we wait for the CI
images to be available, potentially causing unnecessary wait time for
the job. Let's skip this step as well. Since we're at it, we can also
skip the step for setting Kind parameters.

Fixes: c9dedb4 ("ci/ipsec: Skip upgrade/downgrade test to patch release on main branch")
Fixes: cd93d37 ("ci-ipsec-upgrade: Use lvh-kind")
Reported-by: Paul Chaignon <paul.chaignon@gmail.com>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
@qmonnet qmonnet force-pushed the pr/qmonnet/ipsec/skip-image-wait branch from ad25894 to 9dc6187 Compare December 11, 2023 14:53
@qmonnet
Copy link
Member Author

qmonnet commented Dec 11, 2023

/ci-ipsec-upgrade

@qmonnet
Copy link
Member Author

qmonnet commented Dec 11, 2023

image

@qmonnet
Copy link
Member Author

qmonnet commented Dec 11, 2023

/test

@qmonnet qmonnet added this pull request to the merge queue Dec 12, 2023
Merged via the queue into main with commit 6ae9354 Dec 12, 2023
213 checks passed
@qmonnet qmonnet deleted the pr/qmonnet/ipsec/skip-image-wait branch December 12, 2023 12:55
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Dec 12, 2023
@giorio94 giorio94 mentioned this pull request Dec 13, 2023
3 tasks
@qmonnet qmonnet added the backport/author The backport will be carried out by the author of the PR. label Dec 13, 2023
@giorio94
Copy link
Member

Marked as backport/author as it needs to be backported after #29514.

@giorio94 giorio94 mentioned this pull request Dec 13, 2023
4 tasks
@giorio94 giorio94 added backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch and removed needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. labels Dec 13, 2023
@qmonnet qmonnet mentioned this pull request Dec 18, 2023
3 tasks
@qmonnet qmonnet added backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. and removed needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch labels Dec 18, 2023
@qmonnet qmonnet mentioned this pull request Dec 20, 2023
5 tasks
@qmonnet qmonnet added backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. and removed needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch labels Dec 20, 2023
@github-actions github-actions bot added backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. and removed backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. labels Dec 21, 2023
@github-actions github-actions bot added backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. and removed backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. labels Jan 11, 2024
@julianwiedmann julianwiedmann added affects/v1.12 This issue affects v1.12 branch and removed needs-backport/1.12 labels Feb 20, 2024
@qmonnet qmonnet removed the affects/v1.12 This issue affects v1.12 branch label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. backport/author The backport will be carried out by the author of the PR. backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. feature/ipsec Relates to Cilium's IPsec feature kind/bug/CI This is a bug in the testing code. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
No open projects
Status: Released
Status: Released
Development

Successfully merging this pull request may close these issues.

None yet

4 participants