summaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/xfedora_setup.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-09 16:03:11 -0400
committerGitHub <noreply@github.com>2020-09-09 16:03:11 -0400
commite1b47296daaf4148d9970b59757a86e71bf8bb10 (patch)
tree8193d7cc884d2b8242d7bf8c1acb8b0244829316 /contrib/cirrus/packer/xfedora_setup.sh
parent08b602043ec07601b9be23c449c7773067683d90 (diff)
parented1e87ecb57d2280ef3b02e2b437ad9b378d21a2 (diff)
downloadpodman-e1b47296daaf4148d9970b59757a86e71bf8bb10.tar.gz
podman-e1b47296daaf4148d9970b59757a86e71bf8bb10.tar.bz2
podman-e1b47296daaf4148d9970b59757a86e71bf8bb10.zip
Merge pull request #7485 from cevich/migrate_packer
Cirrus: Obsolete CI:IMG process & related files
Diffstat (limited to 'contrib/cirrus/packer/xfedora_setup.sh')
-rw-r--r--contrib/cirrus/packer/xfedora_setup.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/contrib/cirrus/packer/xfedora_setup.sh b/contrib/cirrus/packer/xfedora_setup.sh
deleted file mode 100644
index 16ae87d8a..000000000
--- a/contrib/cirrus/packer/xfedora_setup.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env bash
-
-# This script is called by packer on the subject fedora VM, to setup the podman
-# build/test environment. It's not intended to be used outside of this context.
-
-set -e
-
-# Load in library (copied by packer, before this script was run)
-source $GOSRC/$SCRIPT_BASE/lib.sh
-
-req_env_var SCRIPT_BASE PACKER_BASE INSTALL_AUTOMATION_VERSION PACKER_BUILDER_NAME GOSRC FEDORA_BASE_IMAGE OS_RELEASE_ID OS_RELEASE_VER
-
-workaround_bfq_bug
-
-# Do not enable updates-testing on the previous Fedora release
-if [[ "$PRIOR_FEDORA_BASE_IMAGE" =~ "${OS_RELEASE_ID}-cloud-base-${OS_RELEASE_VER}" ]]; then
- DISABLE_UPDATES_TESTING=1
-else
- DISABLE_UPDATES_TESTING=0
-fi
-
-bash $PACKER_BASE/fedora_packaging.sh
-# Load installed environment right now (happens automatically in a new process)
-source /usr/share/automation/environment
-
-echo "Enabling cgroup management from containers"
-ooe.sh sudo setsebool container_manage_cgroup true
-
-# Ensure there are no disruptive periodic services enabled by default in image
-systemd_banish
-
-rh_finalize
-
-echo "SUCCESS!"