File tree Expand file tree Collapse file tree 5 files changed +25
-8
lines changed Expand file tree Collapse file tree 5 files changed +25
-8
lines changed Original file line number Diff line number Diff line change 34
34
"matchPackageNames" : [ "eclipse-temurin" ] ,
35
35
"enabled" : false
36
36
}
37
+ ] ,
38
+ "customManagers" : [
39
+ {
40
+ "customType" : "regex" ,
41
+ "description" : "Update _VERSION variables in Dockerfiles" ,
42
+ "fileMatch" : [
43
+ "(^|/|\\.)Dockerfile$" ,
44
+ "(^|/)Dockerfile\\.[^/]*$"
45
+ ] ,
46
+ "matchStrings" : [
47
+ "# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
48
+ ]
49
+ }
37
50
]
38
51
}
Original file line number Diff line number Diff line change 30
30
uses : actions/upload-artifact@v4
31
31
if : failure()
32
32
with :
33
- name : docker-compose. log
34
- path : oats/yaml/build/**/output .log
33
+ name : log output
34
+ path : oats/yaml/build/**/* .log
Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ FROM eclipse-temurin:21-jre
2
2
3
3
WORKDIR /usr/src/app/
4
4
5
- COPY build/libs/*SNAPSHOT.jar ./app.jar
6
- # we ignore the version (which is from upstream) and use the latest version of the grafana distribution
7
- # todo: with renovate update
8
- ADD --chmod=644 https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.10.0/opentelemetry-javaagent.jar /usr/src/app/opentelemetry-javaagent.jar
9
- ENV JAVA_TOOL_OPTIONS=-javaagent:/usr/src/app/opentelemetry-javaagent.jar
5
+ # renovate: datasource=github-releases depName=opentelemetry-java-instrumentation packageName=open-telemetry/opentelemetry-java-instrumentation
6
+ ENV OPENTELEMETRY_JAVA_INSTRUMENTATION_VERSION=v2.10.0
7
+
8
+ ADD build/libs/*SNAPSHOT.jar ./app.jar
9
+ ADD --chmod=644 https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/$OPENTELEMETRY_JAVA_INSTRUMENTATION_VERSION/opentelemetry-javaagent.jar ./opentelemetry-javaagent.jar
10
+ ENV JAVA_TOOL_OPTIONS=-javaagent:./opentelemetry-javaagent.jar
10
11
11
12
EXPOSE 8080
12
13
ENTRYPOINT [ "java" , "-jar" , "./app.jar" ]
Original file line number Diff line number Diff line change 4
4
5
5
1 . Build the Docker image using using ` build.sh `
6
6
2 . Deploy the manifest using ` kubectl apply -f k8s/ ` (e.g. using [ k3d.sh] ( k3d.sh ) )
7
- 3 . Generate traffic using [ generate-traffic.sh] ( ../../.. /generate-traffic.sh )
7
+ 3 . Generate traffic using [ generate-traffic.sh] ( ./generate-traffic.sh )
8
8
4 . Log in to [ http://localhost:3000 ] ( http://localhost:3000 ) with user _ admin_ and password _ admin_ .
9
9
5 . Go to "Explore"
10
10
6 . Select "Loki" as data source
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ watch ' curl -s http://localhost:8080/rolldice'
You can’t perform that action at this time.
0 commit comments