Move tests off of Digital Ocean
Experimenting with using GitLab SaaS runners to do test CI stages.
This commit is contained in:
parent
10ec693fb4
commit
c525a757fd
@ -13,16 +13,16 @@ stages:
|
|||||||
#before_script:
|
#before_script:
|
||||||
# - earthly bootstrap
|
# - earthly bootstrap
|
||||||
|
|
||||||
create_test_machine:
|
# create_test_machine:
|
||||||
stage: test
|
# stage: test
|
||||||
only:
|
# only:
|
||||||
- main
|
# - main
|
||||||
- merge_requests
|
# - merge_requests
|
||||||
tags:
|
# tags:
|
||||||
- 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
|
# when: manual
|
||||||
|
|
||||||
test_amd64:
|
test_amd64:
|
||||||
stage: test
|
stage: test
|
||||||
@ -38,17 +38,17 @@ test_amd64:
|
|||||||
- earthly bootstrap
|
- earthly bootstrap
|
||||||
- earthly --ci +unit-tests-linux-amd64
|
- earthly --ci +unit-tests-linux-amd64
|
||||||
|
|
||||||
delete_test_machine:
|
# delete_test_machine:
|
||||||
stage: test
|
# stage: test
|
||||||
only:
|
# only:
|
||||||
- main
|
# - main
|
||||||
- merge_requests
|
# - merge_requests
|
||||||
needs:
|
# needs:
|
||||||
- test_amd64
|
# - test_amd64
|
||||||
tags:
|
# tags:
|
||||||
- build-orchestration
|
# - build-orchestration
|
||||||
script:
|
# script:
|
||||||
- /home/gitlab-runner/build-machine-ctl.sh delete amd64-deb
|
# - /home/gitlab-runner/build-machine-ctl.sh delete amd64-deb
|
||||||
|
|
||||||
release_job:
|
release_job:
|
||||||
stage: release
|
stage: release
|
||||||
|
Loading…
Reference in New Issue
Block a user