From 5f63606ee983b598d2ad8260e2fb2399cda29a7b Mon Sep 17 00:00:00 2001 From: Amir Blum Date: Wed, 16 Mar 2022 14:55:55 +0200 Subject: [PATCH] fix(amqplib): add missing rabbit service to CI daily run (#946) * fix(amqplib): add missing rabbit service to CI daily run * ci: don't run amqplib tav on node 8 Co-authored-by: Rauno Viskus --- .github/workflows/test-all-versions.yml | 8 ++++++++ plugins/node/instrumentation-amqplib/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-all-versions.yml b/.github/workflows/test-all-versions.yml index 1289d1fe1e7..1e184a0c830 100644 --- a/.github/workflows/test-all-versions.yml +++ b/.github/workflows/test-all-versions.yml @@ -22,6 +22,7 @@ jobs: --ignore @opentelemetry/instrumentation-aws-sdk --ignore @opentelemetry/instrumentation-pino --ignore @opentelemetry/instrumentation-tedious + --ignore @opentelemetry/instrumentation-amqplib - node: "10" lerna-extra-args: >- --ignore @opentelemetry/instrumentation-pino @@ -87,6 +88,13 @@ jobs: image: bitnami/cassandra:3 ports: - 9042:9042 + rabbitmq: + image: rabbitmq:3 + ports: + - 22221:5672 + env: + RABBITMQ_DEFAULT_USER: username + RABBITMQ_DEFAULT_PASS: password env: RUN_CASSANDRA_TESTS: 1 RUN_MEMCACHED_TESTS: 1 diff --git a/plugins/node/instrumentation-amqplib/package.json b/plugins/node/instrumentation-amqplib/package.json index 4e64a04250e..4d8c0695474 100644 --- a/plugins/node/instrumentation-amqplib/package.json +++ b/plugins/node/instrumentation-amqplib/package.json @@ -32,7 +32,7 @@ "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", - "precompile": "tsc --version && lerna run version --scope $(npm pkg get name) --include-dependencies", + "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-amqplib --include-dependencies", "prewatch": "npm run precompile", "prepare": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch",