Skip to content

Commit

Permalink
[NOJIRA] Using service with official image instead of deprecated gith…
Browse files Browse the repository at this point in the history
…ub action (#239)

* Using service with official image instead of deprecated github action

* wrong key name

* Add hostname env
  • Loading branch information
edznux-dd committed Sep 11, 2024
1 parent 62d3726 commit 51d0103
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/system-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ jobs:
runs-on:
group: Large Runner Shared Public
labels: ubuntu-8-core-latest
services:
dd-agent:
image: gcr.io/datadoghq/agent:7
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
DD_TRACE_DEBUG: 1
DD_LOGS_ENABLED: true
DD_APM_ENABLED: true
DD_HOSTNAME: "kubehound-github-action"
ports:
- 8126:8126
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09
Expand All @@ -35,12 +46,6 @@ jobs:
gcr.io:443
repo.maven.apache.org:443
*.datadoghq.com:443
- uses: datadog/agent-github-action@8240b406d73cb84cd5085a3919a78f59c258da3a
continue-on-error: true # external contributors will not have access to the secret, but everything else should still work
with:
api_key: ${{ secrets.DD_API_KEY }}
extra_env: DD_TRACE_DEBUG=1,DD_LOGS_ENABLED=true,DD_APM_ENABLED=true
- name: Checkout Git Repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
Expand Down

0 comments on commit 51d0103

Please sign in to comment.