Skip to content

E2EScaleTrigger

E2EScaleTrigger #573

name: E2EScaleTrigger
on:
schedule:
- cron: '7 18 * * *'
workflow_run:
workflows: [ApprovalComment]
types: [completed]
workflow_dispatch:
jobs:
resolve:
if: (github.repository == 'aws/karpenter' && (github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success')) || github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/resolve-args.yaml
with:
allowed_comment: "scale"
scale:
needs: [resolve]
if: needs.resolve.outputs.SHOULD_RUN == 'true'
uses: ./.github/workflows/e2e.yaml
with:
suite: Scale
git_ref: ${{ needs.resolve.outputs.GIT_REF }}
region: "us-west-2"
enable_metrics: true
workflow_trigger: "scale"
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}