Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Submit nightly eks tests to datadog
Browse files Browse the repository at this point in the history
Signed-off-by: tylerslaton <mtslaton1@gmail.com>
  • Loading branch information
tylerslaton committed Jul 11, 2023
1 parent 1b1feef commit 8f292f1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/aws-eks-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ jobs:
KUBECONFIG: "/home/runner/.kube/config"

- name: run acorn integration tests
id: test
run: |
TEST_ACORN_CONTROLLER=external TEST_FLAGS="--junitfile test-summary.xml" GO_TEST_FLAGS="-timeout=7m" make integration
env:
KUBECONFIG: "/home/runner/.kube/config"

- name: Build test summary
id: test_summary
needs: [test]
uses: test-summary/action@v2
if: success() || failure()
with:
Expand All @@ -85,6 +87,17 @@ jobs:
env:
SLACK_BOT_TOKEN: '${{ secrets.SLACK_BOT_TOKEN }}'

- name: Upload test results to Datadog
uses: datadog/junit-upload-github-action@v1
if: '!cancelled()'
needs: [test_summary]
with:
api-key: ${{ secrets.DD_API_KEY }}
service: runtime-eks-tests
env: ci
files: test-summary.xml
datadog-site: us3.datadoghq.com

- name: create run artifacts
if: always()
# Add any artifacts that should be associated with this run to /tmp/artifacts/${{ github.run_id }}
Expand Down

0 comments on commit 8f292f1

Please sign in to comment.