Code cleanup and tests

This commit is contained in:
Ben Picolo 2017-01-04 10:35:00 -05:00
parent 5f392f0ba5
commit 9b92f96ed0
7 changed files with 92 additions and 21 deletions

View file

@ -0,0 +1,3 @@
FROM cogniteev/echo
CMD ["echo", "This is overwritten by the hooks.yaml 'entry'"]

View file

@ -0,0 +1,11 @@
- id: docker-hook
name: Docker test hook
entry: echo
language: docker
files: \.txt$
- id: docker-hook-failing
name: Docker test hook with nonzero exit code
entry: bork
language: docker
files: \.txt$