1
1
Fork 0
mirror of https://github.com/containers/udica synced 2024-05-26 02:06:12 +02:00
udica/contrib/cirrus/setup.sh
Chris Evich bd32eaf43e
Cirrus: Update CI VM images
Note F35 is disabled due to golang 1.18 requirement in podman. The
PRIOR_FEDORA... runs may be put back in place when F37 is released.

Signed-off-by: Chris Evich <cevich@redhat.com>
2022-08-29 14:23:36 -04:00

22 lines
476 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
source "$(dirname $0)/lib.sh"
show_env_vars
case "${OS_RELEASE_ID}" in
fedora)
msg "Installing necessary additional packages"
ooe.sh dnf install -y \
setools-console \
systemd-devel
;;
*) bad_os_id_ver ;;
esac
echo "Configuring git for access to podman pull-requests"
NEWREF='+refs/pull/*/head:refs/remotes/upstream/pr/*'
git config --global --replace-all remote.origin.fetch "$NEWREF"