Refining ephemeral earthly test machine process

This commit is contained in:
TC 2023-07-22 17:11:51 +00:00
parent 75c8b0c789
commit f4fb48b219

View File

@ -21,6 +21,7 @@ create_test_machine:
- build-orchestration - build-orchestration
script: script:
- /home/gitlab-runner/build-machine-ctl.sh create amd64-deb - /home/gitlab-runner/build-machine-ctl.sh create amd64-deb
when: manual
test_amd64: test_amd64:
stage: test stage: test
@ -28,12 +29,13 @@ test_amd64:
only: only:
- main - main
- merge_requests - merge_requests
needs:
- create-test-machine
tags: tags:
- build-server - earthly-tests
script: script:
- earthly bootstrap - earthly bootstrap
- earthly --ci +unit-tests-linux-amd64 - earthly --ci +unit-tests-linux-amd64
when: manual
delete_test_machine: delete_test_machine:
stage: test stage: test