Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Azure-hosted benchmarking workflows for Linux and Windows. #6574

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/linux-benchmarks-trigger.yml
@@ -0,0 +1,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 }}"