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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
0259d750
Unverified
Commit
0259d750
authored
1 year ago
by
Timo Furrer
Browse files
Options
Downloads
Patches
Plain Diff
hack options
parent
29ceac53
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
Makefile
+1
-1
1 addition, 1 deletion
Makefile
README.md
+1
-1
1 addition, 1 deletion
README.md
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
1
−
1
View file @
0259d750
...
@@ -141,7 +141,7 @@ create-release:
...
@@ -141,7 +141,7 @@ create-release:
-
apk add --update yq envsubst
-
apk add --update yq envsubst
script
:
script
:
-
echo "Creating release $CI_COMMIT_TAG"
-
echo "Creating release $CI_COMMIT_TAG"
-
AVAILABLE_OPENTOFU_VERSIONS=$(yq -r '.spec.inputs.opentofu_version.options | .[] | "- [`" + . + "`](https://github.com/opentofu/opentofu/releases/tag/v" + . + ")"' templates/full-pipeline.yml)
-
AVAILABLE_OPENTOFU_VERSIONS=$(yq -r '.spec.inputs.opentofu_version.options |
filter((. | test("\$.*")) ==
false
) |
.[] | "- [`" + . + "`](https://github.com/opentofu/opentofu/releases/tag/v" + . + ")"' templates/full-pipeline.yml)
-
export AVAILABLE_OPENTOFU_VERSIONS
-
export AVAILABLE_OPENTOFU_VERSIONS
-
cat .gitlab/release-template.md | envsubst > release-notes.md
-
cat .gitlab/release-template.md | envsubst > release-notes.md
release
:
release
:
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
1
−
1
View file @
0259d750
...
@@ -3,7 +3,7 @@ docs:
...
@@ -3,7 +3,7 @@ docs:
echo
'<!-- This document is generated by `make docs` from `.gitlab/README.md` -->'
>
README.md
echo
'<!-- This document is generated by `make docs` from `.gitlab/README.md` -->'
>
README.md
echo
>>
README.md
echo
>>
README.md
cat
readme0
>>
README.md
cat
readme0
>>
README.md
yq
'.spec.inputs | .[] | "| `" + key + "` | `" + .default + "` | " + .description + (.options | (" Must be one of " + (. | map("`" + . + "`") | join(", ") + "." )) // "") + " |"'
templates/full-pipeline.yml
>>
README.md
yq
'.spec.inputs | .[] | "| `" + key + "` | `" + .default + "` | " + .description + (.options | (" Must be one of " + (. |
filter((. | test("\$$.*")) == false) |
map("`" + . + "`") | join(", ") + "." )) // "") + " |"'
templates/full-pipeline.yml
>>
README.md
echo
>>
README.md
echo
>>
README.md
echo
'### Available OpenTofu Versions'
>>
README.md
echo
'### Available OpenTofu Versions'
>>
README.md
echo
>>
README.md
echo
>>
README.md
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
0259d750
...
@@ -76,7 +76,7 @@ stages: [validate, test, build, deploy, cleanup]
...
@@ -76,7 +76,7 @@ stages: [validate, test, build, deploy, cleanup]
|
`stage_deploy`
|
`deploy`
| Defines the deploy stage. This stage includes the
`apply`
job. |
|
`stage_deploy`
|
`deploy`
| Defines the deploy stage. This stage includes the
`apply`
job. |
|
`stage_cleanup`
|
`cleanup`
| Defines the cleanup stage. This stage includes the
`destroy`
and
`delete-state`
jobs. |
|
`stage_cleanup`
|
`cleanup`
| Defines the cleanup stage. This stage includes the
`destroy`
and
`delete-state`
jobs. |
|
`version`
|
`latest`
| Version of this component. Has to be the same as the one in the component include entry. |
|
`version`
|
`latest`
| Version of this component. Has to be the same as the one in the component include entry. |
|
`opentofu_version`
|
`1.6.0`
| OpenTofu version that should be used. Must be one of
`$OPENTOFU_VERSION`
,
`1.6.0`
,
`1.6.0-rc1`
. |
|
`opentofu_version`
|
`1.6.0`
| OpenTofu version that should be used. Must be one of
`1.6.0`
,
`1.6.0-rc1`
. |
|
`root_dir`
|
`${CI_PROJECT_DIR}`
| Root directory for the OpenTofu project. |
|
`root_dir`
|
`${CI_PROJECT_DIR}`
| Root directory for the OpenTofu project. |
|
`state_name`
|
`default`
| Remote OpenTofu state name. |
|
`state_name`
|
`default`
| Remote OpenTofu state name. |
|
`auto_apply`
|
`false`
| Whether the apply job is manual or automatically run. |
|
`auto_apply`
|
`false`
| Whether the apply job is manual or automatically run. |
...
...
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