Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Opentofu
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DBS
gitlab-component
Opentofu
Commits
3461745a
Unverified
Commit
3461745a
authored
1 year ago
by
Timo Furrer
Browse files
Options
Downloads
Patches
Plain Diff
Temporarily disable allow_failure input
parent
12bd5ff2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
backports/OpenTofu/Base.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
backports/OpenTofu/Base.gitlab-ci.yml
templates/fmt.yml
+7
-5
7 additions, 5 deletions
templates/fmt.yml
with
8 additions
and
5 deletions
backports/OpenTofu/Base.gitlab-ci.yml
+
1
−
0
View file @
3461745a
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
templates/fmt.yml
+
7
−
5
View file @
3461745a
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment