This repository was archived by the owner on Jan 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-20
lines changed Expand file tree Collapse file tree 4 files changed +5
-20
lines changed Original file line number Diff line number Diff line change @@ -28,4 +28,5 @@ script:
2828 - travis_wait 30 make
2929
3030after_success :
31+ - docker run --volume=$(pwd):/out --entrypoint=sh logicmonitor/argus:latest cp /tmp/coverage.txt /out
3132 - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change @@ -10,12 +10,14 @@ RUN go get -u github.com/alecthomas/gometalinter
1010RUN gometalinter --install
1111COPY --from=build $GOPATH/src/github.com/logicmonitor/k8s-argus ./
1212RUN chmod +x ./scripts/test.sh; sync; ./scripts/test.sh
13+ RUN cp coverage.txt /tmp/coverage.txt
1314
1415FROM alpine:3.6
1516MAINTAINER Andrew Rynhard <
[email protected] >
1617RUN apk --update add ca-certificates \
1718 && rm -rf /var/cache/apk/* \
1819 && rm -rf /var/lib/apk/*
1920WORKDIR /app
21+ COPY --from=test /coverage.txt /tmp/coverage.txt
2022COPY --from=build /argus /bin
2123ENTRYPOINT ["argus" ]
Original file line number Diff line number Diff line change @@ -3,4 +3,5 @@ REPOSITORY := argus
33VERSION := 0.1.0-alpha.2
44
55all :
6- docker build --build-arg VERSION=$(VERSION ) -t $(NAMESPACE ) /$(REPOSITORY ) :$(VERSION ) .
6+ docker build --build-arg VERSION=$(VERSION ) -t $(NAMESPACE ) /$(REPOSITORY ) :latest .
7+ docker tag $(NAMESPACE ) /$(REPOSITORY ) :latest $(NAMESPACE ) /$(REPOSITORY ) :$(VERSION )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments