summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Biz/Bild/ShellHook.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/Biz/Bild/ShellHook.sh b/Biz/Bild/ShellHook.sh
index e307e04..a41d050 100644
--- a/Biz/Bild/ShellHook.sh
+++ b/Biz/Bild/ShellHook.sh
@@ -80,6 +80,25 @@ function ship() {
done
}
+function run-sentry() {
+ urls=(
+ http://que.run
+ https://devalloc.io
+ https://simatime.com
+ https://tv.simatime.com
+ https://bsima.me
+ )
+ for url in ${urls[@]}
+ do
+ code=$(curl -L --max-time 10 --silent --show-error --insecure \
+ --output /dev/null \
+ --write-out "%{http_code}" "$url")
+ echo "$code $url"
+ done
+}
+export -f run-sentry
+alias sentry="watch --exec bash -c run-sentry"
+
# Poor man's ci
function run-ci() {
lint **/* && bild **/*