Skip to content

Commit

Permalink
[grizzly] Remove grizzly working directory artifact code
Browse files Browse the repository at this point in the history
  • Loading branch information
tysmith committed Jul 3, 2024
1 parent ccac8cc commit 6e5ab56
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions services/bugmon/launch-bugmon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,3 @@ case "$BUG_ACTION" in
exit 1
;;
esac >"$ARTIFACT_DEST/live.log" 2>&1

# Record grizzly logs as an artifact
if [[ -d /tmp/grizzly ]]; then
cp -r /tmp/grizzly "$ARTIFACT_DEST/tmp-grizzly"
fi
4 changes: 0 additions & 4 deletions services/grizzly-win/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ echo "returned $exit_code" >&2
echo "sleeping so logs can flush" >&2
sleep 15

# Archive grizzly working directory
# Excludes the target directory because on Windows it may contain open files
7z a -tzip tmp_grizzly.zip AppData/Local/Temp/grizzly/* -x\!AppData/Local/Temp/grizzly/target/ || touch tmp_grizzly.zip

case $exit_code in
5) # grizzly.common.utils.Exit
# expected results not reproduced (opposite of SUCCESS)
Expand Down
5 changes: 0 additions & 5 deletions services/grizzly/launch-grizzly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ function onexit () {
sleep 15
killall -INT td-agent-bit || true
sleep 15
if [[ -d /tmp/grizzly ]]
then
echo "Saving grizzly logs..." >&2
cp -r /tmp/grizzly /logs/tmp-grizzly
fi
}
trap onexit EXIT

Expand Down

0 comments on commit 6e5ab56

Please sign in to comment.