Skip to content
Snippets Groups Projects
Unverified Commit 3461745a authored by Timo Furrer's avatar Timo Furrer
Browse files

Temporarily disable allow_failure input

parent 12bd5ff2
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,7 @@ variables: ...@@ -59,6 +59,7 @@ variables:
- if: $CI_OPEN_MERGE_REQUESTS # Don't add it to a *branch* pipeline if it's already in a merge request pipeline. - if: $CI_OPEN_MERGE_REQUESTS # Don't add it to a *branch* pipeline if it's already in a merge request pipeline.
when: never when: never
- if: $CI_COMMIT_BRANCH # If there's no open merge request, add it to a *branch* pipeline instead. - if: $CI_COMMIT_BRANCH # If there's no open merge request, add it to a *branch* pipeline instead.
#allow_failure: true
allow_failure: true allow_failure: true
cache: cache:
key: "$TF_ROOT" key: "$TF_ROOT"
......
...@@ -39,10 +39,11 @@ spec: ...@@ -39,10 +39,11 @@ spec:
default: ${CI_PROJECT_DIR} default: ${CI_PROJECT_DIR}
description: 'Root directory for the OpenTofu project.' description: 'Root directory for the OpenTofu project.'
allow_failure: # FIXME: wait for https://gitlab.com/gitlab-org/gitlab/-/merge_requests/142009
default: true # allow_failure:
type: boolean # default: true
description: 'If the job is allowed to fail or not.' # type: boolean
# description: 'If the job is allowed to fail or not.'
--- ---
...@@ -54,7 +55,8 @@ spec: ...@@ -54,7 +55,8 @@ spec:
- if: $CI_OPEN_MERGE_REQUESTS # Don't add it to a *branch* pipeline if it's already in a merge request pipeline. - if: $CI_OPEN_MERGE_REQUESTS # Don't add it to a *branch* pipeline if it's already in a merge request pipeline.
when: never when: never
- if: $CI_COMMIT_BRANCH # If there's no open merge request, add it to a *branch* pipeline instead. - if: $CI_COMMIT_BRANCH # If there's no open merge request, add it to a *branch* pipeline instead.
allow_failure: $[[ inputs.allow_failure ]] #allow_failure: $[[ inputs.allow_failure ]]
allow_failure: true
cache: cache:
key: "$[[ inputs.root_dir ]]" key: "$[[ inputs.root_dir ]]"
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment