-
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.
enough tests 76% coverage dockerfile
- Loading branch information
Showing
10 changed files
with
154 additions
and
90 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 |
---|---|---|
@@ -1,9 +1,16 @@ | ||
#!/bin/sh | ||
# | ||
# Update the TODO file on commit | ||
# Update $TODO_FILE on commit | ||
# Hooks, except the push related ones run in repo root | ||
|
||
exec 1>&2 | ||
|
||
echo Updating TODO file from $(pwd) | ||
grep -ri TODO * > TODO | ||
exec git add TODO | ||
TODO_FILE=TODO.md | ||
echo Updating $TODO_FILE from $(pwd) | ||
cat > $TODO_FILE <<EOF | ||
# TODOs | ||
Generated from lines with TODO in the repo , use the pre-commit hook in `.githooks`. | ||
EOF | ||
grep --exclude-dir=.git\* --exclude=\*.md -rn TODO | ||
grep -ri TODO * >> $TODO_FILE | ||
exec git add $TODO_FILE |
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,16 @@ | ||
FROM golang:1.14 as builder | ||
|
||
RUN CGO_ENABLED=0 go get github.com/TykTechnologies/gromit | ||
|
||
# generate clean, final image for end users | ||
FROM alpine:latest | ||
COPY --from=builder /go/bin/* /usr/bin/ | ||
|
||
EXPOSE 443 | ||
VOLUME /cfssl | ||
WORKDIR /cfssl | ||
|
||
# executable | ||
ENTRYPOINT [ "gromit" ] | ||
# arguments that can be overridden | ||
CMD [ "serve", "--certpath=gromit/server" ] |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
cmd/serve.go:// TODO: Implement newbuild ahndler in new mux code | ||
# TODOs | ||
Generated from lines with TODO in the repo , use the pre-commit hook in . | ||
Binary file gromit matches | ||
server/app.go:// TODO Implement listing of all environments |
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
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
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
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
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
Oops, something went wrong.