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

2
Jenkinsfile vendored

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

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

@ -12,7 +12,7 @@ spec:
spec: spec:
containers: containers:
- name: message-clear - 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: env:
- name: JM_ENVIRONMENT - name: JM_ENVIRONMENT
value: dev value: dev
Loading…
Cancel
Save