Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
DevOps
Project Templates
Commits
8de6c850
Commit
8de6c850
authored
Oct 19, 2021
by
Georgi Petkov
Browse files
chore: trying to replace the old terraform providers in staging.yml
parent
b28bf6b4
Pipeline
#32690
passed with stages
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gitlab-ci/staging.yml
View file @
8de6c850
...
...
@@ -55,7 +55,12 @@ staging:
EOF
-
kubectl create namespace ${NAMESPACE_SLUG} --dry-run -o yaml | kubectl
apply -f -
-
terraform providers
-
terraform state replace-provider "registry.terraform.io/-/kubernetes" "registry.terraform.io/hashicorp/kubernetes"
-
terraform state replace-provider "registry.terraform.io/-/null" "registry.terraform.io/hashicorp/null"
-
terraform state replace-provider "registry.terraform.io/-/template" "registry.terraform.io/hashicorp/template"
-
terraform -v
-
terraform providers
-
terraform init
-
terraform workspace new ${CI_PROJECT_NAME} ||
true
-
terraform workspace select ${CI_PROJECT_NAME}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment