Skip to content
Snippets Groups Projects
Commit c0331881 authored by Andrew Newdigate's avatar Andrew Newdigate
Browse files

Merge branch 'rocketgirl/tf-module-job' into 'main'

fix: remove quotes from regex as per documentation

See merge request gitlab-com/gl-infra/common-ci-tasks!860
parents d1125a78 2833935d
No related branches found
No related tags found
No related merge requests found
Pipeline #24480203 failed
Loading
Loading
@@ -12,7 +12,6 @@ spec:
module_name:
description: "The name of the module"
default: "${CI_PROJECT_NAME}"
regex: "^[a-z]([a-z0-9-]){1,63}$"
module_system:
description: |
The name of a remote system that the module is primarily written to target.
Loading
Loading
@@ -24,8 +23,6 @@ spec:
like aws or azurerm in the above examples,
but that is not required
and so you can use whichever system keywords make sense for the organization of your particular registry.
regex: "^[a-z]([a-z0-9-]){1,63}$"
---
 
publish-terraform-module:
Loading
Loading
@@ -33,8 +30,8 @@ publish-terraform-module:
stage: release
variables:
TERRAFORM_MODULE_DIR: $[[ inputs.module_dir | expand_vars ]]
TERRAFORM_MODULE_NAME: $[[ module_name | expand_vars ]]
TERRAFORM_MODULE_SYSTEM: $[[ module_system | expand_vars ]]
TERRAFORM_MODULE_NAME: $[[ inputs.module_name | expand_vars ]]
TERRAFORM_MODULE_SYSTEM: $[[ inputs.module_system | expand_vars ]]
TERRAFORM_MODULE_VERSION: "${CI_COMMIT_TAG}"
script:
- |
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment