blob: 12a2521eaa5db9ea9c345d6c7806a30a8ac66504 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
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
lint: venv
venv/bin/pylint plugins
lint-docs: venv
venv/bin/antsibull-docs lint-collection-docs \
--plugin-docs \
--validate-collection-refs self \
.
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
|