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

v3.22.1 #3220

Merged
merged 8 commits into from
Jun 8, 2023
Merged

v3.22.1 #3220

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
17 changes: 17 additions & 0 deletions .github/actions/testagent/logs/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +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: |
if [ -n "${{inputs.container-id}}" ]; then
docker logs ${{inputs.container-id}}
else
docker-compose logs testagent
fi
shell: bash
8 changes: 8 additions & 0 deletions .github/actions/testagent/start/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: "Start the APM Test Agent"
description: "Starts the APM Test Agent image with environment."
runs:
using: composite
steps:
- uses: actions/checkout@v2
- run: docker-compose up -d testagent
shell: bash
3 changes: 3 additions & 0 deletions .github/workflows/lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node/setup
- run: yarn install
- uses: ./.github/actions/node/14
Expand All @@ -26,4 +27,6 @@ jobs:
- run: yarn test:lambda:ci
- uses: ./.github/actions/node/latest
- run: yarn test:lambda:ci
- if: always()
uses: ./.github/actions/testagent/logs
- uses: codecov/codecov-action@v2
Loading