From 5d714dcf58ac0d13fec9cb2caa2772a9a83307ba Mon Sep 17 00:00:00 2001 From: TC Date: Tue, 22 Aug 2023 19:40:31 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c909d11c..0af3a719 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,16 +26,19 @@ stages: test_amd64: stage: test - image: earthly/earthly:v0.6.30 + image: docker + services: + - docker:dind only: - main - merge_requests - needs: - - create_test_machine - tags: - - earthly-tests + before_script: + - apk update && apk add git + - wget https://github.com/earthly/earthly/releases/download/v0.6.2/earthly-linux-amd64 -O /usr/local/bin/earthly + - chmod +x /usr/local/bin/earthly + - export FORCE_COLOR=1 + - /usr/local/bin/earthly bootstrap script: - - earthly bootstrap - earthly --ci +unit-tests-linux-amd64 # delete_test_machine: