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

Merge branch 'fix-version-update' into 'main'

ci: improve version check

See merge request components/opentofu!98
parents 21ea48a1 cbabdf3a
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,11 @@ project_dir="$script_dir/../.."
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
if echo "$templates_exclude" | grep -q "$relative_template_file"; then continue; fi
template_file="$project_dir/$relative_template_file"
tmp_template_file1=$(mktemp)
tmp_template_file2=$(mktemp)
......
......@@ -18,13 +18,13 @@ spec:
opentofu_version:
default: '1.7.1'
options:
- '$OPENTOFU_VERSION'
- '1.7.1'
- '1.7.0'
- '1.7.0-alpha1'
- '1.6.2'
- '1.6.1'
- '1.6.0'
- '$OPENTOFU_VERSION'
description: 'OpenTofu version that should be used.'
# Images
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment