* refactor: switch to yarn 3 * chore: add other os+cpu to yarn supported architectures * chore: add gitattributes * chore: add missing yarn native modules rebuild step * chore: replace npx with yarn in test_runner + update readme * chore: remove bootstrap-datepicker github dependency, use local instead
24 lines
483 B
Bash
Executable file
24 lines
483 B
Bash
Executable file
#!/bin/bash
|
|
|
|
WORKSPACEDIR="/workspace"
|
|
|
|
pushd .
|
|
cd $WORKSPACEDIR
|
|
|
|
echo "Starting datatracker server..."
|
|
ietf/manage.py runserver 0.0.0.0:8000 --settings=settings_local > /dev/null 2>&1 &
|
|
serverPID=$!
|
|
|
|
echo "Waiting for server to come online ..."
|
|
/usr/local/bin/wait-for localhost:8000 -- echo "Server ready"
|
|
|
|
echo "Run dbus process to silence warnings..."
|
|
sudo mkdir -p /run/dbus
|
|
sudo dbus-daemon --system &> /dev/null
|
|
|
|
echo "Starting JS tests..."
|
|
yarn cypress
|
|
|
|
kill $serverPID
|
|
popd
|