-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
31 lines (21 loc) · 902 Bytes
/
Makefile
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
VERSION := $(shell grep ^version: galaxy.yml | cut -d" " -f2)
TARGET := ibre5041-ansible_oracle_modules-$(VERSION).tar.gz
all: build install
build:
ansible-galaxy collection build --force
install:
ansible-galaxy collection install --force ${TARGET}
cp -f tests/integration/integration_config.yml ~/.ansible/collections/ansible_collections/ibre5041/ansible_oracle_modules/tests/integration/
clean:
rm -f ibre5041-ansible_oracle_modules-*.tar.gz
# test individual role: make test ROLE=test_oracle_profile
test:
cd ~/.ansible/collections/ansible_collections/ibre5041/ansible_oracle_modules/tests/integration && ansible-test integration $(ROLE)
check: build
python3 -m galaxy_importer.main ${TARGET}
doc:
antsibull-changelog release
echo "place changes into changelogs/changelog.yaml"
antsibull-changelog lint-changelog-yaml changelogs/changelog.yaml
antsibull-changelog generate
all: