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
Branches
Tags
No related merge requests found
......@@ -145,13 +145,13 @@ spec:
destroy_rules:
default:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- when: manual
when: manual
type: array
description: 'Defines the `rules` of the `destroy` job.'
delete_state_rules:
default:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
- when: manual
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: manual
type: array
description: 'Defines the `rules` of the `delete-state` job.'
warning_on_non_empty_plan:
......
......@@ -118,13 +118,13 @@ spec:
destroy_rules:
default:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- when: manual
when: manual
type: array
description: 'Defines the `rules` of the `destroy` job.'
delete_state_rules:
default:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
- when: manual
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: manual
type: array
description: 'Defines the `rules` of the `delete-state` job.'
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