-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cirrus: Update CI VM images to F37beta #15760
Merged
openshift-merge-robot
merged 3 commits into
containers:main
from
cevich:enable_kube_tests
Nov 2, 2022
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -207,7 +207,16 @@ use_cni() { | |
echo "unset NETWORK_BACKEND" >> /etc/ci_environment | ||
export -n NETWORK_BACKEND | ||
unset NETWORK_BACKEND | ||
# While it's possible a user may want both installed, for CNI CI testing | ||
# purposes we only care about backward-compatibility, not forward. | ||
# If both CNI & netavark are present, in some situations where --root | ||
# is used it's possible for podman to pick the "wrong" networking stack. | ||
msg "Force-removing netavark and aardvark-dns" | ||
# Other packages depend on nv/av, but we're testing with podman | ||
# binaries built from source, so it's safe to ignore these deps. | ||
rpm -e --nodeps netavark aardvark-dns | ||
msg "Installing default CNI configuration" | ||
dnf install -y $PACKAGE_DOWNLOAD_DIR/podman-plugins* | ||
cd $GOSRC || exit 1 | ||
rm -rvf /etc/cni/net.d | ||
mkdir -p /etc/cni/net.d | ||
|
@@ -227,6 +236,9 @@ use_netavark() { | |
export NETWORK_BACKEND=netavark # needed for install_test_configs() | ||
msg "Removing any/all CNI configuration" | ||
rm -rvf /etc/cni/net.d/* | ||
# N/B: The netavark/aardvark-dns packages are still installed and | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you mean CNI packages? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh woops, yes I did mean CNI. I'll fix it, thanks. |
||
# available. This is on purpose, since CI needs to verify the | ||
# selection mechanisms are functional when both are available. | ||
} | ||
|
||
# Remove all files provided by the distro version of podman. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a hecka lot of commented-out stuff here. Some day someone will need to add them back, and will miss one even if they do a
git log -1 -p
of this commit to make sure.Could you add
# FIXME: reenable once <BUGID> is resolved
to each commented-out section?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep I can/should add a summary comment. No problem. I thought I made this a separate commit so it can just be reverted, no?
I'm hoping to get the debian stuff rolling before too long, so hopefully that can replace Ubuntu entirely.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
assumes an unchanging.cirrus.yml
, and that will be void within (I hope) one day of this PR merging.