From 7b7f9b20e02d177ef5edc8f4574fea9a511cdf55 Mon Sep 17 00:00:00 2001 From: Crystal Magloire Date: Fri, 27 Sep 2024 17:49:59 -0400 Subject: [PATCH] removing matrices.json --- .github/workflows/plugins.yml | 4 ++-- scripts/create_matrix.js | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/plugins.yml b/.github/workflows/plugins.yml index eaab543ea7f..f1825da4b87 100644 --- a/.github/workflows/plugins.yml +++ b/.github/workflows/plugins.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - id: plugins run: | - content=$(cat packages/datadog-instrumentations/src/helpers/matrices.json | tr '\n' ' ') + content=$(node scripts/outdated.js fix) echo "matrices=$content" >> $GITHUB_OUTPUT echo $content @@ -107,7 +107,7 @@ jobs: uses: ./.github/actions/testagent/logs - uses: codecov/codecov-action@v3 - amqp10: # TODO: move rhea to its own job + amqp10: needs: - versions strategy: diff --git a/scripts/create_matrix.js b/scripts/create_matrix.js index 751d411ac32..ac21e845262 100644 --- a/scripts/create_matrix.js +++ b/scripts/create_matrix.js @@ -77,9 +77,10 @@ function generateMatrix (name) { matricesJson.matrices[name] = matrix } } - fs.writeFileSync(matricesPath, JSON.stringify(matricesJson, null, 2)) + return matricesJson.matrices } -generateMatrix('couchbase') module.exports = { generateMatrix } + +// content=$(cat packages/datadog-instrumentations/src/helpers/matrices.json | tr '\n' ' ')