Skip to content

Commit

Permalink
Schedule GKE test (hashicorp#2283)
Browse files Browse the repository at this point in the history
* WIP

* WIP
  • Loading branch information
sheneska authored Sep 21, 2023
1 parent 1b22349 commit 3d6a73c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/acceptance_tests_gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ on:
default: ^TestAcc
terraformVersion:
description: Terraform version
default: 1.4.0

default: 1.4.2
schedule:
- cron: '0 23 * * *'
env:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
GOOGLE_PROJECT: ${{ secrets.GOOGLE_PROJECT }}
GOOGLE_REGION: ${{ github.event.inputs.region }}
GOOGLE_ZONE: ${{github.event.inputs.zone}}
GOOGLE_REGION: ${{ github.event.inputs.region || vars.GOOGLE_REGION }}
GOOGLE_ZONE: ${{github.event.inputs.zone || vars.GOOGLE_ZONE }}
PARALLEL_RUNS: ${{ github.event.inputs.parallelRuns || vars.PARALLEL_RUNS }}
TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || vars.TERRAFORM_VERSION }}
USE_GKE_GCLOUD_AUTH_PLUGIN: True
KUBECONFIG: ${{ github.workspace }}/kubernetes/test-infra/gke/kubeconfig
KUBE_CONFIG_PATH: ${{ github.workspace }}/kubernetes/test-infra/gke/kubeconfig
Expand All @@ -41,7 +44,7 @@ jobs:
permissions:
contents: "read"
id-token: "write"
runs-on: ubuntu-latest
runs-on: [custom, linux, medium]
env:
KUBECONFIG: ${{ github.workspace }}/kubernetes/test-infra/gke/kubeconfig
steps:
Expand Down Expand Up @@ -106,7 +109,7 @@ jobs:
acceptance-tests:
name: "Test"
needs: [prepare-gke-environment, generate-case-matrix]
runs-on: ubuntu-latest
runs-on: [custom, linux, medium]
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 3d6a73c

Please sign in to comment.