Compare commits

..

No commits in common. 'dev' and 'master' have entirely different histories.
dev ... master

  1. 6
      Dockerfile
  2. 2
      Jenkinsfile
  3. 2
      hotspot-clear-job-dev.yaml

6
Dockerfile

@ -4,7 +4,7 @@ COPY . /src
WORKDIR /src
RUN go mod tidy
RUN go build main.go
RUN go build hot.go
FROM 192.168.1.131:8888/library/alpine:3.13
RUN apk add make
@ -16,6 +16,6 @@ RUN echo "Asia/Shanghai" > /etc/timezone
WORKDIR /app
COPY --from=builder /src/configs /app/configs
COPY --from=builder /src/main /app/main
ENTRYPOINT ["./main"]
COPY --from=builder /src/hot /app/hot
ENTRYPOINT ["./hot"]

2
Jenkinsfile vendored

@ -114,7 +114,7 @@ pipeline {
stage('apply') {
steps {
apply()
// apply()
echo '执行apply 完成'
}
}

2
message-clear-job-dev.yaml → hotspot-clear-job-dev.yaml

@ -12,7 +12,7 @@ spec:
spec:
containers:
- name: message-clear
image: 192.168.1.131:8888/job/dev/message-clear:2fa9f99e86f55f384cfd6bced7ad5c9737c963aa
image: 192.168.1.131:8888/job/dev/message-clear:7d42712db2fa490b8763183fecb1c0e291b80f7a
env:
- name: JM_ENVIRONMENT
value: dev
Loading…
Cancel
Save