Skip to content

Commit 12ee8db

Browse files
authored
test(aws-sdk): set v3 versions based on Node.js support (#2628)
1 parent d4d3c4f commit 12ee8db

File tree

1 file changed

+42
-12
lines changed
  • plugins/node/opentelemetry-instrumentation-aws-sdk

1 file changed

+42
-12
lines changed

plugins/node/opentelemetry-instrumentation-aws-sdk/.tav.yml

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,49 @@
1010
# - https://github.com/open-telemetry/opentelemetry-js-contrib/pull/2464#issuecomment-2403652552
1111
# - https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1828#issuecomment-1834276719
1212

13+
# node version support in JS SDK v3:
14+
# - 14.x dropped in v3.567.0 https://github.com/aws/aws-sdk-js-v3/pull/6034
15+
# - 16.x dropped in v3.723.0 https://github.com/aws/aws-sdk-js-v3/pull/6775
16+
1317
"@aws-sdk/client-s3":
1418
# - 3.529.0 was missing the fast-xml-parser dependency (https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.529.1)
15-
versions:
16-
include: "^3.6.1"
17-
exclude: "3.529.0 || >=3.363.0 <=3.377.0"
18-
mode: "max-7"
19-
commands:
20-
- npm run test
19+
jobs:
20+
- node: ">=18"
21+
versions:
22+
include: "^3.6.1"
23+
exclude: "3.529.0 || >=3.363.0 <=3.377.0"
24+
mode: "max-7"
25+
commands: npm run test
26+
- node: "16"
27+
versions:
28+
include: "^3.6.1 && <3.723.0"
29+
exclude: "3.529.0 || >=3.363.0 <=3.377.0"
30+
mode: "max-7"
31+
commands: npm run test
32+
- node: "14"
33+
versions:
34+
include: "^3.6.1 && <3.567.0"
35+
exclude: "3.529.0 || >=3.363.0 <=3.377.0"
36+
mode: "max-7"
37+
commands: npm run test
2138

2239
"@aws-sdk/client-sqs":
23-
versions:
24-
include: "^3.24.0"
25-
exclude: ">=3.363.0 <=3.377.0"
26-
mode: "max-7"
27-
commands:
28-
- npm run test
40+
jobs:
41+
- node: ">=18"
42+
versions:
43+
include: "^3.24.0"
44+
exclude: ">=3.363.0 <=3.377.0"
45+
mode: "max-7"
46+
commands: npm run test
47+
- node: "16"
48+
versions:
49+
include: "^3.24.0 && <3.723.0"
50+
exclude: ">=3.363.0 <=3.377.0"
51+
mode: "max-7"
52+
commands: npm run test
53+
- node: "14"
54+
versions:
55+
include: "^3.24.0 && <3.567.0"
56+
exclude: ">=3.363.0 <=3.377.0"
57+
mode: "max-7"
58+
commands: npm run test

0 commit comments

Comments
 (0)