summaryrefslogtreecommitdiffstats
path: root/collections-debian-merged/ansible_collections/community/kubernetes/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:03:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:03:01 +0000
commita453ac31f3428614cceb99027f8efbdb9258a40b (patch)
treef61f87408f32a8511cbd91799f9cececb53e0374 /collections-debian-merged/ansible_collections/community/kubernetes/Makefile
parentInitial commit. (diff)
downloadansible-upstream.tar.xz
ansible-upstream.zip
Adding upstream version 2.10.7+merged+base+2.10.8+dfsg.upstream/2.10.7+merged+base+2.10.8+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collections-debian-merged/ansible_collections/community/kubernetes/Makefile')
-rw-r--r--collections-debian-merged/ansible_collections/community/kubernetes/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/collections-debian-merged/ansible_collections/community/kubernetes/Makefile b/collections-debian-merged/ansible_collections/community/kubernetes/Makefile
new file mode 100644
index 00000000..26e675fe
--- /dev/null
+++ b/collections-debian-merged/ansible_collections/community/kubernetes/Makefile
@@ -0,0 +1,43 @@
+# Also needs to be updated in galaxy.yml
+VERSION = 1.1.1
+
+TEST_ARGS ?= ""
+PYTHON_VERSION ?= `python -c 'import platform; print("{0}.{1}".format(platform.python_version_tuple()[0], platform.python_version_tuple()[1]))'`
+
+clean:
+ rm -f community-kubernetes-${VERSION}.tar.gz
+ rm -rf ansible_collections
+ rm -rf tests/output
+
+build: clean
+ ansible-galaxy collection build
+
+release: build
+ ansible-galaxy collection publish community-kubernetes-${VERSION}.tar.gz
+
+install: build
+ ansible-galaxy collection install -p ansible_collections community-kubernetes-${VERSION}.tar.gz
+
+test-sanity:
+ ansible-test sanity --docker -v --color --python $(PYTHON_VERSION) $(?TEST_ARGS)
+
+test-integration:
+ ansible-test integration --docker -v --color --retry-on-error --python $(PYTHON_VERSION) --continue-on-error --diff --coverage $(?TEST_ARGS)
+
+test-molecule:
+ molecule test
+
+downstream-test-sanity:
+ ./utils/downstream.sh -s
+
+downstream-test-integration:
+ ./utils/downstream.sh -i
+
+downstream-test-molecule:
+ ./utils/downstream.sh -m
+
+downstream-build:
+ ./utils/downstream.sh -b
+
+downstream-release:
+ ./utils/downstream.sh -r