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' ' ')