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

resolve oracledb plugin step failing #3216

Merged
merged 5 commits into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/actions/testagent/logs/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
name: "Get APM Test Agent Logs"
description: "Get the APM Test Agent logs from the test run."
inputs:
container-id:
description: "ID of the Docker Container to get logs from (optional)"
required: false
runs:
using: composite
steps:
- uses: actions/checkout@v2
- run: docker-compose logs testagent
- run: |
if [ -n "${{inputs.container-id}}" ]; then
docker logs ${{inputs.container-id}}
else
docker-compose logs testagent
fi
shell: bash
11 changes: 9 additions & 2 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -800,18 +800,25 @@ jobs:
ports:
- 1521:1521
- 5500:5500
testagent:
image: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:latest
env:
LOG_LEVEL: DEBUG
TRACE_LANGUAGE: javascript
DISABLED_CHECKS: trace_content_length
PORT: 9126
ports:
- 9126:9126
env:
PLUGINS: oracledb
SERVICES: oracledb
DD_TEST_AGENT_URL: http://testagent:9126
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node/setup
- run: yarn install --ignore-engine
- run: yarn services
- run: yarn test:plugins
- uses: ./.github/actions/testagent/logs
- uses: codecov/codecov-action@v2

paperplane:
Expand Down