Skip to content

Commit

Permalink
test: Enable cloudwatch metrics to fire on scale testing (#4140)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis committed Jun 26, 2023
1 parent 2babc2a commit 2c2c999
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/e2e-scale-trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ jobs:
with:
suite: Scale
event_name: ${{ github.event_name }}
enable_cloudwatch: true
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
8 changes: 7 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ on:
- "1.26"
- "1.27"
default: "1.27"
enable_cloudwatch:
type: bool
default: false
workflow_call:
inputs:
git_ref:
Expand All @@ -39,6 +42,9 @@ on:
k8s_version:
type: string
default: "1.27"
enable_cloudwatch:
type: bool
default: false
secrets:
SLACK_WEBHOOK_URL:
required: true
Expand Down Expand Up @@ -99,7 +105,7 @@ jobs:
- name: run the ${{ inputs.suite }} test suite
run: |
aws eks update-kubeconfig --name ${{ env.CLUSTER_NAME }}
TEST_SUITE="${{ inputs.suite }}" make e2etests
TEST_SUITE="${{ inputs.suite }}" ENABLE_CLOUDWATCH=${{ inputs.enable_cloudwatch }} GIT_REF="$(git rev-parse HEAD)" make e2etests
- name: notify slack of success or failure
uses: ./.github/actions/e2e/slack/notify
if: (success() || failure()) && inputs.event_name != 'workflow_run'
Expand Down

0 comments on commit 2c2c999

Please sign in to comment.