Update .gitlab-ci.yml file
This commit is contained in:
parent
c525a757fd
commit
5d714dcf58
@ -26,16 +26,19 @@ stages:
|
|||||||
|
|
||||||
test_amd64:
|
test_amd64:
|
||||||
stage: test
|
stage: test
|
||||||
image: earthly/earthly:v0.6.30
|
image: docker
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
- merge_requests
|
- merge_requests
|
||||||
needs:
|
before_script:
|
||||||
- create_test_machine
|
- apk update && apk add git
|
||||||
tags:
|
- wget https://github.com/earthly/earthly/releases/download/v0.6.2/earthly-linux-amd64 -O /usr/local/bin/earthly
|
||||||
- earthly-tests
|
- chmod +x /usr/local/bin/earthly
|
||||||
|
- export FORCE_COLOR=1
|
||||||
|
- /usr/local/bin/earthly bootstrap
|
||||||
script:
|
script:
|
||||||
- earthly bootstrap
|
|
||||||
- earthly --ci +unit-tests-linux-amd64
|
- earthly --ci +unit-tests-linux-amd64
|
||||||
|
|
||||||
# delete_test_machine:
|
# delete_test_machine:
|
||||||
|
Loading…
Reference in New Issue
Block a user