tests: modify DISTRO_CODE usage
Set DISTRO_CODE if unset for gitlab CI
This commit is contained in:
parent
5e60485705
commit
e613b2456b
7 changed files with 13 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ set -euo pipefail
|
|||
# Get OS and architecture details.
|
||||
source /etc/os-release
|
||||
ARCH=$(uname -m)
|
||||
DISTRO_CODE="${DISTRO_CODE:-${ID}_${VERSION_ID//./}}"
|
||||
|
||||
WORKING_DIRECTORY=/usr/libexec/osbuild-composer
|
||||
IMAGE_TEST_CASE_RUNNER=/usr/libexec/osbuild-composer-test/osbuild-image-tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue