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
--url http://grafana:3000/api/admin/users \
--header "authorization: Basic ${GF_AUTH_TOKEN}" \ NAME="USER_NAME_$i"
--header 'content-type: application/json' \ EMAIL="USER_EMAIL_$i"
--data '{ LOGIN="USER_LOGIN_$i"
"name":"Guest", PASSWORD="USER_PASSWORD_$i"
"email":"felix.engelmann@uni-ulm.de",
"login":"felix.engelmann", curl --request POST \
"password":"956kwRL~RPQ:[Xf*" --url http://grafana:3000/api/admin/users \
}' --header "authorization: Basic ${GF_AUTH_TOKEN}" \
--header 'content-type: application/json' \
--data "{
\"name\":\"${!NAME}\",
\"email\":\"${!EMAIL}\",
\"login\":\"${!LOGIN}\",
\"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