Skip to content
Snippets Groups Projects
Commit 3c8fbed3 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Add git submodule flag

parent 4b3f96c5
No related branches found
No related tags found
2 merge requests!6Add CD feature to the repo,!1wip: test-keypair without file
Pipeline #7978 failed with stages
in 2 minutes and 49 seconds
...@@ -10,6 +10,8 @@ variables: ...@@ -10,6 +10,8 @@ variables:
TF_ROOT: ${CI_PROJECT_DIR}/ TF_ROOT: ${CI_PROJECT_DIR}/
TF_VAR_internal_network: "tf-clusternet" TF_VAR_internal_network: "tf-clusternet"
TF_VAR_external_network: "tf-dmznet" TF_VAR_external_network: "tf-dmznet"
GIT_SUBMODULE_STRATEGY: "recursive"
GIT_SUBMODULE_UPDATE_FLAGS: "--force"
cache: cache:
paths: paths:
......
...@@ -144,12 +144,6 @@ resource "null_resource" "ops" { ...@@ -144,12 +144,6 @@ resource "null_resource" "ops" {
} }
# moves CRI_XCBC file into directory made above # moves CRI_XCBC file into directory made above
provisioner "local-exec" {
command = "mkdir /CRI_XCBC && git submodule update --init --force"
}
provisioner "file" { provisioner "file" {
source = "CRI_XCBC/*" source = "CRI_XCBC/*"
destination = "/" destination = "/"
......
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