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
- 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:
stage: test
image: earthly/earthly:v0.6.30
image: earthly/earthly:v0.7.15
only:
- main
- merge_requests
needs:
- create_test_machine
tags:
- earthly-tests
- main
- merge_requests
script:
- earthly bootstrap
- earthly --ci +unit-tests-linux-amd64
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
when: manual
release_job:
stage: release