mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
Add pipeline failure job that destroys build machines [ci skip]
This commit is contained in:
parent
f3cbfbe610
commit
9fb54947e2
@ -10,6 +10,7 @@ stages:
|
|||||||
- build_packages
|
- build_packages
|
||||||
- release
|
- release
|
||||||
- distribute
|
- distribute
|
||||||
|
- failed
|
||||||
|
|
||||||
format:
|
format:
|
||||||
stage: test
|
stage: test
|
||||||
@ -404,3 +405,15 @@ nightly_delete_build_machines:
|
|||||||
- bash scripts/cicd/build-orchestration/build-machine-ctrl.sh delete amd64-rpm
|
- bash scripts/cicd/build-orchestration/build-machine-ctrl.sh delete amd64-rpm
|
||||||
rules:
|
rules:
|
||||||
- if: $IS_NIGHTLY == "true"
|
- if: $IS_NIGHTLY == "true"
|
||||||
|
|
||||||
|
# If any steps fail this will run the build machine tear down scripts
|
||||||
|
|
||||||
|
failed_pipeline_actions:
|
||||||
|
stage: failed
|
||||||
|
tags:
|
||||||
|
- build-orchestration
|
||||||
|
script:
|
||||||
|
- bash scripts/cicd/build-orchestration/build-machine-ctrl.sh delete amd64-deb
|
||||||
|
- bash scripts/cicd/build-orchestration/build-machine-ctrl.sh delete arm64-deb
|
||||||
|
- bash scripts/cicd/build-orchestration/build-machine-ctrl.sh delete amd64-rpm
|
||||||
|
when: on_failure
|
Loading…
Reference in New Issue
Block a user