|
14 | 14 | env:
|
15 | 15 | PROJECT_ID: iris-community-demos
|
16 | 16 | SERVICE_ACCOUNT_KEY: ${{ secrets.SERVICE_ACCOUNT_KEY }}
|
17 |
| - GOOGLE_CREDENTIALS: ${{ secrets.TF_SERVICE_ACCOUNT_KEY }} |
18 | 17 | GITHUB_SHA: ${{ github.sha }}
|
19 | 18 | GCR_LOCATION: eu.gcr.io
|
20 | 19 | IMAGE_NAME: dc-analytics-image
|
@@ -55,49 +54,10 @@ jobs:
|
55 | 54 | run: |
|
56 | 55 | docker push ${REGION}-docker.pkg.dev/${PROJECT_ID}/community/${IMAGE_NAME}:${GITHUB_SHA}
|
57 | 56 |
|
58 |
| - # gke-provisioner: |
59 |
| - # # Inspired by: |
60 |
| - # ## https://www.terraform.io/docs/github-actions/getting-started.html |
61 |
| - # ## https://github.com/hashicorp/terraform-github-actions |
62 |
| - # name: Provision GKE cluster |
63 |
| - # runs-on: ubuntu-20.04 |
64 |
| - # steps: |
65 |
| - # - name: Checkout |
66 |
| - # uses: actions/checkout@v3 |
67 |
| - |
68 |
| - # - name: Terraform init |
69 |
| - # uses: hashicorp/terraform-github-actions@master |
70 |
| - # with: |
71 |
| - # tf_actions_version: 0.12.17 |
72 |
| - # tf_actions_subcommand: 'init' |
73 |
| - # tf_actions_working_dir: 'terraform' |
74 |
| - |
75 |
| - # - name: Terraform validate |
76 |
| - # uses: hashicorp/terraform-github-actions@master |
77 |
| - # with: |
78 |
| - # tf_actions_version: 0.12.17 |
79 |
| - # tf_actions_subcommand: 'validate' |
80 |
| - # tf_actions_working_dir: 'terraform' |
81 |
| - |
82 |
| - # - name: Terraform plan |
83 |
| - # uses: hashicorp/terraform-github-actions@master |
84 |
| - # with: |
85 |
| - # tf_actions_version: 0.12.17 |
86 |
| - # tf_actions_subcommand: 'plan' |
87 |
| - # tf_actions_working_dir: 'terraform' |
88 |
| - |
89 |
| - # - name: Terraform apply |
90 |
| - # uses: hashicorp/terraform-github-actions@master |
91 |
| - # with: |
92 |
| - # tf_actions_version: 0.12.17 |
93 |
| - # tf_actions_subcommand: 'apply' |
94 |
| - # tf_actions_working_dir: 'terraform' |
95 |
| - |
96 | 57 | kubernetes-deploy:
|
97 | 58 | name: Deploy Kubernetes manifests to GKE cluster
|
98 | 59 | needs:
|
99 | 60 | - gcloud-setup-and-build-and-publish-to-GCR
|
100 |
| - # - gke-provisioner |
101 | 61 | runs-on: ubuntu-22.04
|
102 | 62 | steps:
|
103 | 63 | - name: Checkout
|
|
0 commit comments