-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove bats tests, use commander instead
- Loading branch information
1 parent
900863d
commit 0dd3bfb
Showing
5 changed files
with
28 additions
and
37 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
tests: | ||
run dgoss with mount strategy: | ||
command: "GOSS_PATH=./../../release/goss-linux-amd64 GOSS_FILES_STRATEGY=mount ./dgoss run nginx:latest" | ||
stdout: | ||
contains: | ||
- "Count: 1, Failed: 0, Skipped: 0" | ||
stderr: | ||
lines: | ||
0: "INFO: Starting docker container" | ||
exit-code: 0 | ||
|
||
run dgoss with cp strategy: | ||
command: "GOSS_PATH=./../../release/goss-linux-amd64 GOSS_FILES_STRATEGY=cp ./dgoss run nginx:latest" | ||
stdout: | ||
contains: | ||
- "Count: 1, Failed: 0, Skipped: 0" | ||
stderr: | ||
lines: | ||
0: "INFO: Creating docker container" | ||
1: "INFO: Copy goss files into container" | ||
exit-code: 0 | ||
|
||
run dgoss with invalid goss path: | ||
command: "GOSS_PATH=/invalid ./dgoss run nginx:latest" | ||
exit-code: 1 |
File renamed without changes.
This file was deleted.
Oops, something went wrong.