diff --git a/.gitignore b/.gitignore index b6d592e..0b92558 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /logs +/img/status.svg diff --git a/bin/run_ci_tests.sh b/bin/run_ci_tests.sh index a801482..618c516 100755 --- a/bin/run_ci_tests.sh +++ b/bin/run_ci_tests.sh @@ -46,13 +46,15 @@ prepare_venv install_repo run_tests ret=$? +cleanup if [[ $ret == 0 ]]; then echo "Status: PASSED" + cp ./img/passed.svg ./img/status.svg else echo "Status: FAILED" + cp ./img/failed.svg ./img/status.svg fi -cleanup exit $ret diff --git a/img/failed.svg b/img/failed.svg new file mode 100644 index 0000000..9f2e346 --- /dev/null +++ b/img/failed.svg @@ -0,0 +1 @@ +buildbuildfailingfailing \ No newline at end of file diff --git a/img/passed.svg b/img/passed.svg new file mode 100644 index 0000000..983bcec --- /dev/null +++ b/img/passed.svg @@ -0,0 +1 @@ +build: passingbuildpassing \ No newline at end of file