File tree Expand file tree Collapse file tree 3 files changed +17
-14
lines changed
Expand file tree Collapse file tree 3 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ chains:
5757 dockerfile : " ./hack/evm.Dockerfile"
5858 additional_files :
5959 - " ./hack/evmd-entrypoint.sh"
60+ - " ./hack/otel.yaml"
6061 gid : " 1025"
6162 uid : " 1025"
6263 binary_name : " /usr/bin/evmd"
@@ -74,4 +75,4 @@ grafana:
7475 name : " comet-performance"
7576 human_name : " CometBFT Performance"
7677
77- server_address : " localhost:9006"
78+ server_address : " localhost:9006"
Original file line number Diff line number Diff line change @@ -20,19 +20,19 @@ RUN git clone $CHAIN_SRC /src/app && \
2020
2121WORKDIR /src/app/evmd
2222RUN if [ -n "$REPLACE_CMD" ]; then \
23- go mod tidy && \
24- echo "After go mod tidy, applying replace commands:" && \
25- echo "$REPLACE_CMD" > replace_cmd.sh && \
26- chmod +x replace_cmd.sh && \
27- sh replace_cmd.sh && \
28- echo "Final go.mod:" && \
29- cat go.mod && \
30- echo "Updating go.sum with replaced modules:" && \
31- go get ./... && \
32- echo "Done updating go.sum" ; \
33- else \
34- go mod tidy; \
35- fi
23+ go mod tidy && \
24+ echo "After go mod tidy, applying replace commands:" && \
25+ echo "$REPLACE_CMD" > replace_cmd.sh && \
26+ chmod +x replace_cmd.sh && \
27+ sh replace_cmd.sh && \
28+ echo "Final go.mod:" && \
29+ cat go.mod && \
30+ echo "Updating go.sum with replaced modules:" && \
31+ go get ./... && \
32+ echo "Done updating go.sum" ; \
33+ else \
34+ go mod tidy; \
35+ fi
3636WORKDIR /src/app
3737
3838RUN make build
@@ -44,6 +44,7 @@ RUN addgroup -g 1025 nonroot
4444RUN adduser -D nonroot -u 1025 -G nonroot
4545RUN mkdir -p /home/nonroot && chown nonroot:nonroot /home/nonroot
4646ARG IMG_TAG
47+ COPY otel.yaml /etc/otel.yaml
4748COPY evmd-entrypoint.sh /usr/bin/entrypoint.sh
4849RUN chmod +x /usr/bin/entrypoint.sh
4950COPY --from=evmd-builder /src/app/build/evmd /usr/bin/evmd
Original file line number Diff line number Diff line change 1+ file_format : " 1.0-rc.3"
12resource :
23 attributes :
34 - name : service.name
You can’t perform that action at this time.
0 commit comments