Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage. You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.
#!/bin/bash
cd $(readlink -fn $(dirname "$BASH_SOURCE")) if which virtualenv; then [[ -d venv/bin ]] || virtualenv -p python3 venv . venv/bin/activate pip install -U pip pip install -U -r requirements.txt else echo "Automated environment setup requires virtualenv." fi