-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into tm-disable-client-sqs-context-test
- Loading branch information
Showing
8 changed files
with
42 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ jobs: | |
tav: | ||
uses: ./.github/workflows/test-all-versions.yml | ||
with: | ||
lerna-args: "" | ||
npm-workspace-args: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 7 additions & 5 deletions
12
plugins/node/opentelemetry-instrumentation-aws-sdk/.tav.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
"aws-sdk": | ||
# there are so many version to test, it can take forever. | ||
# we will just sample few of them | ||
versions: ">=2.1266.0 || 2.1262.0 || 2.1219.0 || 2.1048.0 || 2.1012.0 || 2.647.0 || 2.308.0" | ||
# A small subset of releases in the range [2.308.0, 3) to reduce testing time. | ||
versions: "2.308.0 || 2.548.0 || 2.785.0 || 2.1025.0 || 2.1265.0 || 2.1506.0 || >=2.1508.0" | ||
commands: | ||
- npm run test | ||
|
||
"@aws-sdk/client-s3": | ||
versions: ">=3.223.0 || 3.218.0 || 3.216.0 || 3.154.0 || 3.107.0 || 3.54.0 || 3.6.1" | ||
# A small subset of releases in the range [3.6.1, 4) to reduce testing time. | ||
# - 3.377.0 was a bad release (see issue #1828). | ||
versions: "3.6.1 || 3.53.0 || 3.163.0 || 3.266.0 || 3.354.0 || 3.458.0 || >=3.462.0" | ||
commands: | ||
- npm run test | ||
|
||
"@aws-sdk/client-sqs": | ||
versions: ">=3.216.0 || 3.171.0 || 3.58.0 || 3.54.0 || 3.43.0 || 3.24.0" | ||
# A small subset of releases in the range [3.24.0, 4) to reduce testing time. | ||
versions: "3.24.0 || 3.85.0 || 3.194.0 || 3.278.0 || 3.357.0 || 3.461.0 || >=3.462.0" | ||
commands: | ||
- npm run test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Formats `-w WORKSPACE` arguments for `npm run` from "pkg:"-prefixed labels. | ||
* Takes a JSON string as an argument and returns the formatted args in stdout. | ||
* | ||
* arg: '["pkg:instrumentation-pino", "urgent", "pkg:instrumentation-fs"]' | ||
* stdout: '-w @opentelemetry/instrumentation-pino -w @opentelemetry/instrumentation-fs' | ||
*/ | ||
|
||
const labels = JSON.parse(process.argv[2]); | ||
|
||
console.error('Labels:', labels); | ||
|
||
const workspaces = labels | ||
.filter((l) => { | ||
return l.startsWith('pkg:'); | ||
}) | ||
.map((l) => { | ||
return l.replace(/^pkg:/, '@opentelemetry/'); | ||
}); | ||
|
||
console.error('Workspaces:', workspaces); | ||
|
||
console.log(workspaces.map((w) => { return `-w ${w}`; }).join(' ')); |