From e8f50b8042ccacc2f25f51abdaa1ce7a2e8db0d3 Mon Sep 17 00:00:00 2001 From: TC Date: Sun, 16 Jul 2023 19:18:35 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c3bc0c30..f652d110 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,7 @@ package_amd64_deb: script: - earthly bootstrap - earthly +package-linux-amd64-deb - #- /home/gitlab-runner/distribute-packages.sh + - /home/gitlab-runner/scp-to-orchestrator.sh package_arm64_deb: stage: build_packages @@ -45,7 +45,7 @@ package_arm64_deb: script: - earthly bootstrap - earthly +package-linux-arm64-deb - #- /home/gitlab-runner/distribute-packages.sh + - /home/gitlab-runner/scp-to-orchestrator.sh package_amd64_rpm: stage: build_packages @@ -56,15 +56,24 @@ package_amd64_rpm: script: - earthly bootstrap - earthly +package-linux-amd64-rpm - #- /home/gitlab-runner/distribute-packages.sh + - /home/gitlab-runner/scp-to-orchestrator.sh -#deploy_repos: -# stage: distribute -# only: -# - stable -# needs: -# - package -# tags: -# - repo-server -# script: -# - /home/gitlab-runner/deploy-repo.sh +build_repositories: + stage: distribute + only: + - stable + tags: + - build-orchestration + script: + - /home/gitlab-runner/distribute-packages.sh + +deploy_repos: + stage: distribute + only: + - stable + needs: + - build_repositories + tags: + - repo-server + script: + - /home/gitlab-runner/deploy-repo.sh