Merge branch 'move-tests-off-do' into 'main'

Move tests off of Digital Ocean

See merge request veilid/veilid!144
This commit is contained in:
TC 2023-08-22 22:41:04 +00:00
commit 1fff6cfdcd

View File

@ -10,45 +10,16 @@ stages:
- release - release
- distribute - distribute
#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
when: manual
test_amd64: test_amd64:
stage: test stage: test
image: earthly/earthly:v0.6.30 image: earthly/earthly:v0.7.15
only: only:
- main - main
- merge_requests - merge_requests
needs:
- create_test_machine
tags:
- 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:
stage: test
only:
- main
- merge_requests
needs:
- test_amd64
tags:
- build-orchestration
script:
- /home/gitlab-runner/build-machine-ctl.sh delete amd64-deb
release_job: release_job:
stage: release stage: release