Skip to content

Windows Periodic Tests #1074

Windows Periodic Tests

Windows Periodic Tests #1074

# Workflow intended to periodically run the Windows Integration test workflow.
name: Windows Periodic Tests
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *"
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
triggerWinIntegration:
# NOTE: the following permissions are required by `google-github-actions/auth`:
permissions:
contents: 'read'
id-token: 'write'
if: github.repository == 'containerd/containerd'
# NOTE(aznashwan, 11/24/21): GitHub actions do not currently support referencing
# or evaluating any kind of variables in the `uses` clause, but this will
# ideally be added in the future in which case the hardcoded reference to the
# upstream containerd repository should be replaced with the following to
# potentially allow contributors to enable periodic Windows tests on forks as well:
# uses: "${{ github.repository }}/.github/workflows/windows-periodic.yml@${{ github.ref_name }}"
uses: containerd/containerd/.github/workflows/windows-periodic.yml@main
secrets:
AZURE_SUB_ID: "${{ secrets.AZURE_SUB_ID }}"
AZURE_CREDS: "${{ secrets.AZURE_CREDS }}"
GCP_SERVICE_ACCOUNT: "${{ secrets.GCP_SERVICE_ACCOUNT }}"

Check failure on line 31 in .github/workflows/windows-periodic-trigger.yml

View workflow run for this annotation

GitHub Actions / Windows Periodic Tests

Invalid workflow file

The workflow is not valid. .github/workflows/windows-periodic-trigger.yml (Line: 31, Col: 28): Invalid secret, GCP_SERVICE_ACCOUNT is not defined in the referenced workflow. .github/workflows/windows-periodic-trigger.yml (Line: 32, Col: 39): Invalid secret, GCP_WORKLOAD_IDENTITY_PROVIDER is not defined in the referenced workflow.
GCP_WORKLOAD_IDENTITY_PROVIDER: "${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}"