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 - echo $COMMAND
script: script:
- export EFI_DIR="$(dirname "$(find /nix/store -name OVMF_VARS.fd | head -1)")/" - export EFI_DIR="$(dirname "$(find /nix/store -name OVMF_VARS.fd | head -1)")/"
- echo $COMMAND > build.sh - $COMMAND || exit 1
- bash build.sh || exit 1
qemu.amd64: qemu.amd64:
extends: .build extends: .build
@@ -80,9 +79,7 @@ hyperv-iso.amd64:
parallel: parallel:
matrix: [] matrix: []
script: script:
- echo "which packer" > build.sh - $COMMAND || exit 1
- echo $COMMAND >> build.sh
- bash build.sh || exit 1
after_script: |- after_script: |-
if [ "$CI_JOB_STATUS" == "success" ]; then if [ "$CI_JOB_STATUS" == "success" ]; then
xonsh test.xsh xonsh test.xsh