test: move env variables into set-env-variables helper

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-07-09 12:01:29 +02:00 committed by Ondřej Budai
parent f3a58d699a
commit 4c5d1ae45a
18 changed files with 24 additions and 30 deletions

View file

@ -2,8 +2,7 @@
set -euo pipefail
# Get OS data.
source /etc/os-release
DISTRO_CODE="${DISTRO_CODE:-${ID}_${VERSION_ID//./}}"
source /usr/libexec/osbuild-composer-test/set-env-variables.sh
# Provision the software under test.
/usr/libexec/osbuild-composer-test/provision.sh