1
1
mirror of https://github.com/containers/udica synced 2024-09-26 10:41:03 +02:00
udica/contrib/cirrus/setup.sh

23 lines
505 B
Bash
Raw Permalink Normal View History

#!/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 \
fuse-overlayfs
;;
*) 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"