forked from gleanerio/gleaner
-
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.
update test scripts to exit on cmd error (i.e. set -e) and add initia…
…l grouping of cmds to gleaner verification gh action
- Loading branch information
1 parent
11243f4
commit 2032e63
Showing
5 changed files
with
20 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/sh | ||
|
||
set -e #exit on error | ||
|
||
MC="$1" | ||
DIR="$2" | ||
DESIRED_COUNT="$3" | ||
|
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,16 +1,17 @@ | ||
#!/bin/sh | ||
|
||
# exit on error | ||
set -e | ||
|
||
|
||
|
||
# set relative path of gleaner config from root of this repository | ||
CFGPATH="configs/iow/pids-geoconnex-dev-gleanerconfig.yaml" | ||
|
||
for src in `cat $CFGPATH | grep '\Wname:'|awk '{print $2}'` | ||
do | ||
|
||
|
||
echo "harvesting source '$src'..." | ||
./gleaner -log debug -cfg $CFGPATH -source $src -rude | ||
./gleaner -log info -cfg $CFGPATH -source $src -rude | ||
done | ||
echo "complete!" | ||
|
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/sh | ||
|
||
set -e # exit on error | ||
|
||
docker run -d \ | ||
--rm \ | ||
|
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,7 +1,12 @@ | ||
#!/bin/sh | ||
|
||
|
||
set -e # exit on error | ||
|
||
# --rm | ||
# --memory | ||
|
||
|
||
docker run -d \ | ||
--rm \ | ||
-p 9000:9000 \ | ||
|