Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Demonstrate use case for CI Debugger #50

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# debugger-demo

CI problems go from ☹️ to ☺️

Is this test working?
4 changes: 3 additions & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env bash

RED='\033[0;31m'
CLEAR='\033[0m'

COUNT=10
while [ $COUNT -gt 0 ]; do
printf "$COUNT "
Expand All @@ -9,5 +11,5 @@ while [ $COUNT -gt 0 ]; do
done
printf "\nINFO: Test completed, 1 test FAILED, 10 total actions\n"
dd bs=1M count=10 if=/dev/urandom of=error.txt status=none
printf "${RED}See error.txt for more info\n"
printf "See ${RED}error.txt${CLEAR} for more info\n"
exit 1