Run command directly?

This commit is contained in:
Greg Hellings
2024-01-10 12:11:04 -06:00
parent cd84ee8d0d
commit 77019f874f
+2 -5
View File
@@ -46,8 +46,7 @@ stages:
- echo $COMMAND
script:
- export EFI_DIR="$(dirname "$(find /nix/store -name OVMF_VARS.fd | head -1)")/"
- echo $COMMAND > build.sh
- bash build.sh || exit 1
- $COMMAND || exit 1
qemu.amd64:
extends: .build
@@ -80,9 +79,7 @@ hyperv-iso.amd64:
parallel:
matrix: []
script:
- echo "which packer" > build.sh
- echo $COMMAND >> build.sh
- bash build.sh || exit 1
- $COMMAND || exit 1
after_script: |-
if [ "$CI_JOB_STATUS" == "success" ]; then
xonsh test.xsh