Skip to content

Commit 36ce37d

Browse files
authored
fix(staging): revise datadog-agent start process (#2935)
1 parent 463a9b7 commit 36ce37d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile.staging

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@ RUN ["sh", "-c", "DD_AGENT_MAJOR_VERSION=7 DD_INSTALL_ONLY=true DD_API_KEY=${DD_
1313
WORKDIR /gossamer
1414

1515
COPY . .
16-
1716
RUN ["sh", "-c", "mv .github/workflows/staging/openmetrics.d/${chain}-conf.yaml /etc/datadog-agent/conf.d/openmetrics.d/conf.yaml"]
18-
RUN service datadog-agent start
1917

2018
RUN go get ./...
2119
RUN go install -trimpath github.com/ChainSafe/gossamer/cmd/gossamer
2220

2321
RUN ["sh", "-c", "gossamer init --chain=${chain}"]
24-
ENTRYPOINT ["sh", "-c", "service datadog-agent restart && gossamer --chain=${chain} --basepath=${basepath}/${chain} --publish-metrics --metrics-address=\":9876\" --pprofserver --pprofaddress=\":6060\""]
22+
ENTRYPOINT ["sh", "-c", "service datadog-agent start && gossamer --chain=${chain} --basepath=${basepath}/${chain} --publish-metrics --metrics-address=\":9876\" --pprofserver --pprofaddress=\":6060\""]
2523
EXPOSE 7001 8546 8540 9876 6060

0 commit comments

Comments
 (0)