Added ephemeral create/delete to test stage.
This commit is contained in:
parent
4951e983c7
commit
75c8b0c789
@ -12,6 +12,16 @@ stages:
|
|||||||
#before_script:
|
#before_script:
|
||||||
# - earthly bootstrap
|
# - 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:
|
test_amd64:
|
||||||
stage: test
|
stage: test
|
||||||
image: earthly/earthly:v0.6.30
|
image: earthly/earthly:v0.6.30
|
||||||
@ -25,6 +35,18 @@ test_amd64:
|
|||||||
- earthly --ci +unit-tests-linux-amd64
|
- earthly --ci +unit-tests-linux-amd64
|
||||||
when: manual
|
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:
|
create_build_machines:
|
||||||
stage: build_packages
|
stage: build_packages
|
||||||
only:
|
only:
|
||||||
|
Loading…
Reference in New Issue
Block a user