Update .gitlab-ci.yml file
This commit is contained in:
		| @@ -52,9 +52,7 @@ 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 | ||||||
| @@ -86,6 +84,15 @@ package_amd64_deb: | |||||||
|     - /home/gitlab-runner/scp-to-orchestrator.sh |     - /home/gitlab-runner/scp-to-orchestrator.sh | ||||||
|   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 | ||||||
| @@ -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: | ||||||
| @@ -131,15 +156,4 @@ deploy_repos: | |||||||
|   script:  |   script:  | ||||||
|     - /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.+/' |  | ||||||
		Reference in New Issue
	
	Block a user