diff options
author | Chris Evich <cevich@redhat.com> | 2020-10-16 09:12:03 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2020-10-29 09:02:31 -0400 |
commit | 3ba77a5618026851cfacb6f235b85a06c96b5477 (patch) | |
tree | 362323af0f815e1aa1fd5707d541b9561a782f29 /contrib/cirrus/runner.sh | |
parent | e04e567b96cafae30863c7782f7bc10c55bfb681 (diff) | |
download | podman-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-x | contrib/cirrus/runner.sh | 2 |
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 |