forked from JointCloud/pcm-ac
💚 fix ci/cd bugs
Signed-off-by: devad <cossjie@foxmail.com>
This commit is contained in:
parent
d6af2830cb
commit
237f623ec0
|
@ -25,10 +25,10 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.sjtug.sjtu.edu.cn/g' /etc/apk/repos
|
|||
rm -rf /var/cache/apk/*
|
||||
|
||||
COPY --from=builder /app/pcm-ac .
|
||||
COPY etc/hpcac.yaml .
|
||||
COPY etc/hpcac.yaml /app/etc/
|
||||
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
||||
EXPOSE 2001
|
||||
|
||||
ENTRYPOINT ./pcm-ac -f hpcac.yaml
|
||||
ENTRYPOINT ./pcm-ac
|
8
Makefile
8
Makefile
|
@ -1,2 +1,8 @@
|
|||
rpc-gen:
|
||||
goctl rpc protoc ./pb/*.proto --go_out=./ --go-grpc_out=./ --zrpc_out=.
|
||||
goctl rpc protoc ./pb/*.proto --go_out=./ --go-grpc_out=./ --zrpc_out=.
|
||||
|
||||
Generate:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-ac hpcac.go
|
||||
|
||||
Generate-ARM64:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 GOARM=7 go build -o pcm-ac hpcac.go
|
|
@ -52,8 +52,8 @@ DeleteTaskAi : "/sothisai/api/tasks"
|
|||
GetResourceSpec : "/sothisai/api/tasks/resources"
|
||||
|
||||
#链路追踪
|
||||
Telemetry:
|
||||
Name: pcm-ac-rpc
|
||||
Endpoint: http://jaeger-collector.observability:14268/api/traces
|
||||
Sampler: 1.0
|
||||
Batcher: jaeger
|
||||
#Telemetry:
|
||||
# Name: pcm-ac-rpc
|
||||
# Endpoint: http://jaeger-collector.observability:14268/api/traces
|
||||
# Sampler: 1.0
|
||||
# Batcher: jaeger
|
Loading…
Reference in New Issue