File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 99 zone :
1010 description : The GKE zone
1111 default : us-east1-b
12-
1312 kubernetesVersion :
1413 description : The GKE kubernetes version
1514 default : 1.23
3029 GOOGLE_CREDENTIALS : ${{ secrets.GOOGLE_CREDENTIALS }}
3130 GOOGLE_PROJECT : ${{ secrets.GOOGLE_PROJECT }}
3231 GOOGLE_REGION : ${{ github.event.inputs.region }}
33-
3432 GOOGLE_ZONE : ${{github.event.inputs.zone}}
3533
3634jobs :
5553 with :
5654 credentials_json : ${{ secrets.GOOGLE_CREDENTIALS }}
5755 access_token_lifetime : ' 10800s'
58-
5956 - name : Install Terraform
6057 uses : hashicorp/setup-terraform@v1
6158 with :
@@ -74,17 +71,17 @@ jobs:
7471 env
7572 terraform init
7673 terraform apply -auto-approve
77- export GOOGLE_CLUSTER_NAME=`terraform output -raw cluster_name`
74+ echo "GOOGLE_CLUSTER_NAME=`terraform output -raw cluster_name`" >> $GITHUB_ENV
75+
7876 - name : Get GKE Credentials
7977 env :
8078 KUBECONFIG : ${{ github.workspace }}/kubernetes/test-infra/gke/kubeconfig
8179 uses : ' google-github-actions/get-gke-credentials@v0'
8280 with :
83- cluster_name : $GOOGLE_CLUSTER_NAME
81+ cluster_name : ${{ env. GOOGLE_CLUSTER_NAME }}
8482 location : ${{github.event.inputs.zone}}
8583 project_id : ${{ secrets.GOOGLE_PROJECT }}
8684 use_auth_provider : true
87-
8885 - name : Run Acceptance Test Suite
8986 env :
9087 TF_ACC_TERRAFORM_VERSION : ${{ github.event.inputs.terraformVersion }}
You can’t perform that action at this time.
0 commit comments