Skip to content
Snippets Groups Projects
Unverified Commit 7479ca42 authored by Timo Furrer's avatar Timo Furrer
Browse files

Fix backports

parent a990ad18
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,6 @@ backports: ...@@ -46,6 +46,6 @@ backports:
@sed -i $(BACKPORTS_BASE_FILE) -e '/TF_ROOT: $$TF_ROOT/d' @sed -i $(BACKPORTS_BASE_FILE) -e '/TF_ROOT: $$TF_ROOT/d'
@# Remove empty variable blocks - yq doesn't preserve white spaces, thus the patching ... @# Remove empty variable blocks - yq doesn't preserve white spaces, thus the patching ...
@yq e 'del(.*.variables | select(length==0))' backports/OpenTofu/Base.gitlab-ci.yml | diff -Bw backports/OpenTofu/Base.gitlab-ci.yml - | patch backports/OpenTofu/Base.gitlab-ci.yml - @yq e 'del(.*.variables | select(length==0))' $(BACKPORTS_BASE_FILE) | diff -Bw $(BACKPORTS_BASE_FILE) - | patch $(BACKPORTS_BASE_FILE) -
@echo "Generated $(BACKPORTS_BASE_FILE)" @echo "Generated $(BACKPORTS_BASE_FILE)"
...@@ -65,7 +65,6 @@ variables: ...@@ -65,7 +65,6 @@ variables:
key: "$TF_ROOT" key: "$TF_ROOT"
paths: paths:
- $TF_ROOT/.terraform/ - $TF_ROOT/.terraform/
variables:
image: image:
name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION' name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION'
script: script:
...@@ -82,7 +81,6 @@ variables: ...@@ -82,7 +81,6 @@ variables:
key: "$TF_ROOT" key: "$TF_ROOT"
paths: paths:
- $TF_ROOT/.terraform/ - $TF_ROOT/.terraform/
variables:
image: image:
name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION' name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION'
script: script:
...@@ -115,7 +113,6 @@ variables: ...@@ -115,7 +113,6 @@ variables:
key: "$TF_ROOT" key: "$TF_ROOT"
paths: paths:
- $TF_ROOT/.terraform/ - $TF_ROOT/.terraform/
variables:
image: image:
name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION' name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION'
script: script:
...@@ -136,7 +133,6 @@ variables: ...@@ -136,7 +133,6 @@ variables:
key: "$TF_ROOT" key: "$TF_ROOT"
paths: paths:
- $TF_ROOT/.terraform/ - $TF_ROOT/.terraform/
variables:
image: image:
name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION' name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION'
script: script:
...@@ -155,7 +151,6 @@ variables: ...@@ -155,7 +151,6 @@ variables:
key: "$TF_ROOT" key: "$TF_ROOT"
paths: paths:
- $TF_ROOT/.terraform/ - $TF_ROOT/.terraform/
variables:
image: image:
name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION' name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION'
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment