mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 00:55:06 +03:00
Enable easier building of playbooks for local Collections module testing
This commit is contained in:
parent
f9e0600263
commit
f00344f8b4
6
Makefile
6
Makefile
@ -411,7 +411,11 @@ test_collection_sanity:
|
||||
|
||||
build_collection:
|
||||
ansible-playbook -i localhost, awx_collection/template_galaxy.yml -e collection_package=$(COLLECTION_PACKAGE) -e collection_namespace=$(COLLECTION_NAMESPACE) -e collection_version=$(VERSION)
|
||||
ansible-galaxy collection build awx_collection --output-path=awx_collection
|
||||
ansible-galaxy collection build awx_collection --force --output-path=awx_collection
|
||||
|
||||
install_collection: build_collection
|
||||
rm -rf ~/.ansible/collections/ansible_collections/awx/awx
|
||||
ansible-galaxy collection install awx_collection/awx-awx-$(VERSION).tar.gz
|
||||
|
||||
test_unit:
|
||||
@if [ "$(VENV_BASE)" ]; then \
|
||||
|
Loading…
Reference in New Issue
Block a user