-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
tests: update CI images #10451
tests: update CI images #10451
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
we need an updated runc. v1.0-rc95 has the feature we need |
@cevich PTAL |
Sorry only just seeing this now after being on PTO last week. Okay, I'll build new VM images...okay, opened a PR. |
@giuseppe okay, give image suffix
|
bb13885
to
1400ece
Compare
4ce1c77
to
3d157ac
Compare
f61ca4a
to
8638024
Compare
Signed-off-by: Giuseppe Scrivano <[email protected]>
addressed the comments ⬆️ |
So we revert this PR or at least the separation of the VMs once selinux-policy gets updated. |
LGTM |
Just the one But if this takes longer than 30-days, there's a very not-obvious problem WRT image pruning. I'll open a followup PR so the tests don't all need to be re-run for it (here). |
...in case you want to include it in the one commit (would be convenient for reverting), this is what I'm thinking: diff --git a/.cirrus.yml b/.cirrus.yml
index a403889c6..026843503 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -678,6 +678,8 @@ meta_task:
${PRIOR_FEDORA_CACHE_IMAGE_NAME}
${UBUNTU_CACHE_IMAGE_NAME}
${PRIOR_UBUNTU_CACHE_IMAGE_NAME}
+ "ubuntu-${IMAGE_SUFFIX}"
+ "prior-ubuntu-${IMAGE_SUFFIX}"
BUILDID: "${CIRRUS_BUILD_ID}"
REPOREF: "${CIRRUS_REPO_NAME}"
GCPJSON: ENCRYPTED[3a198350077849c8df14b723c0f4c9fece9ebe6408d35982e7adf2105a33f8e0e166ed3ed614875a0887e1af2b8775f4] |
thanks for the suggestion. I've amended the change in the last version |
A hidden non-obvious corner-case of temporary changes introduced by containers#10451 could be unintended pruning of some ubuntu images. This could be impactful if for some reason the `.cirrus.yml: use c5521575421149184 for Ubuntu` commit is reverted beyond 30-days (the disused image-prune interval) and the _old_ images are needed (for an unforeseen reason). Mitigate this by temporarily including the old images in the timestamp updating task. This commit may be reverted (and the problem ignored) if new VM images are built and deployed for all OS's (i.e. replacing the Fedora/Ubuntu tag split workaround needed for the BZ). Signed-off-by: Chris Evich <[email protected]>
oof, my bad... diff --git a/.cirrus.yml b/.cirrus.yml
index a403889c6..026843503 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -678,6 +678,8 @@ meta_task:
${PRIOR_FEDORA_CACHE_IMAGE_NAME}
${UBUNTU_CACHE_IMAGE_NAME}
${PRIOR_UBUNTU_CACHE_IMAGE_NAME}
+ ubuntu-${IMAGE_SUFFIX}
+ prior-ubuntu-${IMAGE_SUFFIX}
BUILDID: "${CIRRUS_BUILD_ID}"
REPOREF: "${CIRRUS_REPO_NAME}"
GCPJSON: ENCRYPTED[3a198350077849c8df14b723c0f4c9fece9ebe6408d35982e7adf2105a33f8e0e166ed3ed614875a0887e1af2b8775f4] |
Okay, welp, since we're re-spinning tests I can close my PR then. Sorry for the noise/churn, I was trying to help avoid needing to re-run all the tests while there's the annoying system-test flake (assuming it's still a thing). |
looks like the test doesn't like the last diff:
|
reverted it back, and the CI is smart to turn immediately green :-) |
LGTM |
/lgtm |
A hidden non-obvious corner-case of temporary changes introduced by containers#10451 could be unintended pruning of some ubuntu images. This could be impactful if for some reason the `.cirrus.yml: use c5521575421149184 for Ubuntu` commit is reverted beyond 30-days (the disused image-prune interval) and the _old_ images are needed (for an unforeseen reason). Mitigate this by temporarily including the old images in the timestamp updating task. This commit may be reverted (and the problem ignored) if new VM images are built and deployed for all OS's (i.e. replacing the Fedora/Ubuntu tag split workaround needed for the BZ). Signed-off-by: Chris Evich <[email protected]>
preparation work for: containers/common#573
Signed-off-by: Giuseppe Scrivano [email protected]