Skip to content

Commit

Permalink
changing plugin yml with matrices
Browse files Browse the repository at this point in the history
  • Loading branch information
crysmags committed Oct 24, 2024
1 parent 4a71ecc commit 759edcb
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 35 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,34 @@ jobs:
uses: ./.github/actions/testagent/logs
- uses: codecov/codecov-action@v3

elasticsearch:
needs:
- versions
strategy:
matrix: ${{fromJson(needs.versions.outputs.matrices).matrices.elasticsearch}}
runs-on: ubuntu-latest
services:
elasticsearch:
image: elasticsearch:7.17.22
env:
discovery.type: single-node
ports:
- 9200:9200
env:
PLUGINS: elasticsearch
SERVICES: elasticsearch
PACKAGE_VERSION_RANGE: ${{ matrix.range }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node/setup
- uses: ./.github/actions/install
- uses: ./.github/actions/node/latest
- run: yarn test:plugins:ci
- if: always()
uses: ./.github/actions/testagent/logs
- uses: codecov/codecov-action@v3

express:
needs:
- versions
Expand Down
68 changes: 33 additions & 35 deletions packages/datadog-instrumentations/src/helpers/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@
"2.4.2 - 2.6.12",
"3.0.0 - 3.2.7",
"3.0.7 - 3.2.7",
"4.0.0 - 4.4.2"
"4.0.0 - 4.4.3"
],
"18": [
"4.4.1 - 4.4.2"
"4.4.1 - 4.4.3"
],
"strict": [

]
"strict": []
}
},
"aerospike": {
Expand All @@ -26,14 +24,14 @@
"node-versions": {
"16": [
"4.0.0 - 4.0.5"

],
"18": [
"5.2.0 - 5.7.0"
"5.2.0 - 5.12.1"
],
"20": [
"5.12.1"
]}
"5.12.1 - 5.12.1"
]
}
},
"amqp10": {
"plugin-name": "amqp10",
Expand All @@ -53,7 +51,7 @@
"min-version": "0.1.0",
"range": [
"0.1.0 - 0.54.1",
"2.0.0 - 2.9.1"
"2.0.0 - 2.9.3"
]
},
"@aws-sdk/smithy-client": {
Expand Down Expand Up @@ -109,13 +107,13 @@
"cookie-parser": {
"min-version": "1.0.0",
"range": [
"1.0.0 - 1.4.6"
"1.0.0 - 1.4.7"
]
},
"cookie": {
"min-version": "0.0.0",
"range": [
"0.0.0 - 0.6.0"
"0.0.0 - 0.7.2"
]
},
"@cucumber/cucumber": {
Expand Down Expand Up @@ -146,7 +144,7 @@
"10.0.0 - 10.11.0",
"11.0.0 - 11.2.0",
"12.0.0 - 12.17.4",
"13.0.0 - 13.14.2"
"13.0.0 - 13.15.0"
]
},
"@elastic/elasticsearch": {
Expand All @@ -156,7 +154,7 @@
"5.6.16 - 5.6.22",
"6.7.0 - 6.8.8",
"7.0.0 - 7.17.14",
"8.0.0 - 8.14.1"
"8.0.0 - 8.15.1"
]
},
"elasticsearch": {
Expand All @@ -182,7 +180,7 @@
"plugin-name": "express",
"min-version": "4.0.0",
"range": [
"4.0.0 - 4.21.0"
"4.0.0 - 4.21.1"
]
},
"fastify": {
Expand All @@ -207,7 +205,7 @@
"6.0.0 - 6.4.0",
"7.0.0 - 7.7.0",
"8.0.0 - 8.2.2",
"9.0.0 - 9.0.1"
"9.0.0 - 9.1.0"
]
},
"generic-pool": {
Expand All @@ -225,14 +223,14 @@
"1.2.0 - 1.7.3",
"2.0.0 - 2.19.4",
"3.0.0 - 3.7.5",
"4.0.0 - 4.7.2"
"4.0.0 - 4.8.0"
]
},
"@graphql-tools/executor": {
"min-version": "0.0.14",
"range": [
"0.0.14 - 0.0.20",
"1.0.0 - 1.3.1"
"1.0.0 - 1.3.2"
]
},
"graphql": {
Expand All @@ -249,7 +247,7 @@
"plugin-name": "grpc",
"min-version": "1.0.3",
"range": [
"1.0.3 - 1.11.3"
"1.0.3 - 1.12.2"
]
},
"@hapi/hapi": {
Expand Down Expand Up @@ -410,7 +408,7 @@
"3.3.0 - 3.7.4",
"4.0.0 - 4.17.2",
"5.0.0 - 5.9.2",
"6.0.0 - 6.9.0"
"6.0.0 - 6.10.0"
]
},
"mongoose": {
Expand All @@ -421,7 +419,7 @@
"5.0.0 - 5.13.22",
"6.0.0 - 6.13.3",
"7.0.0 - 7.8.2",
"8.0.0 - 8.6.3"
"8.0.0 - 8.7.2"
]
},
"mquery": {
Expand Down Expand Up @@ -460,15 +458,15 @@
"11.0.0 - 11.1.4",
"12.0.0 - 12.3.4",
"13.0.0 - 13.5.7",
"14.0.0 - 14.2.13"
"14.0.0 - 14.2.16"
]
},
"openai": {
"plugin-name": "openai",
"min-version": "3.0.0",
"range": [
"3.0.0 - 3.3.0",
"4.0.0 - 4.64.0"
"4.0.0 - 4.68.2"
]
},
"@opensearch-project/opensearch": {
Expand Down Expand Up @@ -530,7 +528,7 @@
"6.0.0 - 6.14.0",
"7.0.0 - 7.11.0",
"8.0.0 - 8.21.0",
"9.0.0 - 9.4.0"
"9.0.0 - 9.5.0"
]
},
"pino-pretty": {
Expand All @@ -546,21 +544,21 @@
"8.0.0 - 8.1.0",
"9.0.0 - 9.4.1",
"10.0.0 - 10.3.1",
"11.0.0 - 11.2.2"
"11.0.0 - 11.3.0"
]
},
"@playwright/test": {
"min-version": "0.0.0",
"range": [
"0.0.0 - 0.1111.0",
"1.12.0 - 1.47.2"
"1.12.0 - 1.48.1"
]
},
"playwright": {
"min-version": "0.0.0",
"range": [
"0.0.0 - 0.18.0",
"1.0.0 - 1.47.2"
"1.0.0 - 1.48.1"
]
},
"promise-js": {
Expand Down Expand Up @@ -663,13 +661,13 @@
"sequelize": {
"min-version": "0.0.0",
"range": [
"0.0.0 - 0.4.3",
"0.0.0 - 0.2.6",
"1.0.0 - 1.7.11",
"2.0.0 - 2.1.3",
"3.0.0 - 3.35.1",
"4.0.0 - 4.44.4",
"5.1.0 - 5.22.5",
"6.1.0 - 6.37.3"
"6.1.0 - 6.37.4"
]
},
"sharedb": {
Expand All @@ -680,7 +678,7 @@
"2.0.0 - 2.2.6",
"3.0.0 - 3.3.2",
"4.0.0 - 4.1.5",
"5.0.0 - 5.0.4"
"5.0.0 - 5.1.0"
]
},
"tedious": {
Expand Down Expand Up @@ -717,23 +715,23 @@
"3.0.0 - 3.3.6",
"4.0.0 - 4.16.0",
"5.0.0 - 5.28.4",
"6.0.0 - 6.19.8"
"6.0.0 - 6.20.1"
]
},
"vitest": {
"min-version": "0.0.0",
"range": [
"0.0.0 - 0.34.6",
"1.0.0 - 1.6.0",
"2.0.0 - 2.1.1"
"2.0.0 - 2.1.3"
]
},
"@vitest/runner": {
"min-version": "0.28.0",
"range": [
"0.28.0 - 0.34.7",
"1.0.0 - 1.6.0",
"2.0.0 - 2.1.1"
"2.0.0 - 2.1.3"
]
},
"when": {
Expand All @@ -749,8 +747,8 @@
"range": [
"1.0.0 - 1.1.2",
"2.0.0 - 2.4.7",
"3.0.0 - 3.14.2"
"3.0.0 - 3.15.0"
]
}
}
}
}

0 comments on commit 759edcb

Please sign in to comment.