1
1
Fork 0
mirror of https://github.com/containers/udica synced 2024-05-24 01:46:11 +02:00
udica/contrib/cirrus/setup.sh
Chris Evich dc00aef98c Cirrus: Use get_ci_vm container image
This replaces the duplicated script, with a small frontend that uses a
common container image to do most of the work.

Signed-off-by: Chris Evich <cevich@redhat.com>
2021-05-05 17:35:16 +02:00

26 lines
594 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
source "$(dirname $0)/lib.sh"
show_env_vars
case "${OS_RELEASE_ID}" in
fedora)
msg "Expanding root disk space"
growpart /dev/sda 1
resize2fs /dev/sda1
msg "Installing necessary additional packages"
ooe.sh dnf install -y \
python3 \
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"