Skip to content

Commit

Permalink
CI-FIX: differentiate ci-test-cluster names
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespollard8 and davewalter committed Nov 17, 2020
1 parent ff330cb commit f977947
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ci/pipelines/cf-for-k8s-iaas-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ jobs:
args:
- -ec
- |
echo "ci-test-cluster" > tf-vars/env-name.txt
env_suffix=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1)
echo "ci-test-eks-cluster-${env_suffix}" > tf-vars/env-name.txt
cat <<EOT > tf-vars/input.tfvars
access_key_id = "((ci_k8s_aws_access_key_id))"
secret_access_key = "((ci_k8s_aws_secret_access_key))"
Expand Down Expand Up @@ -379,7 +380,8 @@ jobs:
args:
- -ec
- |
echo "ci-test-cluster" > tf-vars/env-name.txt
env_suffix=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1)
echo "ci-test-aks-cluster-${env_suffix}" > tf-vars/env-name.txt
cat <<EOT > tf-vars/input.tfvars
service_principal_id = "((aks_cluster_creation_service_principal_username))"
service_principal_secret = "((aks_cluster_creation_service_principal_password))"
Expand Down Expand Up @@ -510,7 +512,7 @@ jobs:
- -ec
- |
env_suffix=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1)
echo "ci-test-cluster-${env_suffix}" > tf-vars/env-name.txt
echo "ci-test-minikube-cluster-${env_suffix}" > tf-vars/env-name.txt
cat <<EOT > tf-vars/input.tfvars
project = "((ci_k8s_gcp_project_name))"
region = "((ci_k8s_gcp_project_region))"
Expand Down Expand Up @@ -591,7 +593,7 @@ jobs:
- -ec
- |
env_suffix=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1)
echo "ci-test-cluster-${env_suffix}" > tf-vars/env-name.txt
echo "ci-test-minikube-dev-minimal-cluster-${env_suffix}" > tf-vars/env-name.txt
cat <<EOT > tf-vars/input.tfvars
project = "((ci_k8s_gcp_project_name))"
region = "((ci_k8s_gcp_project_region))"
Expand Down

0 comments on commit f977947

Please sign in to comment.