mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-26 19:03:14 +00:00
25 lines
660 B
Makefile
25 lines
660 B
Makefile
# Also needs to be updated in galaxy.yml
|
|
VERSION = 0.1.0
|
|
|
|
# To run sanity tests in a venv, set SANITY_TEST_ARGS to '--venv'
|
|
SANITY_TEST_ARGS ?= --docker --color
|
|
|
|
clean:
|
|
rm -f community-okd-$(VERSION).tar.gz
|
|
rm -rf ansible_collections
|
|
|
|
build: clean
|
|
ansible-galaxy collection build
|
|
|
|
install: build
|
|
ansible-galaxy collection install -p ansible_collections community-okd-$(VERSION).tar.gz
|
|
|
|
test-sanity: install
|
|
cd ansible_collections/community/okd && ansible-test sanity -v $(SANITY_TEST_ARGS)
|
|
|
|
test-integration: install
|
|
molecule test
|
|
|
|
test-integration-incluster: install
|
|
ANSIBLE_COLLECTIONS_PATHS=$(shell pwd) ansible-playbook ci/incluster_integration.yml
|