forked from eclipse-edc/Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: building connector jars for telemetry end to end test from …
…docker compose file (eclipse-edc#132) * fix: fixing wrong command for ./gradlew test in verify.yaml * fix: raising timeouts to 30s * refactor: building docker images for opentelemetry consumer & provider from dockerfile * fix: remove WEB_HTTP_DSP_PORT & WEB_HTTP_DSP_PATH from docker-compose.yaml * fix: revert temp config * docs: updating README.md for opentelemetry * docs: updating README.md for opentelemetry * refactor: using opentelemetry agent from within docker container
- Loading branch information
1 parent
2ea2768
commit 7a233cf
Showing
9 changed files
with
84 additions
and
50 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
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
11 changes: 11 additions & 0 deletions
11
transfer/transfer-04-open-telemetry/open-telemetry-consumer/Dockerfile
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,11 @@ | ||
FROM gradle:jdk17 AS build | ||
|
||
WORKDIR /home/gradle/project/ | ||
COPY --chown=gradle:gradle . /home/gradle/project/ | ||
RUN gradle transfer:transfer-04-open-telemetry:open-telemetry-consumer:build | ||
|
||
FROM openjdk:17-slim | ||
|
||
WORKDIR /app | ||
COPY --from=build /home/gradle/project/transfer/transfer-04-open-telemetry/opentelemetry-javaagent.jar /app/libs/opentelemetry-javaagent.jar | ||
COPY --from=build /home/gradle/project/transfer/transfer-04-open-telemetry/open-telemetry-consumer/build/libs/consumer.jar /app/connector.jar |
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
11 changes: 11 additions & 0 deletions
11
transfer/transfer-04-open-telemetry/open-telemetry-provider/Dockerfile
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,11 @@ | ||
FROM gradle:jdk17 AS build | ||
|
||
WORKDIR /home/gradle/project/ | ||
COPY --chown=gradle:gradle . /home/gradle/project/ | ||
RUN gradle transfer:transfer-04-open-telemetry:open-telemetry-provider:build | ||
|
||
FROM openjdk:17-slim | ||
|
||
WORKDIR /app | ||
COPY --from=build /home/gradle/project/transfer/transfer-04-open-telemetry/opentelemetry-javaagent.jar /app/libs/opentelemetry-javaagent.jar | ||
COPY --from=build /home/gradle/project/transfer/transfer-04-open-telemetry/open-telemetry-provider/build/libs/provider.jar /app/connector.jar |
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