Commit 3c01e548 authored by Simon Volpert's avatar Simon Volpert 🐧

Update entry

parent 4a19d9b8
Pipeline #77654 passed with stage
in 37 seconds
...@@ -20,13 +20,21 @@ done ...@@ -20,13 +20,21 @@ done
echo "Grafana is ready" echo "Grafana is ready"
curl --request POST \ for i in $(seq 1 $USERS); do
NAME="USER_NAME_$i"
EMAIL="USER_EMAIL_$i"
LOGIN="USER_LOGIN_$i"
PASSWORD="USER_PASSWORD_$i"
curl --request POST \
--url http://grafana:3000/api/admin/users \ --url http://grafana:3000/api/admin/users \
--header "authorization: Basic ${GF_AUTH_TOKEN}" \ --header "authorization: Basic ${GF_AUTH_TOKEN}" \
--header 'content-type: application/json' \ --header 'content-type: application/json' \
--data '{ --data "{
"name":"Guest", \"name\":\"${!NAME}\",
"email":"felix.engelmann@uni-ulm.de", \"email\":\"${!EMAIL}\",
"login":"felix.engelmann", \"login\":\"${!LOGIN}\",
"password":"956kwRL~RPQ:[Xf*" \"password\":\"${!PASSWORD}\"
}' }"
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment