Update .gitlab-ci.yml file
This commit is contained in:
parent
aedafaebf6
commit
1227579048
@ -53,8 +53,6 @@ delete_test_machine:
|
|||||||
release_job:
|
release_job:
|
||||||
stage: release
|
stage: release
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
tags:
|
|
||||||
- build-orchestration
|
|
||||||
script:
|
script:
|
||||||
- echo "running release_job"
|
- echo "running release_job"
|
||||||
release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
|
release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
|
||||||
@ -87,6 +85,15 @@ package_amd64_deb:
|
|||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
|
delete_amd64_deb_build_machine:
|
||||||
|
stage: build_packages
|
||||||
|
needs:
|
||||||
|
- package_amd64_deb
|
||||||
|
tags:
|
||||||
|
- build-orchestration
|
||||||
|
script:
|
||||||
|
- /home/gitlab-runner/build-machine-ctl.sh delete amd64-deb
|
||||||
|
|
||||||
package_arm64_deb:
|
package_arm64_deb:
|
||||||
stage: build_packages
|
stage: build_packages
|
||||||
needs:
|
needs:
|
||||||
@ -100,6 +107,15 @@ package_arm64_deb:
|
|||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
|
delete_arm64_deb_build_machine:
|
||||||
|
stage: build_packages
|
||||||
|
needs:
|
||||||
|
- package_arm64_deb
|
||||||
|
tags:
|
||||||
|
- build-orchestration
|
||||||
|
script:
|
||||||
|
- /home/gitlab-runner/build-machine-ctl.sh delete arm64-deb
|
||||||
|
|
||||||
package_amd64_rpm:
|
package_amd64_rpm:
|
||||||
stage: build_packages
|
stage: build_packages
|
||||||
needs:
|
needs:
|
||||||
@ -113,6 +129,15 @@ package_amd64_rpm:
|
|||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
|
delete_amd64_rpm_build_machine:
|
||||||
|
stage: build_packages
|
||||||
|
needs:
|
||||||
|
- package_amd64_rpm
|
||||||
|
tags:
|
||||||
|
- build-orchestration
|
||||||
|
script:
|
||||||
|
- /home/gitlab-runner/build-machine-ctl.sh delete amd64-rpm
|
||||||
|
|
||||||
build_repositories:
|
build_repositories:
|
||||||
stage: distribute
|
stage: distribute
|
||||||
tags:
|
tags:
|
||||||
@ -132,14 +157,3 @@ deploy_repos:
|
|||||||
- /home/gitlab-runner/deploy-repo.sh
|
- /home/gitlab-runner/deploy-repo.sh
|
||||||
rules:
|
rules:
|
||||||
- if: '$CCI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CCI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
delete_build_machines:
|
|
||||||
stage: distribute
|
|
||||||
tags:
|
|
||||||
- build-orchestration
|
|
||||||
script:
|
|
||||||
- /home/gitlab-runner/build-machine-ctl.sh delete amd64-deb
|
|
||||||
- /home/gitlab-runner/build-machine-ctl.sh delete arm64-deb
|
|
||||||
- /home/gitlab-runner/build-machine-ctl.sh delete amd64-rpm
|
|
||||||
rules:
|
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
|
Loading…
Reference in New Issue
Block a user