This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/scripts/ci_prepare.sh

13 lines
335 B
Bash
Raw Normal View History

#!/bin/bash -xe
2021-08-30 18:21:15 +00:00
docker-compose -f scripts/ci.docker-compose.yml up -d
2021-12-24 22:25:38 +00:00
2021-08-30 18:21:15 +00:00
sudo apt update
sudo apt install -y libxmlsec1-dev pkg-config
2021-12-24 22:25:38 +00:00
python3 -m pip install -U wheel poetry
poetry env use python3.10
if [[ "$INSTALL" != "true" ]]; then
2021-12-24 22:25:38 +00:00
poetry install
fi
2021-12-24 22:25:38 +00:00
poetry run python -m scripts.generate_ci_config
npm install -g pyright@1.1.136