Scheduled Cloud end-to-end tests #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Scheduled Cloud end-to-end tests | |
| on: | |
| schedule: | |
| - cron: '0 6 * * *' | |
| workflow_dispatch: | |
| # Reusable workflows can only narrow caller permissions, not escalate. | |
| # `id-token: write` is needed by the Vault OIDC step in playwright-cloud.yml. | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| playwright-cloud: | |
| uses: grafana/data-sources-ci-workflows/.github/workflows/playwright-cloud.yml@main | |
| secrets: inherit | |
| permissions: | |
| contents: read | |
| id-token: write | |
| with: | |
| pdc-network-name: datasources-pdc-network-aws-datasourcese2e | |
| bench-prepare-cmd: yarn install --immutable && yarn playwright install chromium | |
| bench-execute-cmd: yarn e2e | |
| repo-secrets: | | |
| DS_INSTANCE_HOST=yugabyte-datasource/yugabyte:url | |
| DS_INSTANCE_USERNAME=yugabyte-datasource/yugabyte:user | |
| DS_INSTANCE_PASSWORD=yugabyte-datasource/yugabyte:secure_password | |
| DS_INSTANCE_DATABASE=yugabyte-datasource/yugabyte:json_database | |
| DS_PDC_NETWORK_NAME=yugabyte-datasource/yugabyte:e2ePdcNetworkName |