-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new tests for the Start api entry point and rework the tests so t…
…hat we can run with different docker files. Yeah --mount would have been so easy to use but a few environments I tested in were running older docker versions.
- Loading branch information
Showing
6 changed files
with
106 additions
and
23 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 @@ | ||
Dockerfile |
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,11 +1,17 @@ | ||
#!/usr/bin/env make | ||
|
||
TEST_IMAGE = "reaper/test" | ||
CONFIG_TEST_IMAGE = "reaper/config-test" | ||
|
||
all: tests | ||
|
||
test: tests | ||
|
||
tests: | ||
(go build testpid1.go; docker build -t reaper/test .; ./runtests.sh) | ||
|
||
|
||
|
||
(go build testpid1.go; \ | ||
cp docker-files/no-config/Dockerfile .; \ | ||
docker build -t $(TEST_IMAGE) .; \ | ||
./runtests.sh; \ | ||
cp docker-files/json-config/Dockerfile .; \ | ||
docker build -t $(CONFIG_TEST_IMAGE) .; \ | ||
./runtests.sh "$(CONFIG_TEST_IMAGE)" ) |
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,4 @@ | ||
{ | ||
"Pid": 0, | ||
"Options": 0 | ||
} |
File renamed without changes.
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