Update .gitlab-ci.yml file

This commit is contained in:
TC Johnson 2023-07-04 18:31:02 +00:00
parent d9dd0a3fba
commit 9b764d2d7a

View File

@ -8,8 +8,8 @@ stages:
- test - test
- distribute - distribute
before_script: #before_script:
- earthly bootstrap # - earthly bootstrap
test_amd64: test_amd64:
stage: test stage: test
@ -21,10 +21,11 @@ test_amd64:
- linux - linux
- amd64 - amd64
script: script:
- earthly bootstrap
- earthly --ci +unit-tests-linux-amd64 - earthly --ci +unit-tests-linux-amd64
when: manual when: manual
distribute_amd64: package_amd64:
stage: distribute stage: distribute
only: only:
- stable - stable
@ -32,16 +33,28 @@ distribute_amd64:
- linux - linux
- amd64 - amd64
script: script:
- earthly bootstrap
- earthly +package-linux-amd64-deb - earthly +package-linux-amd64-deb
- earthly +package-linux-amd64-rpm - earthly +package-linux-amd64-rpm
- /home/gitlab-runner/distribute-packages.sh
repo_deployment: init_repos:
stage: distribute stage: distribute
only: only:
- stable - stable
needs: 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: tags:
- repo-setup - repo-setup
script: script: