Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenTofu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
components
OpenTofu
Commits
cbabdf3a
Commit
cbabdf3a
authored
11 months ago
by
mptr
Committed by
Timo Furrer
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
ci: improve version check
parent
21ea48a1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab/scripts/update-opentofu-versions.sh
+4
-1
4 additions, 1 deletion
.gitlab/scripts/update-opentofu-versions.sh
templates/graph.yml
+1
-1
1 addition, 1 deletion
templates/graph.yml
with
5 additions
and
2 deletions
.gitlab/scripts/update-opentofu-versions.sh
+
4
−
1
View file @
cbabdf3a
...
@@ -7,8 +7,11 @@ project_dir="$script_dir/../.."
...
@@ -7,8 +7,11 @@ project_dir="$script_dir/../.."
echo
"Updating template files ..."
echo
"Updating template files ..."
templates
=
"templates/apply.yml templates/custom-command.yml templates/destroy.yml templates/fmt.yml templates/full-pipeline.yml templates/job-templates.yml templates/plan.yml templates/test.yml templates/validate-plan-apply.yml templates/validate-plan-destroy.yml templates/validate-plan.yml templates/validate.yml"
templates
=
"templates/*.yml"
templates_exclude
=
"templates/delete-state.yml templates/module-release.yml"
for
relative_template_file
in
$templates
;
do
for
relative_template_file
in
$templates
;
do
if
echo
"
$templates_exclude
"
|
grep
-q
"
$relative_template_file
"
;
then continue
;
fi
template_file
=
"
$project_dir
/
$relative_template_file
"
template_file
=
"
$project_dir
/
$relative_template_file
"
tmp_template_file1
=
$(
mktemp
)
tmp_template_file1
=
$(
mktemp
)
tmp_template_file2
=
$(
mktemp
)
tmp_template_file2
=
$(
mktemp
)
...
...
This diff is collapsed.
Click to expand it.
templates/graph.yml
+
1
−
1
View file @
cbabdf3a
...
@@ -18,13 +18,13 @@ spec:
...
@@ -18,13 +18,13 @@ spec:
opentofu_version
:
opentofu_version
:
default
:
'
1.7.1'
default
:
'
1.7.1'
options
:
options
:
-
'
$OPENTOFU_VERSION'
-
'
1.7.1'
-
'
1.7.1'
-
'
1.7.0'
-
'
1.7.0'
-
'
1.7.0-alpha1'
-
'
1.7.0-alpha1'
-
'
1.6.2'
-
'
1.6.2'
-
'
1.6.1'
-
'
1.6.1'
-
'
1.6.0'
-
'
1.6.0'
-
'
$OPENTOFU_VERSION'
description
:
'
OpenTofu
version
that
should
be
used.'
description
:
'
OpenTofu
version
that
should
be
used.'
# Images
# Images
...
...
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