Skip to content

Commit 9c1a663

Browse files
authored
test(lib-injection): fix the version of tests used [backport #5062 to 1.8] (#5064)
We've been changing the tests quite a bit lately which has led to CI breakage. It makes sense, since we backport so much, to fix the version so that CI remains stable. This particular change, changed the scripts used to run the tests. ## Checklist - [x] Change(s) are motivated and described in the PR description. - [x] Testing strategy is described if automated tests are not included in the PR. - [x] Risk is outlined (performance impact, potential for breakage, maintainability, etc). - [x] Change is maintainable (easy to change, telemetry, documentation). - [x] [Library release note guidelines](https://ddtrace.readthedocs.io/en/stable/contributing.html#Release-Note-Guidelines) are followed. - [x] Documentation is included (in-code, generated user docs, [public corp docs](https://github.com/DataDog/documentation/)). ## Reviewer Checklist - [x] Title is accurate. - [x] No unnecessary changes are introduced. - [x] Description motivates each change. - [x] Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes unless absolutely necessary. - [x] Testing strategy adequately addresses listed risk(s). - [x] Change is maintainable (easy to change, telemetry, documentation). - [x] Release note makes sense to a user of the library.
1 parent 3e39c6c commit 9c1a663

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/lib-injection.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ jobs:
6666
DOCKER_REGISTRY_IMAGES_PATH: ghcr.io/datadog
6767
DOCKER_IMAGE_TAG: ${{ github.sha }}
6868
BUILDX_PLATFORMS: linux/amd64
69-
steps:
70-
69+
steps:
7170
- name: lib-injection test runner
7271
id: lib-injection-test-runner
73-
uses: DataDog/system-tests/lib-injection/runner@main
72+
uses: DataDog/system-tests/lib-injection/runner@b3ca75b6ce109a349f7390a9f111e6b3ef3c97ef
7473
with:
7574
docker-registry: ghcr.io
7675
docker-registry-username: ${{ github.repository_owner }}
77-
docker-registry-password: ${{ secrets.GITHUB_TOKEN }}
76+
docker-registry-password: ${{ secrets.GITHUB_TOKEN }}
77+
test-script: ./lib-injection/run-manual-lib-injection.sh

0 commit comments

Comments
 (0)