Debian Codegraph @

ansible_collections/hetzner/hcloud/Makefile

raw
1 SHELL := bash
2 .PHONY: vendor clean dev
3
4 dev:
5 cat tests/integration/cloud-config-hcloud.ini.in | envsubst > tests/integration/cloud-config-hcloud.ini
6
7 vendor:
8 python3 scripts/vendor.py
9
10 vendor-check:
11 python3 scripts/vendor.py --check
12
13 venv:
14 python3 -m venv venv
15 venv/bin/pip install -r requirements.txt -r requirements-dev.txt
16
17 lint: venv
18 venv/bin/pylint plugins
19
20 lint-docs: venv
21 venv/bin/antsibull-docs lint-collection-docs \
22 --plugin-docs \
23 --validate-collection-refs self \
24 --check-extra-docs-refs \
25 .
26
27 clean:
28 git clean -xdf
29
30 sanity:
31 ansible-test sanity --color --truncate 0 -v \
32 --exclude plugins/module_utils/_vendor/ \
33 --exclude scripts/ \
34 --exclude tests/utils/ \
35 --docker default \
36 --allow-disabled
37
38 units:
39 ansible-test units --color --truncate 0 -v \
40 --docker default
41
42 integration:
43 ansible-test integration --color --truncate 0 -v \
44 --docker default \
45 --allow-disabled