-
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.
- Loading branch information
Showing
14 changed files
with
98 additions
and
1,318 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,2 +1,3 @@ | ||
node_modules | ||
target | ||
target | ||
bin |
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,5 +1,6 @@ | ||
bin | ||
test/actual | ||
test/output | ||
|
||
/target | ||
/test_input | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM debian:stretch as debian-stretch | ||
|
||
WORKDIR /fcheck | ||
|
||
RUN wget https://github.com/gregberns/fcheck/releases/download/0.3.0/fcheck | ||
|
||
# Install any needed libraries | ||
# * `wdiff` has been quite useful for checking text files | ||
# * `netcat` ensures a service's port is open before fcheck starts tests | ||
RUN apt-get update &&\ | ||
apt-get install -y --no-install-recommends wdiff netcat &&\ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
# Config is for the `fcheck-config.toml` file | ||
RUN mkdir /fcheck/config &&\ | ||
# The data directory is used for `actual` and `expected` folders to diff test results | ||
mkdir /fcheck/data &&\ | ||
# The output directory can be used for the output report | ||
mkdir /fcheck/output | ||
|
||
# For local testing, its helpful to just mount the `fcheck-config.toml`, then the container isn't rebuilt every time | ||
CMD ["/bin/fcheck", "--config-file", "/fcheck/config/fcheck-config.toml", "--report-file", "/output/report.json"] |
Oops, something went wrong.