mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-11-21 22:50:20 +00:00
* Prep `5.5.0` release Bump galaxy.yml to 5.5.0, generate the changelog from the eight pending fragments, and regenerate module documentation. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * Bump Makefile VERSION to 5.5.0 The Makefile pins VERSION independently of galaxy.yml and feeds the clean, release and install targets. Left at 5.4.4 it would publish kubernetes-core-5.4.4.tar.gz for a 5.5.0 build. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * Bump README requirements.yml example to 5.5.0 The install example pins the collection version and is updated at every release; it sits outside the collection_prep managed block, so `tox -e add_docs` does not refresh it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
29 lines
892 B
Makefile
29 lines
892 B
Makefile
# Also needs to be updated in galaxy.yml
|
|
VERSION = 5.5.0
|
|
|
|
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)
|