iac/.woodpecker.yml
Aravinth Manivannan b6b58b6156
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix: rm ufw from ci
2023-12-11 14:38:03 +05:30

15 lines
670 B
YAML

steps:
backend:
image: python:3-bookworm
commands:
- whoami
- apt-get update
- apt upgrade -y
- apt-get install -y ca-certificates curl gnupg tar wget libssl-dev python3-pip cython3 pipx
- pipx install --include-deps ansible
- pipx ensurepath && echo $SHELL
- /root/.local/bin/ansible-galaxy install -r ./ansible/requirements.yml
- /root/.local/bin/ansible-playbook --become --connection=local -i localhost, --limit 127.0.0.1 ./ansible/mcaptcha.yml
- pipx install --include-deps pytest-testinfra
- cd tests/cache/ && py.test --verbose base.py
- cd tests/mcaptcha/ && py.test --verbose base.py