Compare commits
2 Commits
a6a8f4c97a
..
stage
| Author | SHA1 | Date | |
|---|---|---|---|
| d0c791f477 | |||
| 481a0b9744 |
@@ -1,11 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sh -c "rm -rfv prov-test"
|
||||
REPO_NAME="git-repo"
|
||||
|
||||
sh -c "rm -rfv $LOCAL_REPO_NAME"
|
||||
|
||||
echo "Downloading Repo '$REPO' : Branch '$BRANCH'"
|
||||
git clone $REPO --branch=$BRANCH prov-test
|
||||
git clone $REPO --branch=$BRANCH $LOCAL_REPO_NAME
|
||||
|
||||
cd prov-test
|
||||
cd $LOCAL_REPO_NAME
|
||||
|
||||
echo "Starting Executable Script '$EXEC'"
|
||||
|
||||
|
||||
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
# 20260804 - Hyperling
|
||||
|
||||
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
|
||||
source $DIR/.env
|
||||
|
||||
## Parameters ##
|
||||
|
||||
num_lines="$1"
|
||||
if [[ -z "$num_lines" ]]; then
|
||||
num_lines=20
|
||||
fi
|
||||
|
||||
## Setup ##
|
||||
|
||||
source $DIR/.env
|
||||
|
||||
## Main ##
|
||||
|
||||
ls $PT_STORAGE_DIR/*/test.log | while read test_log; do
|
||||
echo -e "\n*** $test_log ***\n"
|
||||
tail -n $num_lines $test_log
|
||||
echo -e "\n\n"
|
||||
done
|
||||
Reference in New Issue
Block a user