Added ephemeral create/delete to test stage.

This commit is contained in:
TC 2023-07-22 17:07:00 +00:00
parent 4951e983c7
commit 75c8b0c789

View File

@ -12,6 +12,16 @@ stages:
#before_script:
# - earthly bootstrap
create_test_machine:
stage: test
only:
- main
- merge_requests
tags:
- build-orchestration
script:
- /home/gitlab-runner/build-machine-ctl.sh create amd64-deb
test_amd64:
stage: test
image: earthly/earthly:v0.6.30
@ -25,6 +35,18 @@ test_amd64:
- earthly --ci +unit-tests-linux-amd64
when: manual
delete_test_machine:
stage: test
only:
- main
- merge_requests
needs:
- test_amd64
tags:
- build-orchestration
script:
- /home/gitlab-runner/build-machine-ctl.sh delete amd64-deb
create_build_machines:
stage: build_packages
only: