Run command directly?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user