Travis -> Cirrus: validate, vendor, and test

Also add some basic setup commands to hack/get_ci_vm.sh

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich
2021-04-15 15:24:22 -04:00
parent 6b95125757
commit 146af8cd59
3 changed files with 82 additions and 10 deletions

View File

@@ -44,7 +44,11 @@ elif [[ "$1" == "--setup" ]]; then
# get_ci_vm container entrypoint calls us with this option on the
# Cirrus-CI environment instance, to perform repo.-specific setup.
cd $REPO_DIRPATH
echo "+ No further setup performed" > /dev/stderr
echo "+ Growing root filesystem" > /dev/stderr
growpart /dev/sda 1
resize2fs /dev/sda1
echo "+ Erasing pre-installed skopeo package" > /dev/stderr
dnf erase -y skopeo
else
# Create and access VM for specified Cirrus-CI task
mkdir -p $HOME/.config/gcloud/ssh