Skip to content

Commit 3a6f145

Browse files
committed
fix(router): missing check file in git ignored by .gitignore
1 parent f9139bb commit 3a6f145

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ docs/docs.zip
4343
logspout/build/
4444
logspout/Godeps/
4545
publisher/Godeps/
46-
router/parent/Godeps/
46+
router/Godeps/
4747

4848
# coverage reports
4949
.coverage

router/image/bin/check

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
#
3+
# Check that the configuration for deis-router is valid.
4+
#
5+
6+
if grep -q "<no value>" $1 ; then
7+
exit 1
8+
fi
9+
10+
if ! /opt/nginx/sbin/nginx -t -c $1 ; then
11+
exit 1
12+
fi

0 commit comments

Comments
 (0)