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
867d81dc
Unverified
Commit
867d81dc
authored
1 year ago
by
Timo Furrer
Browse files
Options
Downloads
Patches
Plain Diff
Do not use CI_PROJECT_PATH variable in README
parent
4a2bf8b6
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/README.md.template
+11
-11
11 additions, 11 deletions
.gitlab/README.md.template
README.md
+11
-11
11 additions, 11 deletions
README.md
with
22 additions
and
22 deletions
.gitlab/README.md.template
+
11
−
11
View file @
867d81dc
...
@@ -21,7 +21,7 @@ You find all releases on the [Releases Overview Page](https://gitlab.com/compone
...
@@ -21,7 +21,7 @@ You find all releases on the [Releases Overview Page](https://gitlab.com/compone
```yaml
```yaml
include:
include:
- component: $CI_SERVER_FQDN/
$CI_PROJECT_PATH
/full-pipeline@<VERSION>
- component: $CI_SERVER_FQDN/
components/opentofu
/full-pipeline@<VERSION>
inputs:
inputs:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -35,7 +35,7 @@ stages: [validate, test, build, deploy, cleanup]
...
@@ -35,7 +35,7 @@ stages: [validate, test, build, deploy, cleanup]
# ... or without the destroy jobs:
# ... or without the destroy jobs:
include:
include:
- component: $CI_SERVER_FQDN/
$CI_PROJECT_PATH
/validate-plan-apply@<VERSION>
- component: $CI_SERVER_FQDN/
components/opentofu
/validate-plan-apply@<VERSION>
inputs:
inputs:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -51,7 +51,7 @@ A concrete example may look like this:
...
@@ -51,7 +51,7 @@ A concrete example may look like this:
```yaml
```yaml
# Using version `0.10.0`:
# Using version `0.10.0`:
include:
include:
- component: $CI_SERVER_FQDN/
$CI_PROJECT_PATH
/full-pipeline@0.10.0
- component: $CI_SERVER_FQDN/
components/opentofu
/full-pipeline@0.10.0
inputs:
inputs:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -66,7 +66,7 @@ stages: [validate, test, build, deploy, cleanup]
...
@@ -66,7 +66,7 @@ stages: [validate, test, build, deploy, cleanup]
# ... in case you absolutely know what you are doing and are
# ... in case you absolutely know what you are doing and are
# aware that this may introduce breaking changes, you may use the latest release:
# aware that this may introduce breaking changes, you may use the latest release:
include:
include:
- component: $CI_SERVER_FQDN/
$CI_PROJECT_PATH
/full-pipeline@~latest
- component: $CI_SERVER_FQDN/
components/opentofu
/full-pipeline@~latest
inputs:
inputs:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -81,7 +81,7 @@ Or import all jobs as hidden templates ready to be extended:
...
@@ -81,7 +81,7 @@ Or import all jobs as hidden templates ready to be extended:
```yaml
```yaml
include:
include:
- component: $CI_SERVER_FQDN/
$CI_PROJECT_PATH
/job-templates@<VERSION>
- component: $CI_SERVER_FQDN/
components/opentofu
/job-templates@<VERSION>
inputs:
inputs:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -114,7 +114,7 @@ and compose your own pipeline, for example, to just run the `fmt` job you can do
...
@@ -114,7 +114,7 @@ and compose your own pipeline, for example, to just run the `fmt` job you can do
```yaml
```yaml
include:
include:
- component: $CI_SERVER_FQDN/
$CI_PROJECT_PATH
/fmt@<VERSION>
- component: $CI_SERVER_FQDN/
components/opentofu
/fmt@<VERSION>
inputs:
inputs:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -131,7 +131,7 @@ you want to extend the jobs:
...
@@ -131,7 +131,7 @@ you want to extend the jobs:
```yaml
```yaml
include:
include:
- component: $CI_SERVER_FQDN/
$CI_PROJECT_PATH
/job-templates@<VERSION>
- component: $CI_SERVER_FQDN/
components/opentofu
/job-templates@<VERSION>
inputs:
inputs:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -187,7 +187,7 @@ the tools. For example to install `jq`:
...
@@ -187,7 +187,7 @@ the tools. For example to install `jq`:
```yaml
```yaml
include:
include:
- component: $CI_SERVER_FQDN/
$CI_PROJECT_PATH
/validate-plan@<VERSION>
- component: $CI_SERVER_FQDN/
components/opentofu
/validate-plan@<VERSION>
inputs:
inputs:
version: <VERSION>
version: <VERSION>
opentofu_version: 1.6.1
opentofu_version: 1.6.1
...
@@ -234,10 +234,10 @@ and as the `version` input. Check out the [Usage](#Usage) section for examples.
...
@@ -234,10 +234,10 @@ and as the `version` input. Check out the [Usage](#Usage) section for examples.
Each component release deploys the following images:
Each component release deploys the following images:
- `$CI_REGISTRY/
$CI_PROJECT_PATH
/gitlab-opentofu:<VERSION>-opentofu<OPENTOFU_VERSION>`
- `$CI_REGISTRY/
components/opentofu
/gitlab-opentofu:<VERSION>-opentofu<OPENTOFU_VERSION>`
- `$CI_REGISTRY/
$CI_PROJECT_PATH
/gitlab-opentofu:<VERSION>-opentofu`
- `$CI_REGISTRY/
components/opentofu
/gitlab-opentofu:<VERSION>-opentofu`
- Includes the latest stable OpenTofu version at the time of releasing the component
- Includes the latest stable OpenTofu version at the time of releasing the component
- `$CI_REGISTRY/
$CI_PROJECT_PATH
/gitlab-opentofu:<VERSION>`
- `$CI_REGISTRY/
components/opentofu
/gitlab-opentofu:<VERSION>`
- Includes the latest stable OpenTofu version at the time of releasing the component
- Includes the latest stable OpenTofu version at the time of releasing the component
In the above examples `<VERSION>` references the component version and `<OPENTOFU_VERSION>`
In the above examples `<VERSION>` references the component version and `<OPENTOFU_VERSION>`
...
...
This diff is collapsed.
Click to expand it.
README.md
+
11
−
11
View file @
867d81dc
...
@@ -23,7 +23,7 @@ You find all releases on the [Releases Overview Page](https://gitlab.com/compone
...
@@ -23,7 +23,7 @@ You find all releases on the [Releases Overview Page](https://gitlab.com/compone
```
yaml
```
yaml
include
:
include
:
-
component
:
$CI_SERVER_FQDN/
$CI_PROJECT_PATH
/full-pipeline@<VERSION>
-
component
:
$CI_SERVER_FQDN/
components/opentofu
/full-pipeline@<VERSION>
inputs
:
inputs
:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -37,7 +37,7 @@ stages: [validate, test, build, deploy, cleanup]
...
@@ -37,7 +37,7 @@ stages: [validate, test, build, deploy, cleanup]
# ... or without the destroy jobs:
# ... or without the destroy jobs:
include
:
include
:
-
component
:
$CI_SERVER_FQDN/
$CI_PROJECT_PATH
/validate-plan-apply@<VERSION>
-
component
:
$CI_SERVER_FQDN/
components/opentofu
/validate-plan-apply@<VERSION>
inputs
:
inputs
:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -53,7 +53,7 @@ A concrete example may look like this:
...
@@ -53,7 +53,7 @@ A concrete example may look like this:
```
yaml
```
yaml
# Using version `0.10.0`:
# Using version `0.10.0`:
include
:
include
:
-
component
:
$CI_SERVER_FQDN/
$CI_PROJECT_PATH
/full-pipeline@0.10.0
-
component
:
$CI_SERVER_FQDN/
components/opentofu
/full-pipeline@0.10.0
inputs
:
inputs
:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -68,7 +68,7 @@ stages: [validate, test, build, deploy, cleanup]
...
@@ -68,7 +68,7 @@ stages: [validate, test, build, deploy, cleanup]
# ... in case you absolutely know what you are doing and are
# ... in case you absolutely know what you are doing and are
# aware that this may introduce breaking changes, you may use the latest release:
# aware that this may introduce breaking changes, you may use the latest release:
include
:
include
:
-
component
:
$CI_SERVER_FQDN/
$CI_PROJECT_PATH
/full-pipeline@~latest
-
component
:
$CI_SERVER_FQDN/
components/opentofu
/full-pipeline@~latest
inputs
:
inputs
:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -83,7 +83,7 @@ Or import all jobs as hidden templates ready to be extended:
...
@@ -83,7 +83,7 @@ Or import all jobs as hidden templates ready to be extended:
```
yaml
```
yaml
include
:
include
:
-
component
:
$CI_SERVER_FQDN/
$CI_PROJECT_PATH
/job-templates@<VERSION>
-
component
:
$CI_SERVER_FQDN/
components/opentofu
/job-templates@<VERSION>
inputs
:
inputs
:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -116,7 +116,7 @@ and compose your own pipeline, for example, to just run the `fmt` job you can do
...
@@ -116,7 +116,7 @@ and compose your own pipeline, for example, to just run the `fmt` job you can do
```
yaml
```
yaml
include
:
include
:
-
component
:
$CI_SERVER_FQDN/
$CI_PROJECT_PATH
/fmt@<VERSION>
-
component
:
$CI_SERVER_FQDN/
components/opentofu
/fmt@<VERSION>
inputs
:
inputs
:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -133,7 +133,7 @@ you want to extend the jobs:
...
@@ -133,7 +133,7 @@ you want to extend the jobs:
```
yaml
```
yaml
include
:
include
:
-
component
:
$CI_SERVER_FQDN/
$CI_PROJECT_PATH
/job-templates@<VERSION>
-
component
:
$CI_SERVER_FQDN/
components/opentofu
/job-templates@<VERSION>
inputs
:
inputs
:
# The version must currently be specified explicitly as an input,
# The version must currently be specified explicitly as an input,
# to find the correctly associated images. # This can be removed
# to find the correctly associated images. # This can be removed
...
@@ -212,7 +212,7 @@ the tools. For example to install `jq`:
...
@@ -212,7 +212,7 @@ the tools. For example to install `jq`:
```
yaml
```
yaml
include
:
include
:
-
component
:
$CI_SERVER_FQDN/
$CI_PROJECT_PATH
/validate-plan@<VERSION>
-
component
:
$CI_SERVER_FQDN/
components/opentofu
/validate-plan@<VERSION>
inputs
:
inputs
:
version
:
<VERSION>
version
:
<VERSION>
opentofu_version
:
1.6.1
opentofu_version
:
1.6.1
...
@@ -259,10 +259,10 @@ and as the `version` input. Check out the [Usage](#Usage) section for examples.
...
@@ -259,10 +259,10 @@ and as the `version` input. Check out the [Usage](#Usage) section for examples.
Each component release deploys the following images:
Each component release deploys the following images:
-
`$CI_REGISTRY/
$CI_PROJECT_PATH
/gitlab-opentofu:<VERSION>-opentofu<OPENTOFU_VERSION>`
-
`$CI_REGISTRY/
components/opentofu
/gitlab-opentofu:<VERSION>-opentofu<OPENTOFU_VERSION>`
-
`$CI_REGISTRY/
$CI_PROJECT_PATH
/gitlab-opentofu:<VERSION>-opentofu`
-
`$CI_REGISTRY/
components/opentofu
/gitlab-opentofu:<VERSION>-opentofu`
-
Includes the latest stable OpenTofu version at the time of releasing the component
-
Includes the latest stable OpenTofu version at the time of releasing the component
-
`$CI_REGISTRY/
$CI_PROJECT_PATH
/gitlab-opentofu:<VERSION>`
-
`$CI_REGISTRY/
components/opentofu
/gitlab-opentofu:<VERSION>`
-
Includes the latest stable OpenTofu version at the time of releasing the component
-
Includes the latest stable OpenTofu version at the time of releasing the component
In the above examples
`<VERSION>`
references the component version and
`<OPENTOFU_VERSION>`
In the above examples
`<VERSION>`
references the component version and
`<OPENTOFU_VERSION>`
...
...
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