mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
SUMMARY This is initial to prepare the main branch to version 6.0.0 (6.0.0-dev0 in galaxy.yml) and includes following braking changes: removed support of ansible-core<2.16.0 as 2.15 reach EOL in Nov 2024; removed the k8s inventory plugin that was deprecated in release 3.0.0. ISSUE TYPE Feature Pull Request COMPONENT NAME Documentation galaxy.yml inventory/k8s.py ADDITIONAL INFORMATION The initial version of this PR doesn't remove tests/sanity/ignore-2.14.txt and tests/sanity/ignore-2.15.txt, and CI part will require removing version 2.15 from the matrix in https://github.com/ansible-network/github_actions, so, we have external dependency here. Reviewed-by: Bianca Henderson <beeankha@gmail.com> Reviewed-by: Yuriy Novostavskiy Reviewed-by: Mike Graves <mgraves@redhat.com>
29 lines
897 B
Makefile
29 lines
897 B
Makefile
# Also needs to be updated in galaxy.yml
|
|
VERSION = 6.0.0-dev0
|
|
|
|
TEST_ARGS ?= ""
|
|
PYTHON_VERSION ?= `python -c 'import platform; print(".".join(platform.python_version_tuple()[0:2]))'`
|
|
|
|
clean:
|
|
rm -f kubernetes-core-${VERSION}.tar.gz
|
|
rm -rf ansible_collections
|
|
rm -rf tests/output
|
|
|
|
build: clean
|
|
ansible-galaxy collection build
|
|
|
|
release: build
|
|
ansible-galaxy collection publish kubernetes-core-${VERSION}.tar.gz
|
|
|
|
install: build
|
|
ansible-galaxy collection install -p ansible_collections kubernetes-core-${VERSION}.tar.gz
|
|
|
|
test-sanity:
|
|
ansible-test sanity --docker -v --color --python $(PYTHON_VERSION) $(?TEST_ARGS)
|
|
|
|
test-integration:
|
|
ansible-test integration --diff --no-temp-workdir --color --skip-tags False --retry-on-error --continue-on-error --python $(PYTHON_VERSION) -v --coverage $(?TEST_ARGS)
|
|
|
|
test-unit:
|
|
ansible-test units --docker -v --color --python $(PYTHON_VERSION) $(?TEST_ARGS)
|