2022-05-09 03:45:59 -04:00
|
|
|
name: e2e Test GCP
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 4 * * *'
|
|
|
|
jobs:
|
|
|
|
e2e-test-gcp:
|
|
|
|
runs-on: [self-hosted, edgserver]
|
|
|
|
container:
|
|
|
|
image: ghcr.io/catthehacker/ubuntu:act-latest
|
|
|
|
options: --privileged
|
|
|
|
steps:
|
|
|
|
- name: Check out repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Run GCP E2E test
|
|
|
|
uses: ./.github/actions/e2e_test
|
|
|
|
with:
|
|
|
|
workerNodesCount: '2'
|
|
|
|
controlNodesCount: '1'
|
|
|
|
autoscale: 'false'
|
|
|
|
cloudProvider: 'gcp'
|
|
|
|
machineType: 'n2d-standard-2'
|
|
|
|
gcp_service_account_json: ${{ secrets.GCP_SERVICE_ACCOUNT }}
|
2022-05-19 08:57:21 -04:00
|
|
|
sonobuoyTestSuiteCmd: '--mode certified-conformance --plugin e2e --plugin https://raw.githubusercontent.com/vmware-tanzu/sonobuoy-plugins/master/cis-benchmarks/kube-bench-plugin.yaml --plugin https://raw.githubusercontent.com/vmware-tanzu/sonobuoy-plugins/master/cis-benchmarks/kube-bench-master-plugin.yaml'
|
2022-05-09 03:45:59 -04:00
|
|
|
msTeamsWebhook: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
|