Skip to content

daily e2e tests

daily e2e tests #40

# (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 }}