Merge pull request #6286 from aznashwan/windows-integration-separate-trigger
Integration: Separate Windows Periodic Tests workflow trigger.
This commit is contained in:
commit
f419d4a0ac
25
.github/workflows/windows-periodic-trigger.yml
vendored
Normal file
25
.github/workflows/windows-periodic-trigger.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
# Workflow intended to periodically run the Windows Integration test workflow.
|
||||
|
||||
name: Windows Periodic Tests
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
jobs:
|
||||
|
||||
triggerWinIntegration:
|
||||
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_PROJECT_ID: "${{ secrets.GCP_PROJECT_ID }}"
|
||||
GCP_SA_KEY: "${{ secrets.GCP_SA_KEY }}"
|
17
.github/workflows/windows-periodic.yml
vendored
17
.github/workflows/windows-periodic.yml
vendored
@ -1,11 +1,19 @@
|
||||
# Workflow intended to periodically test containerd integration tests
|
||||
# Workflow intended to run containerd integration tests on Windows.
|
||||
|
||||
name: Windows Periodic Tests
|
||||
name: Windows Integration Tests
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
secrets:
|
||||
AZURE_SUB_ID:
|
||||
required: true
|
||||
AZURE_CREDS:
|
||||
required: true
|
||||
GCP_PROJECT_ID:
|
||||
required: true
|
||||
GCP_SA_KEY:
|
||||
required: true
|
||||
|
||||
env:
|
||||
AZURE_DEFAULT_LOCATION: westeurope
|
||||
@ -18,7 +26,6 @@ env:
|
||||
|
||||
jobs:
|
||||
winIntegration:
|
||||
if: github.repository == 'containerd/containerd'
|
||||
strategy:
|
||||
matrix:
|
||||
win_ver: [ltsc2019, sac2004, ltsc2022]
|
||||
|
Loading…
Reference in New Issue
Block a user