forked from containerd/containerd
-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (30 loc) · 1.32 KB
/
linux-benchmarks-trigger.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Workflow intended to periodically run the Linux Benchmarks workflow.
name: Linux Benchmarks Trigger
on:
workflow_dispatch:
schedule:
# NOTE: benchmarks should run twice a month:
- cron: "0 0 1 * *"
- cron: "0 0 15 * *"
jobs:
triggerWinIntegration:
if: github.repository == 'containerd/containerd'
# NOTE(aznashwan, 6/6/2022): 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 benchmarks on forks as well:
# uses: "${{ github.repository }}/.github/workflows/linux-benchmarks.yml@${{ github.ref_name }}"
uses: containerd/containerd/.github/workflows/linux-benchmarks.yml@main
with:
containersNumber: 500
containersNumberParallel: 1
imagesNumber: 500
imagesNumberParallel: 1
podsNumber: 500
podsNumberParallel: 1
secrets:
AZURE_SUB_ID: "${{ secrets.AZURE_SUB_ID }}"
AZURE_CREDS: "${{ secrets.AZURE_CREDS }}"
GCP_SERVICE_ACCOUNT: "${{ secrets.GCP_SERVICE_ACCOUNT }}"
GCP_WORKLOAD_IDENTITY_PROVIDER: "${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}"