summaryrefslogtreecommitdiff
path: root/contrib/cirrus/lib.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-03-24 11:41:49 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-05-05 13:49:36 -0400
commit8b897a586e1d5c069342f37d80a37fb08c4567f2 (patch)
tree23909199f69864c0e57d4caa770a3c94f988343e /contrib/cirrus/lib.sh
parentb73bdcdb9055bc6ab3fc65cc166309ce3b79c75c (diff)
downloadpodman-8b897a586e1d5c069342f37d80a37fb08c4567f2.tar.gz
podman-8b897a586e1d5c069342f37d80a37fb08c4567f2.tar.bz2
podman-8b897a586e1d5c069342f37d80a37fb08c4567f2.zip
Cirrus: Temporarily update netavark/aardvark-dns
Normally installing/updating packages at test runtime is highly discouraged for reliability and efficiency reasons. However, in this specific case, development work of these packages is still fairly hot. As a compromise to support podman test development, temporarily update these two specific packages at runtime. At a future date, when updates are less frequent, this commit can/should be safely reverted. At that point, the versions installed at VM image build time will persist. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/lib.sh')
-rw-r--r--contrib/cirrus/lib.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh
index 2365965f2..583f85fc1 100644
--- a/contrib/cirrus/lib.sh
+++ b/contrib/cirrus/lib.sh
@@ -244,6 +244,11 @@ use_netavark() {
export NETWORK_BACKEND=netavark # needed for install_test_configs()
msg "Removing any/all CNI configuration"
rm -rvf /etc/cni/net.d/*
+
+ # TODO: Remove this when netavark/aardvark-dns development slows down
+ warn "Updating netavark/aardvark-dns to avoid frequent VM image rebuilds"
+ # N/B: This is coming from updates-testing repo in F36
+ lilto dnf update -y netavark aardvark-dns
}
# Remove all files provided by the distro version of podman.