Colored Output
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
2023-10-08 22:03:52 +13:00
parent 0adb495154
commit 5ad8dde9aa
3 changed files with 8 additions and 5 deletions

View File

@@ -11,6 +11,8 @@ steps:
environment:
ANSIBLE_CALLBACK_WHITELIST: profile_tasks
EPEL_MIRROR_URL: https://mirrors.guise.net.nz/epel
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:

View File

@@ -3,7 +3,7 @@
extends: default
ignore: |
env/
.venv/
rules:
braces:
max-spaces-inside: 1

View File

@@ -4,11 +4,12 @@ clean:
find . -name '*.py[co]' -delete
virtualenv:
virtualenv --prompt '|> ansible-role-common <| ' env
env/bin/pip install -r requirements.txt
env/bin/ansible-galaxy collection install -r requirements.yml
virtualenv --prompt '|> ansible-role-common <| ' .venv
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r requirements.txt
.venv/bin/ansible-galaxy collection install -r requirements.yml
@echo
@echo "VirtualENV Setup Complete. Now run: source env/bin/activate"
@echo "VirtualENV Setup Complete. Now run: source .venv/bin/activate"
@echo
test: