mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-26 19:03:14 +00:00
Add Molecule tests (#7)
* Initial port to molecule * Get molecule tests to run * Draw the rest of the owl * use local dir for storing collection during CI run * Add dockerfile, install community.kubernetes collection before sanity check * Add clean step to Makefile * Get sanity tests working * Update sanity test to use makefile * Add ignores for 2.11 so devel passes * Update description * Code review * Add OWNERS file for prow
This commit is contained in:
committed by
GitHub
parent
3db69dea2b
commit
ee21083985
18
Makefile
Normal file
18
Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
# Also needs to be updated in galaxy.yml
|
||||
VERSION = 0.1.0
|
||||
|
||||
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 --docker --color $(TEST_ARGS)
|
||||
|
||||
test-integration: install
|
||||
molecule test
|
||||
Reference in New Issue
Block a user