Skip to content
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
4 changes: 4 additions & 0 deletions .github/workflows/compute-workflow-parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
description: "Library to run"
required: true
type: string
ref:
description: "system-tests ref to run the tests on (can be any valid branch, tag or SHA in system-tests repo)"
type: string
scenarios:
description: "Comma-separated list of scenarios to run"
type: string
Expand Down Expand Up @@ -107,6 +110,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
ref: ${{ inputs.ref }}
- name: Install runner
uses: ./.github/actions/install_runner
- name: main
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
description: "Library to test"
required: true
type: string
ref:
description: "system-tests ref to run the tests on (can be any valid branch, tag or SHA in system-tests repo)"
type: string
scenarios:
description: "JSON array of scenarios to run"
default: "[]"
Expand Down Expand Up @@ -72,6 +75,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
ref: ${{ inputs.ref }}
- name: Install runner
uses: ./.github/actions/install_runner
- name: Get binaries artifact
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run-external-processing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: External-processing tests
on:
workflow_call:
inputs:
ref:
description: "system-tests ref to run the tests on (can be any valid branch, tag or SHA in system-tests repo)"
type: string
binaries_artifact:
description: "Artifact name containing the binaries to test"
default: ''
Expand Down Expand Up @@ -37,6 +40,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
ref: ${{ inputs.ref }}
- name: Install runner
uses: ./.github/actions/install_runner

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/run-lib-injection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
description: "Library to test"
required: true
type: string
ref:
description: "system-tests ref to run the tests on (can be any valid branch, tag or SHA in system-tests repo)"
type: string
version:
description: "Version of the image to test"
required: true
Expand All @@ -20,7 +23,6 @@ env:
REGISTRY: ghcr.io

jobs:

compute-matrix:
name: Get weblogs for Lib-Injection tests
runs-on: ubuntu-latest
Expand Down Expand Up @@ -135,6 +137,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
ref: ${{ inputs.ref }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down Expand Up @@ -208,6 +211,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
ref: ${{ inputs.ref }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
description: "Library to test"
required: true
type: string
ref:
description: "system-tests ref to run the tests on (can be any valid branch, tag or SHA in system-tests repo)"
type: string
scenarios:
description: "Comma-separated list scenarios to run"
default: DEFAULT
Expand Down Expand Up @@ -93,6 +96,7 @@ jobs:
uses: ./.github/workflows/compute-workflow-parameters.yml
with:
library: ${{ inputs.library }}
ref: ${{ inputs.ref }}
scenarios: ${{ inputs.scenarios }}
scenarios_groups: ${{ inputs.scenarios_groups }}
excluded_scenarios: ${{ inputs.excluded_scenarios }}
Expand All @@ -110,6 +114,7 @@ jobs:
secrets: inherit
with:
library: ${{ inputs.library }}
ref: ${{ inputs.ref }}
binaries_artifact: ${{ needs.compute_parameters.outputs.binaries_artifact }}
ci_environment: ${{ needs.compute_parameters.outputs.ci_environment }}
job_count: ${{ inputs.parametric_job_count }}
Expand All @@ -127,6 +132,7 @@ jobs:
with:
build_lib_injection_app_images: ${{ inputs.build_lib_injection_app_images }}
library: ${{ inputs.library }}
ref: ${{ inputs.ref }}
version: ${{ needs.compute_parameters.outputs.ci_environment }}

build_end_to_end:
Expand All @@ -144,6 +150,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
ref: ${{ inputs.ref }}
Comment thread
TonyCTHsu marked this conversation as resolved.
- name: Get binaries artifact
if : ${{ needs.compute_parameters.outputs.binaries_artifact != '' }}
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -179,6 +186,7 @@ jobs:
secrets: inherit
with:
library: ${{ matrix.job.library }}
ref: ${{ inputs.ref }}
weblog: ${{ matrix.job.weblog }}
scenarios: ${{ toJson(matrix.job.scenarios) }}
build_buddies_images: ${{ inputs.build_buddies_images }}
Expand All @@ -195,6 +203,7 @@ jobs:
uses: ./.github/workflows/run-external-processing.yml
secrets: inherit
with:
ref: ${{ inputs.ref }}
build_proxy_image: ${{ inputs.build_proxy_image }}
ci_environment: ${{ needs.compute_parameters.outputs.ci_environment }}
binaries_artifact: ${{ needs.compute_parameters.outputs.binaries_artifact }}