From a419d97e7abac27d0c34ba44d0b668b74743601b Mon Sep 17 00:00:00 2001 From: Juanjo Alvarez Martinez Date: Wed, 15 Jan 2025 21:48:19 +0100 Subject: [PATCH] chore(ci): new testrunner for check_new_flaky_tests [2.17] (#11947) ## Checklist - [X] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description articulates the motivation for the change - The change includes tests OR the PR description describes a testing strategy - The PR description notes risks associated with the change, if any - Newly-added code is easy to change - The change follows the [library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) - The change includes or references documentation updates if necessary - Backport labels are set (if [applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)) ## Reviewer Checklist - [x] Reviewer has checked that all the criteria below are met - Title is accurate - All changes are related to the pull request's stated goal - Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes - Testing strategy adequately addresses listed risks - Newly-added code is easy to change - Release note makes sense to a user of the library - If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment - Backport labels are set in a manner that is consistent with the [release branch maintenance policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting) --------- Signed-off-by: Juanjo Alvarez Co-authored-by: Brett Langdon --- .gitlab-ci.yml | 1 + .gitlab/testrunner.yml | 2 +- .gitlab/tests.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d2cb002102..6bfde7cef45 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,6 +89,7 @@ deploy_to_di_backend:manual: check_new_flaky_tests: stage: quality-gate extends: .testrunner + image: registry.ddbuild.io/images/mirror/dd-trace-py/testrunner:0a50e839f4b1600f02157518b8d016451b346578@sha256:5dae9bc7872f69b31b612690f0748c7ad71ab90ef28a754b2ae93d0ba505837b script: - export DD_SITE=datadoghq.com - export DD_API_KEY=$(aws ssm get-parameter --region us-east-1 --name ci.${CI_PROJECT_NAME}.dd-api-key-qualitygate --with-decryption --query "Parameter.Value" --out text) diff --git a/.gitlab/testrunner.yml b/.gitlab/testrunner.yml index 38e2111ec78..a1c3f9ec619 100644 --- a/.gitlab/testrunner.yml +++ b/.gitlab/testrunner.yml @@ -4,5 +4,5 @@ tags: [ "arch:amd64" ] timeout: 20m before_script: - - pyenv global 3.12 3.7 3.8 3.9 3.10 3.11 3.13-dev + - pyenv global 3.12 3.7 3.8 3.9 3.10 3.11 - export _CI_DD_AGENT_URL=http://${HOST_IP}:8126/ diff --git a/.gitlab/tests.yml b/.gitlab/tests.yml index 303333d9cb0..fd2bd14a5e7 100644 --- a/.gitlab/tests.yml +++ b/.gitlab/tests.yml @@ -13,7 +13,7 @@ variables: tags: [ "arch:amd64" ] timeout: 20m before_script: - - pyenv global 3.12 3.7 3.8 3.9 3.10 3.11 3.13-dev + - pyenv global 3.12 3.7 3.8 3.9 3.10 3.11 - export _CI_DD_AGENT_URL=http://${HOST_IP}:8126/