Skip to content

Commit

Permalink
fix(opentelemetry): fixed version due to breaking changes
Browse files Browse the repository at this point in the history
Signed-off-by: leofvo <[email protected]>
  • Loading branch information
leofvo committed Feb 24, 2023
1 parent e3d8503 commit 5395af1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@polyflix:registry=https://gitlab.polytech.umontpellier.fr/api/v4/projects/1343/packages/npm/
@polyflix:registry=https://npm.pkg.github.com
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ WORKDIR /home/node
ENV NODE_ENV production
COPY --chown=node:node . .

RUN npm config set \
@polyflix:registry https://gitlab.polytech.umontpellier.fr/api/v4/projects/1343/packages/npm/ && \
npm config set -- \
'//gitlab.polytech.umontpellier.fr/api/v4/projects/1343/packages/npm/:_authToken' \
"${GITLAB_REGISTRY_TOKEN}" && \
npm install && \
rm -rf ~/.npm ~/.npmrc

USER node
EXPOSE 5000
HEALTHCHECK --interval=10s --start-period=5s CMD curl --fail http://localhost:5000/api/v1/health || exit 1
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"@opentelemetry/context-async-hooks": "^1.0.1",
"@opentelemetry/core": "^1.0.1",
"@opentelemetry/exporter-trace-otlp-grpc": "^0.27.0",
"@opentelemetry/resources": "^1.0.1",
"@opentelemetry/sdk-node": "^0.27.0",
"@opentelemetry/resources": "1.0.1",
"@opentelemetry/sdk-node": "0.27.0",
"@opentelemetry/sdk-trace-base": "^1.0.1",
"@opentelemetry/semantic-conventions": "^1.0.1",
"@polyflix/x-utils": "^1.3.1",
Expand Down Expand Up @@ -107,4 +107,4 @@
"<rootDir>/src/"
]
}
}
}

0 comments on commit 5395af1

Please sign in to comment.