Files
openproject/docker/dev/backend/scripts/run-test
T
Eric Schubert 3e07975584 [#41480] respond with 401 on invalid bearer tokens
- https://community.openproject.org/work_packages/41480
- amend strategy for doorkeeper to react on all bearer tokens
- added ouath request spec for valid, invalid and revoked token
2022-04-08 14:58:03 +02:00

19 lines
334 B
Bash
Executable File

#!/bin/sh
set -e
set -u
mkdir -p public/assets
mkdir -p tmp/cache
chown -R "$USER:$USER" public/assets
chown -R "$USER:$USER" tmp/cache
echo 'Waiting for the Grid...'
while ! curl -sSL "${SELENIUM_GRID_URL}/status" 2>&1 \
| jq -r '.value.ready' 2>&1 | grep "true" > /dev/null; do
sleep 1
done
exec su "$USER" -c "$@"