daily e2e tests #40
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
| # (C) Copyright Confidential Containers Contributors 2023. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # | |
| # Daily run the e2e tests. | |
| --- | |
| name: daily e2e tests | |
| on: | |
| schedule: | |
| # Runs "at 04:15(UTC time) every day" (see https://crontab.guru) | |
| # will base on default branch `main` | |
| - cron: '15 4 * * *' | |
| workflow_dispatch: | |
| inputs: | |
| git_ref: | |
| default: 'refs/heads/main' | |
| description: Git ref to run the tests from/against. Defaults to refs/heads/main. | |
| required: false | |
| type: string | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || inputs.git_ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| e2e: | |
| uses: ./.github/workflows/e2e_run_all.yaml | |
| with: | |
| caa_image_tag: latest | |
| git_ref: "${{ inputs.git_ref }}" | |
| podvm_image_tag: latest | |
| registry: ghcr.io/${{ github.repository_owner }} | |
| permissions: | |
| id-token: write | |
| contents: read | |
| packages: write | |
| attestations: write | |
| artifact-metadata: write | |
| secrets: | |
| AWS_IAM_ROLE_ARN: ${{ secrets.AWS_IAM_ROLE_ARN }} | |
| QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} | |
| REGISTRY_CREDENTIAL_ENCODED: ${{ secrets.REGISTRY_CREDENTIAL_ENCODED }} |