2023-07-11 09:15:08 +00:00
|
|
|
SHELL := bash
|
|
|
|
.PHONY: vendor clean
|
|
|
|
|
|
|
|
vendor:
|
|
|
|
python3 scripts/vendor.py
|
|
|
|
|
2023-10-06 14:02:46 +00:00
|
|
|
vendor-check:
|
|
|
|
python3 scripts/vendor.py --check
|
|
|
|
|
2023-09-15 08:25:22 +00:00
|
|
|
venv:
|
|
|
|
python3 -m venv venv
|
|
|
|
venv/bin/pip install -r requirements.txt
|
|
|
|
|
|
|
|
lint: venv
|
|
|
|
venv/bin/pylint plugins
|
|
|
|
|
2023-10-09 11:42:59 +00:00
|
|
|
lint-docs: venv
|
|
|
|
venv/bin/antsibull-docs lint-collection-docs \
|
|
|
|
--plugin-docs \
|
|
|
|
--validate-collection-refs self \
|
|
|
|
--skip-rstcheck \
|
|
|
|
.
|
2023-10-06 14:02:46 +00:00
|
|
|
|
2023-07-11 09:15:08 +00:00
|
|
|
clean:
|
|
|
|
git clean -xdf \
|
|
|
|
-e tests/integration/cloud-config-hcloud.ini
|
2023-11-24 11:13:46 +00:00
|
|
|
|
|
|
|
sanity:
|
|
|
|
ansible-test sanity --color --truncate 0 -v \
|
|
|
|
--exclude plugins/module_utils/vendor/ \
|
|
|
|
--exclude scripts/ \
|
|
|
|
--exclude tests/utils/ \
|
|
|
|
--docker default \
|
|
|
|
--allow-disabled
|
|
|
|
|
|
|
|
units:
|
|
|
|
ansible-test units --color --truncate 0 -v \
|
|
|
|
--docker default
|
|
|
|
|
|
|
|
integration:
|
|
|
|
ansible-test integration --color --truncate 0 -v \
|
|
|
|
--docker default \
|
|
|
|
--allow-disabled
|