Skip to content

Commit

Permalink
Create captured-traces directory if it doesn't exist while submitting…
Browse files Browse the repository at this point in the history
… traces
  • Loading branch information
vivek-datadog committed May 23, 2024
1 parent 07abaea commit 5aee7b6
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
needs:
- cache

uses: ./.github/workflows/tests/test-common.yml
uses: ./.github/workflows/test-common.yml
with:
repo: core

Expand All @@ -25,7 +25,7 @@ jobs:
needs:
- cache

uses: ./.github/workflows/tests/test-dbm.yml
uses: ./.github/workflows/test-dbm.yml
with:
repo: core

Expand All @@ -37,7 +37,7 @@ jobs:
needs:
- cache

uses: ./.github/workflows/tests/test-all.yml
uses: ./.github/workflows/test-all.yml
with:
repo: core

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly-base-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
test-common:
uses: ./.github/workflows/tests/test-common.yml
uses: ./.github/workflows/test-common.yml
with:
repo: core

Expand All @@ -18,7 +18,7 @@ jobs:
secrets: inherit

test-dbm:
uses: ./.github/workflows/tests/test-dbm.yml
uses: ./.github/workflows/test-dbm.yml
with:
repo: core

Expand All @@ -29,7 +29,7 @@ jobs:
secrets: inherit

test-integrations:
uses: ./.github/workflows/tests/test-all.yml
uses: ./.github/workflows/test-all.yml
with:
repo: core

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly-py2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
test-common:
uses: ./.github/workflows/tests/test-common.yml
uses: ./.github/workflows/test-common.yml
with:
repo: core

Expand All @@ -18,7 +18,7 @@ jobs:
secrets: inherit

test-dbm:
uses: ./.github/workflows/tests/test-dbm.yml
uses: ./.github/workflows/test-dbm.yml
with:
repo: core

Expand All @@ -29,7 +29,7 @@ jobs:
secrets: inherit

test-integrations:
uses: ./.github/workflows/tests/test-all.yml
uses: ./.github/workflows/test-all.yml
with:
repo: core

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
test-common:
uses: ./.github/workflows/tests/test-common.yml
uses: ./.github/workflows/test-common.yml
with:
repo: core

Expand All @@ -26,7 +26,7 @@ jobs:
secrets: inherit

test-dbm:
uses: ./.github/workflows/tests/test-dbm.yml
uses: ./.github/workflows/test-dbm.yml
with:
repo: core

Expand All @@ -36,7 +36,7 @@ jobs:
secrets: inherit

test-integrations:
uses: ./.github/workflows/tests/test-all.yml
uses: ./.github/workflows/test-all.yml
with:
repo: core

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/submit-traces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
path: captured-traces
continue-on-error: true

- name: Create captured-traces directory
run: mkdir -p captured-traces

- name: Replay
if: steps.download.outcome == 'success'
run: |-
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ on:

jobs:
test-common:
uses: ./.github/workflows/tests/test-common.yml
uses: ./.github/workflows/test-common.yml
with:
repo: core

Expand All @@ -51,7 +51,7 @@ jobs:
secrets: inherit

test-dbm:
uses: ./.github/workflows/tests/test-dbm.yml
uses: ./.github/workflows/test-dbm.yml
with:
repo: core

Expand All @@ -66,7 +66,7 @@ jobs:
secrets: inherit

test-integrations:
uses: ./.github/workflows/tests/test-all.yml
uses: ./.github/workflows/test-all.yml
with:
repo: core

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/weekly-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
test-common:
uses: ./.github/workflows/tests/test-common.yml
uses: ./.github/workflows/test-common.yml
with:
repo: core

Expand All @@ -16,7 +16,7 @@ jobs:
secrets: inherit

test-dbm:
uses: ./.github/workflows/tests/test-dbm.yml
uses: ./.github/workflows/test-dbm.yml
with:
repo: core

Expand All @@ -25,7 +25,7 @@ jobs:
secrets: inherit

test-integrations:
uses: ./.github/workflows/tests/test-all.yml
uses: ./.github/workflows/test-all.yml
with:
repo: core

Expand Down
2 changes: 1 addition & 1 deletion docs/developer/meta/ci/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ exclude = true

## Target enumeration

The [list](https://github.com/DataDog/integrations-core/blob/master/.github/workflows/tests/test-all.yml) of all jobs is [generated](validation.md#ci-configuration) as the `/.github/workflows/tests/test-all.yml` file.
The [list](https://github.com/DataDog/integrations-core/blob/master/.github/workflows/test-all.yml) of all jobs is [generated](validation.md#ci-configuration) as the `/.github/workflows/test-all.yml` file.

This reusable workflow is called by workflows that need to test everything.

Expand Down

0 comments on commit 5aee7b6

Please sign in to comment.