From d9028d98d6b0fb6d0d1489db47d6c572ca8d1008 Mon Sep 17 00:00:00 2001 From: davidnewhall2 Date: Tue, 4 Feb 2020 16:37:15 -0800 Subject: [PATCH] script fixes --- dashboards.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dashboards.sh b/dashboards.sh index ac2d056..9d95e04 100755 --- a/dashboards.sh +++ b/dashboards.sh @@ -6,7 +6,8 @@ if [ "$TRAVIS_COMMIT_RANGE" = "" ]; then fi CHANGES=$(git diff --name-only --diff-filter=AM $TRAVIS_COMMIT_RANGE) -echo "CHANGED: $CHANGES" +echo "CHANGED (per git):" +echo "$CHANGES" declare -a DASHMAP @@ -121,6 +122,8 @@ function deploy { curl -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${GRAFANA_API_KEY}" \ "https://grafana.com/api/dashboards/$i/revisions" --form "json=@${WHERE}${DASHMAP[$i]};type=application/json" + echo + done }