mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 16:11:49 +00:00
##### SUMMARY All `module_utils` are now marked as **private**. None of the modules were intended for public use. Similar to https://togithub.com/ansible-collections/community.general/issues/11312
45 lines
912 B
Makefile
45 lines
912 B
Makefile
SHELL := bash
|
|
.PHONY: vendor clean dev
|
|
|
|
dev:
|
|
cat tests/integration/cloud-config-hcloud.ini.in | envsubst > tests/integration/cloud-config-hcloud.ini
|
|
|
|
vendor:
|
|
python3 scripts/vendor.py
|
|
|
|
vendor-check:
|
|
python3 scripts/vendor.py --check
|
|
|
|
venv:
|
|
python3 -m venv venv
|
|
venv/bin/pip install -r requirements.txt -r requirements-dev.txt
|
|
|
|
lint: venv
|
|
venv/bin/pylint plugins
|
|
|
|
lint-docs: venv
|
|
venv/bin/antsibull-docs lint-collection-docs \
|
|
--plugin-docs \
|
|
--validate-collection-refs self \
|
|
--check-extra-docs-refs \
|
|
.
|
|
|
|
clean:
|
|
git clean -xdf
|
|
|
|
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
|