From b77beeb3be68da25efbc8e802d79347667445c6e Mon Sep 17 00:00:00 2001 From: TC Date: Tue, 22 Aug 2023 21:49:55 +0000 Subject: [PATCH] Tests passed. This commit is a clean up of .gitlab-ci.yml --- .gitlab-ci.yml | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ecb32884..de5403c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,41 +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.7.15 - # only: - # - main - # - merge_requests + only: + - 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