From 9b764d2d7a6b23ca3f3122058b710989a7d4d598 Mon Sep 17 00:00:00 2001 From: TC Johnson Date: Tue, 4 Jul 2023 18:31:02 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67403bc0..5a980495 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,8 @@ stages: - test - distribute -before_script: - - earthly bootstrap +#before_script: +# - earthly bootstrap test_amd64: stage: test @@ -21,10 +21,11 @@ test_amd64: - linux - amd64 script: + - earthly bootstrap - earthly --ci +unit-tests-linux-amd64 when: manual -distribute_amd64: +package_amd64: stage: distribute only: - stable @@ -32,16 +33,28 @@ distribute_amd64: - linux - amd64 script: + - earthly bootstrap - earthly +package-linux-amd64-deb - earthly +package-linux-amd64-rpm - - /home/gitlab-runner/distribute-packages.sh -repo_deployment: +init_repos: stage: distribute only: - stable needs: - - distribute_amd64 + - package_amd64 + tags: + - linux + - amd64 + script: + - /home/gitlab-runner/distribute-packages.sh + +deploy_repos: + stage: distribute + only: + - stable + needs: + - init_repos tags: - repo-setup script: