mirror of
https://github.com/containers/podman.git
synced 2025-09-22 04:03:48 +08:00
Bump cirrus image with easier dependency management
- for cni tests remove netavark and aardvark only if installed - install ginkgo in envs wherever needed Related: https://github.com/containers/automation_images/pull/177 https://github.com/containers/automation_images/issues/159 https://github.com/containers/automation_images/issues/161 Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org> Update .cirrus.yml Co-authored-by: Chris Evich <1183438+cevich@users.noreply.github.com> Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
@ -33,7 +33,7 @@ env:
|
||||
UBUNTU_NAME: "ubuntu-2204"
|
||||
|
||||
# Image identifiers
|
||||
IMAGE_SUFFIX: "c6447802205601792"
|
||||
IMAGE_SUFFIX: "c5841131699699712"
|
||||
# EC2 images
|
||||
FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}"
|
||||
FEDORA_AARCH64_AMI: "fedora-podman-aws-arm64-${IMAGE_SUFFIX}"
|
||||
|
@ -217,10 +217,11 @@ use_cni() {
|
||||
# Other packages depend on nv/av, but we're testing with podman
|
||||
# binaries built from source, so it's safe to ignore these deps.
|
||||
#
|
||||
# FIXME FIXME FIXME: if/when we bring back Ubuntu (or use Debian),
|
||||
# someone will have to conditionalize these rpm/dnf commands
|
||||
# Do not fail when netavark and aardvark-dns are not installed.
|
||||
rpm -e --nodeps netavark aardvark-dns || true
|
||||
for pkg in aardvark-dns netavark
|
||||
do
|
||||
[ -z "$(rpm -qa | grep $pkg)" ] && echo "$pkg not installed" || rpm -e --nodeps $pkg
|
||||
done
|
||||
msg "Installing default CNI configuration"
|
||||
dnf install -y $PACKAGE_DOWNLOAD_DIR/podman-plugins*
|
||||
cd $GOSRC || exit 1
|
||||
|
@ -92,8 +92,11 @@ function _run_bud() {
|
||||
}
|
||||
|
||||
function _run_bindings() {
|
||||
# install ginkgo
|
||||
make .install.ginkgo
|
||||
|
||||
# shellcheck disable=SC2155
|
||||
export PATH=$PATH:$GOSRC/hack
|
||||
export PATH=$PATH:$GOSRC/hack:$GOSRC/test/tools/build
|
||||
|
||||
# if logformatter sees this, it can link directly to failing source lines
|
||||
local gitcommit_magic=
|
||||
|
@ -264,7 +264,8 @@ case "$TEST_FLAVOR" in
|
||||
pip install --requirement $GOSRC/test/apiv2/python/requirements.txt
|
||||
;& # continue with next item
|
||||
compose)
|
||||
dnf install -y $PACKAGE_DOWNLOAD_DIR/podman-docker*
|
||||
make install.tools
|
||||
dnf install -y podman-docker*
|
||||
;& # continue with next item
|
||||
int)
|
||||
make .install.ginkgo
|
||||
@ -303,7 +304,7 @@ case "$TEST_FLAVOR" in
|
||||
install_test_configs
|
||||
;;
|
||||
machine)
|
||||
dnf install -y $PACKAGE_DOWNLOAD_DIR/podman-gvproxy*
|
||||
dnf install -y podman-gvproxy*
|
||||
remove_packaged_podman_files
|
||||
make install PREFIX=/usr ETCDIR=/etc
|
||||
install_test_configs
|
||||
|
Reference in New Issue
Block a user