Skip to content
Snippets Groups Projects
Commit 0bf84450 authored by Timo Furrer's avatar Timo Furrer
Browse files

Merge branch 'fix-manual-destroy' into 'main'

Fix manual destroy jobs

Closes #82

See merge request components/opentofu!179
parents e7e785ef fbecaf36
No related branches found
No related tags found
No related merge requests found
...@@ -145,13 +145,13 @@ spec: ...@@ -145,13 +145,13 @@ spec:
destroy_rules: destroy_rules:
default: default:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- when: manual when: manual
type: array type: array
description: 'Defines the `rules` of the `destroy` job.' description: 'Defines the `rules` of the `destroy` job.'
delete_state_rules: delete_state_rules:
default: default:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- when: manual when: manual
type: array type: array
description: 'Defines the `rules` of the `delete-state` job.' description: 'Defines the `rules` of the `delete-state` job.'
warning_on_non_empty_plan: warning_on_non_empty_plan:
......
...@@ -118,13 +118,13 @@ spec: ...@@ -118,13 +118,13 @@ spec:
destroy_rules: destroy_rules:
default: default:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- when: manual when: manual
type: array type: array
description: 'Defines the `rules` of the `destroy` job.' description: 'Defines the `rules` of the `destroy` job.'
delete_state_rules: delete_state_rules:
default: default:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- when: manual when: manual
type: array type: array
description: 'Defines the `rules` of the `delete-state` job.' description: 'Defines the `rules` of the `delete-state` job.'
warning_on_non_empty_plan: warning_on_non_empty_plan:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment