diff --git a/.gitlab/README.md.template b/.gitlab/README.md.template index cfccbef5377c8f9891bdd3d7fefcb5ccb74adc39..520248f81b5cdbfe8ab703deec2ff1331f0c642b 100644 --- a/.gitlab/README.md.template +++ b/.gitlab/README.md.template @@ -21,7 +21,7 @@ You find all releases on the [Releases Overview Page](https://gitlab.com/compone ```yaml include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/full-pipeline@<VERSION> + - component: $CI_SERVER_FQDN/components/opentofu/full-pipeline@<VERSION> inputs: # The version must currently be specified explicitly as an input, # to find the correctly associated images. # This can be removed @@ -35,7 +35,7 @@ stages: [validate, test, build, deploy, cleanup] # ... or without the destroy jobs: include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/validate-plan-apply@<VERSION> + - 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 @@ -51,7 +51,7 @@ A concrete example may look like this: ```yaml # Using version `0.10.0`: 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: # The version must currently be specified explicitly as an input, # to find the correctly associated images. # This can be removed @@ -66,7 +66,7 @@ stages: [validate, test, build, deploy, cleanup] # ... in case you absolutely know what you are doing and are # aware that this may introduce breaking changes, you may use the latest release: include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/full-pipeline@~latest + - component: $CI_SERVER_FQDN/components/opentofu/full-pipeline@~latest inputs: # The version must currently be specified explicitly as an input, # 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: ```yaml include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/job-templates@<VERSION> + - component: $CI_SERVER_FQDN/components/opentofu/job-templates@<VERSION> inputs: # The version must currently be specified explicitly as an input, # 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 ```yaml include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/fmt@<VERSION> + - component: $CI_SERVER_FQDN/components/opentofu/fmt@<VERSION> inputs: # The version must currently be specified explicitly as an input, # to find the correctly associated images. # This can be removed @@ -131,7 +131,7 @@ you want to extend the jobs: ```yaml include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/job-templates@<VERSION> + - component: $CI_SERVER_FQDN/components/opentofu/job-templates@<VERSION> inputs: # The version must currently be specified explicitly as an input, # to find the correctly associated images. # This can be removed @@ -187,7 +187,7 @@ the tools. For example to install `jq`: ```yaml include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/validate-plan@<VERSION> + - component: $CI_SERVER_FQDN/components/opentofu/validate-plan@<VERSION> inputs: version: <VERSION> opentofu_version: 1.6.1 @@ -234,10 +234,10 @@ and as the `version` input. Check out the [Usage](#Usage) section for examples. Each component release deploys the following images: -- `$CI_REGISTRY/$CI_PROJECT_PATH/gitlab-opentofu:<VERSION>-opentofu<OPENTOFU_VERSION>` -- `$CI_REGISTRY/$CI_PROJECT_PATH/gitlab-opentofu:<VERSION>-opentofu` +- `$CI_REGISTRY/components/opentofu/gitlab-opentofu:<VERSION>-opentofu<OPENTOFU_VERSION>` +- `$CI_REGISTRY/components/opentofu/gitlab-opentofu:<VERSION>-opentofu` - 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 In the above examples `<VERSION>` references the component version and `<OPENTOFU_VERSION>` diff --git a/.gitlab/release-notes.md.template b/.gitlab/release-notes.md.template index eeac4ad606c6b5890144395d05cbb1103d14d0c5..b61044fabdac5471d9f99bdb0aaed1d533890b1e 100644 --- a/.gitlab/release-notes.md.template +++ b/.gitlab/release-notes.md.template @@ -8,7 +8,7 @@ You can use the OpenTofu CI/CD component from the CI/CD catalog using: ```yaml include: - - component: $CI_COMMIT_TAG/$CI_PROJECT_PATH/full-pipeline@$CI_COMMIT_TAG + - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/full-pipeline@$CI_COMMIT_TAG inputs: # The version must currently be specified explicitly as an input, # to find the correctly associated images. # This can be removed diff --git a/README.md b/README.md index a05f96b0b3f0c06709c2460a022bcf5719b4cbbd..fb79a6165ef33ce7b3d9738bcf0d216834ee9632 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ You find all releases on the [Releases Overview Page](https://gitlab.com/compone ```yaml include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/full-pipeline@<VERSION> + - component: $CI_SERVER_FQDN/components/opentofu/full-pipeline@<VERSION> inputs: # The version must currently be specified explicitly as an input, # to find the correctly associated images. # This can be removed @@ -37,7 +37,7 @@ stages: [validate, test, build, deploy, cleanup] # ... or without the destroy jobs: include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/validate-plan-apply@<VERSION> + - 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 @@ -53,7 +53,7 @@ A concrete example may look like this: ```yaml # Using version `0.10.0`: 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: # The version must currently be specified explicitly as an input, # to find the correctly associated images. # This can be removed @@ -68,7 +68,7 @@ stages: [validate, test, build, deploy, cleanup] # ... in case you absolutely know what you are doing and are # aware that this may introduce breaking changes, you may use the latest release: include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/full-pipeline@~latest + - component: $CI_SERVER_FQDN/components/opentofu/full-pipeline@~latest inputs: # The version must currently be specified explicitly as an input, # 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: ```yaml include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/job-templates@<VERSION> + - component: $CI_SERVER_FQDN/components/opentofu/job-templates@<VERSION> inputs: # The version must currently be specified explicitly as an input, # 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 ```yaml include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/fmt@<VERSION> + - component: $CI_SERVER_FQDN/components/opentofu/fmt@<VERSION> inputs: # The version must currently be specified explicitly as an input, # to find the correctly associated images. # This can be removed @@ -133,7 +133,7 @@ you want to extend the jobs: ```yaml include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/job-templates@<VERSION> + - component: $CI_SERVER_FQDN/components/opentofu/job-templates@<VERSION> inputs: # The version must currently be specified explicitly as an input, # to find the correctly associated images. # This can be removed @@ -212,7 +212,7 @@ the tools. For example to install `jq`: ```yaml include: - - component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/validate-plan@<VERSION> + - component: $CI_SERVER_FQDN/components/opentofu/validate-plan@<VERSION> inputs: version: <VERSION> opentofu_version: 1.6.1 @@ -259,10 +259,10 @@ and as the `version` input. Check out the [Usage](#Usage) section for examples. Each component release deploys the following images: -- `$CI_REGISTRY/$CI_PROJECT_PATH/gitlab-opentofu:<VERSION>-opentofu<OPENTOFU_VERSION>` -- `$CI_REGISTRY/$CI_PROJECT_PATH/gitlab-opentofu:<VERSION>-opentofu` +- `$CI_REGISTRY/components/opentofu/gitlab-opentofu:<VERSION>-opentofu<OPENTOFU_VERSION>` +- `$CI_REGISTRY/components/opentofu/gitlab-opentofu:<VERSION>-opentofu` - 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 In the above examples `<VERSION>` references the component version and `<OPENTOFU_VERSION>`