From 5ca6cb55ed7af4041af3c26cdab1dd892823e31f Mon Sep 17 00:00:00 2001 From: Nicolas Schweitzer Date: Fri, 24 Nov 2023 11:53:38 +0100 Subject: [PATCH] Prevent generation of new jobs in mq context --- .gitlab/source_test_stats/linux.yml | 3 +++ .gitlab/source_test_stats/windows.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.gitlab/source_test_stats/linux.yml b/.gitlab/source_test_stats/linux.yml index c7c6519d1e0f16..852c457011c14a 100644 --- a/.gitlab/source_test_stats/linux.yml +++ b/.gitlab/source_test_stats/linux.yml @@ -3,6 +3,9 @@ stats-fast-tests-deb-x64-py3: image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/datadog-agent-buildimages/datadog-ci-uploader$DATADOG_AGENT_BUILDIMAGES_SUFFIX:$DATADOG_AGENT_BUILDIMAGES tags: ["arch:amd64"] needs: ["tests_deb-x64-py3-fast", "tests_deb-x64-py3"] + rules: + - !reference [.except_mergequeue] + - when: on_success script: - set +x - export DD_API_KEY=$(aws ssm get-parameter --region us-east-1 --name ci.datadog-agent.datadog_api_key_org2 --with-decryption --query "Parameter.Value" --out text) diff --git a/.gitlab/source_test_stats/windows.yml b/.gitlab/source_test_stats/windows.yml index 8f1da30e1f23e8..347adcfa8b3591 100644 --- a/.gitlab/source_test_stats/windows.yml +++ b/.gitlab/source_test_stats/windows.yml @@ -3,6 +3,9 @@ stats-fast-tests-windows-x64: image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/datadog-agent-buildimages/datadog-ci-uploader$DATADOG_AGENT_BUILDIMAGES_SUFFIX:$DATADOG_AGENT_BUILDIMAGES tags: ["arch:amd64"] needs: ["tests_windows-x64-fast", "tests_windows-x64"] + rules: + - !reference [.except_mergequeue] + - when: on_success script: - set +x - export DD_API_KEY=$(aws ssm get-parameter --region us-east-1 --name ci.datadog-agent.datadog_api_key_org2 --with-decryption --query "Parameter.Value" --out text)