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
4827eb3c
Unverified
Commit
4827eb3c
authored
7 months ago
by
Timo Furrer
Browse files
Options
Downloads
Patches
Plain Diff
Document renovate usage for version input
Changelog: added
parent
aadc8ab2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab/README.md.template
+22
-5
22 additions, 5 deletions
.gitlab/README.md.template
.gitlab/release-notes.md.template
+1
-1
1 addition, 1 deletion
.gitlab/release-notes.md.template
README.md
+22
-5
22 additions, 5 deletions
README.md
with
45 additions
and
11 deletions
.gitlab/README.md.template
+
22
−
5
View file @
4827eb3c
...
...
@@ -26,7 +26,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version: <VERSION>
version: <VERSION>
# component version
opentofu_version: <OPENTOFU_VERSION>
stages: [validate, test, build, deploy, cleanup]
...
...
@@ -40,7 +40,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version: <VERSION>
version: <VERSION>
# component version
opentofu_version: <OPENTOFU_VERSION>
stages: [validate, build, deploy]
...
...
@@ -56,7 +56,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version: 0.10.0
version: 0.10.0
# component version
opentofu_version: 1.6.1
stages: [validate, test, build, deploy, cleanup]
...
...
@@ -71,7 +71,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version: latest
version: latest
# component version
opentofu_version: 1.6.1
stages: [validate, test, build, deploy, cleanup]
...
...
@@ -86,7 +86,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version: <VERSION>
version: <VERSION>
# component version
opentofu_version: <OPENTOFU_VERSION>
stages: [...]
...
...
@@ -365,6 +365,23 @@ so that the OpenTofu version is raised to a maximum of the version suitable for
...
}
```
The above renovate config allows to update the `version` input together with the component include
version if the `version` input has a `# component version` comment suffix, like so:
```yaml
include:
- component: $CI_SERVER_FQDN/components/opentofu/validate-plan-apply@<VERSION>
inputs:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version: <VERSION> # component version
opentofu_version: <OPENTOFU_VERSION>
stages: [validate, test, build, deploy, cleanup]
```
(You may need to adjust the path to the `components/opentofu` to match your mirror.)
Fore more details refer to the [Renovate documentation](https://docs.renovatebot.com/config-presets/).
...
...
This diff is collapsed.
Click to expand it.
.gitlab/release-notes.md.template
+
1
−
1
View file @
4827eb3c
...
...
@@ -17,7 +17,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version: $CI_COMMIT_TAG
version: $CI_COMMIT_TAG
# component version
opentofu_version: $LATEST_OPENTOFU_VERSION
stages: [validate, test, build, deploy, cleanup]
...
...
This diff is collapsed.
Click to expand it.
README.md
+
22
−
5
View file @
4827eb3c
...
...
@@ -28,7 +28,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version
:
<VERSION>
version
:
<VERSION>
# component version
opentofu_version
:
<OPENTOFU_VERSION>
stages
:
[
validate
,
test
,
build
,
deploy
,
cleanup
]
...
...
@@ -42,7 +42,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version
:
<VERSION>
version
:
<VERSION>
# component version
opentofu_version
:
<OPENTOFU_VERSION>
stages
:
[
validate
,
build
,
deploy
]
...
...
@@ -58,7 +58,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version
:
0.10.0
version
:
0.10.0
# component version
opentofu_version
:
1.6.1
stages
:
[
validate
,
test
,
build
,
deploy
,
cleanup
]
...
...
@@ -73,7 +73,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version
:
latest
version
:
latest
# component version
opentofu_version
:
1.6.1
stages
:
[
validate
,
test
,
build
,
deploy
,
cleanup
]
...
...
@@ -88,7 +88,7 @@ include:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version
:
<VERSION>
version
:
<VERSION>
# component version
opentofu_version
:
<OPENTOFU_VERSION>
stages
:
[
...
]
...
...
@@ -384,6 +384,23 @@ so that the OpenTofu version is raised to a maximum of the version suitable for
...
}
```
The above renovate config allows to update the
`version`
input together with the component include
version if the
`version`
input has a
`# component version`
comment suffix, like so:
```
yaml
include
:
-
component
:
$CI_SERVER_FQDN/components/opentofu/validate-plan-apply@<VERSION>
inputs
:
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# once https://gitlab.com/gitlab-org/gitlab/-/issues/438275 is solved.
version
:
<VERSION>
# component version
opentofu_version
:
<OPENTOFU_VERSION>
stages
:
[
validate
,
test
,
build
,
deploy
,
cleanup
]
```
(You may need to adjust the path to the
`components/opentofu`
to match your mirror.)
Fore more details refer to the
[
Renovate documentation
](
https://docs.renovatebot.com/config-presets/
)
.
...
...
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