test: move env variables into set-env-variables helper
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
f3a58d699a
commit
4c5d1ae45a
18 changed files with 24 additions and 30 deletions
|
|
@ -2,9 +2,7 @@
|
|||
set -euo pipefail
|
||||
|
||||
# Get OS and architecture details.
|
||||
source /etc/os-release
|
||||
ARCH=$(uname -m)
|
||||
DISTRO_CODE="${DISTRO_CODE:-${ID}_${VERSION_ID//./}}"
|
||||
source /usr/libexec/osbuild-composer-test/set-env-variables.sh
|
||||
|
||||
if [[ -n "$CI_BUILD_ID" ]]; then
|
||||
BUILD_ID="${BUILD_ID:-${CI_BUILD_ID}}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue