Skip to content

Commit

Permalink
chore(restify): update restify version to 11.1.0 and re-enable unit t…
Browse files Browse the repository at this point in the history
…est in node@18 (open-telemetry#1576)

* chore(restify): upgrade restify to 9.1.0

* chore(restify): upgrade restify to 10.0.0 && re-enable node@18 test

* chore(restify): upgrade restify to 11.1.0

* chore(restify): re-enable test in tav

* chore(restify): update tav with corrent node.js version range check

* chore(restify): fix missing newline

* chore(restify): update tav to version 9.1.0 instead of 9.0.0

* chore: upgrade document and tav for restify

* chore: pin restify version

---------

Co-authored-by: Haddas Bronfman <[email protected]>
  • Loading branch information
chigia001 and haddasbronfman authored Jul 16, 2023
1 parent 6150def commit 432d89e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test-all-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ jobs:
fail-fast: false
matrix:
node: ["14", "16", "18"]
include:
- node: "18"
lerna-extra-args: >-
--ignore @opentelemetry/instrumentation-fastify
--ignore @opentelemetry/instrumentation-restify
runs-on: ubuntu-latest
services:
mongo:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ jobs:
fail-fast: false
matrix:
node: ["14", "16", "18"]
include:
- node: "18"
lerna-extra-args: >-
--ignore @opentelemetry/instrumentation-restify
runs-on: ubuntu-latest
services:
memcached:
Expand Down
9 changes: 7 additions & 2 deletions plugins/node/opentelemetry-instrumentation-restify/.tav.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
restify:
versions: "4.3.4 || 5.2.0 || 6.4.0 || 7.7.0 || ^8.4.0"
commands: npm run test
- versions: "^10.0.0 || ^11.1.0"
node: ">=18"
commands: npm run test

- versions: "4.3.4 || 5.2.0 || 6.4.0 || 7.7.0 || ^8.4.0 || 9.1.0 || ^10.0.0 || ^11.1.0"
node: "<18"
commands: npm run test
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npm install --save @opentelemetry/instrumentation-restify

### Supported Versions

- `>=4.0.0 <9`
- `>=4.0.0 <12`

## Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@types/semver": "^7.3.12",
"mocha": "7.2.0",
"nyc": "15.1.0",
"restify": "8.6.1",
"restify": "11.1.0",
"rimraf": "5.0.0",
"semver": "^7.3.7",
"test-all-versions": "^5.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ export const RESTIFY_METHODS = [
'patch',
];
export const MODULE_NAME = 'restify';
export const SUPPORTED_VERSIONS = ['>=4.0.0 <9'];
export const SUPPORTED_VERSIONS = ['>=4.0.0 <12'];

0 comments on commit 432d89e

Please sign in to comment.