mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 16:39:38 -05:00
a879043f03
refactor e2e test into reusable action, so we can have manual & cron jobs. added cron for azure & gcp. failed jobs are reported to MS Teams.
26 lines
716 B
YAML
26 lines
716 B
YAML
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 }}
|
|
sonobuoyTestSuiteCmd: '--mode certified-conformance'
|
|
msTeamsWebhook: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
|