-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PV Watchdog automating manual procedures of cisco SOP regarding: kubernetes/cloud-provider-openstack#150 kubernetes/kubernetes#33128 - watches on events for pods - deletes a pod - that has relevant cinder emptyPath event - is in Pending phase - hasn't been deleted in past 60 sec
- Loading branch information
Jan Wozniak
committed
Nov 29, 2018
1 parent
210d257
commit 3706f80
Showing
2,010 changed files
with
782,699 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pipeline: | ||
publish_cisco: | ||
image: plugins/docker | ||
secrets: [docker_username, docker_password] | ||
repo: containers.cisco.com/sopdsre/pvwatch | ||
registry: containers.cisco.com | ||
auto_tag: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM golang:latest AS golang | ||
ENV GOPATH /go | ||
WORKDIR /go/src/github.com/cisco-sso/pvwatch | ||
COPY . . | ||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o pvwatch . | ||
|
||
FROM scratch | ||
COPY --from=golang /go/src/github.com/cisco-sso/pvwatch/pvwatch / | ||
EXPOSE 8080 | ||
ENTRYPOINT ["/pvwatch"] |
Oops, something went wrong.