summaryrefslogtreecommitdiff
path: root/contrib/cirrus/runner.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2020-10-16 09:12:03 -0400
committerChris Evich <cevich@redhat.com>2020-10-29 09:02:31 -0400
commit3ba77a5618026851cfacb6f235b85a06c96b5477 (patch)
tree362323af0f815e1aa1fd5707d541b9561a782f29 /contrib/cirrus/runner.sh
parente04e567b96cafae30863c7782f7bc10c55bfb681 (diff)
downloadpodman-3ba77a5618026851cfacb6f235b85a06c96b5477.tar.gz
podman-3ba77a5618026851cfacb6f235b85a06c96b5477.tar.bz2
podman-3ba77a5618026851cfacb6f235b85a06c96b5477.zip
Cirrus: Simplify setting/passing env. vars.
Test VMs by design are to be single-purpose, single-use, and readily disposable. Therefore it's unnecessary to overcomplicate storage of runtime environment variables. This commit makes these points clear, and reorganizes all CI-related env. vars on the system into a single location, `/etc/ci_environment`. This file is then automatically loaded, and variables exported, (by `lib.sh`) from `runner.sh` prior to executing all forms of testing. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/runner.sh')
-rwxr-xr-xcontrib/cirrus/runner.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh
index b97a696d9..084b196a9 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -40,7 +40,7 @@ function _run_automation() {
req_env_vars CI DEST_BRANCH IMAGE_SUFFIX TEST_FLAVOR TEST_ENVIRON \
PODBIN_NAME PRIV_NAME DISTRO_NV CONTAINER USER HOME \
- UID GID AUTOMATION_LIB_PATH SCRIPT_BASE OS_RELEASE_ID \
+ UID AUTOMATION_LIB_PATH SCRIPT_BASE OS_RELEASE_ID \
OS_RELEASE_VER CG_FS_TYPE
bigto ooe.sh dnf install -y ShellCheck # small/quick addition
$SCRIPT_BASE/shellcheck.sh