From 5740620dce998b2795f6132950202ac18a07d192 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Mon, 3 Feb 2020 13:18:37 -0600 Subject: [PATCH] Preparation for an initial 0.9.0 release. --- CHANGELOG.md | 20 ++++++++++++++++++++ README.md | 16 ++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..b3b5b080 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,20 @@ +# Kubernetes Collection Changes + +## 0.9.0 + + - Initial migration of Kubernetes content from Ansible core (2.9 / devel), including content: + - **Connection Plugins**: + - `kubectl` + - **Filter Plugins**: + - `k8s_config_resource_name` + - **Inventory Source**: + - `k8s` + - `openshift` + - **Lookup Plugins**: + - `k8s` + - **Modules**: + - `k8s` + - `k8s_auth` + - `k8s_info` + - `k8s_scale` + - `k8s_service` diff --git a/README.md b/README.md index 04eaf493..bd8217ac 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,22 @@ You can run the collection's test suites with the commands: ansible-test sanity --docker -v --color ansible-test integration --docker -v --color +## Publishing New Versions + +The current process for publishing new versions of the Kubernetes Collection is manual, and requires a user who has access to the `community.kubernetes` namespace on Ansible Galaxy to publish the build artifact. + + 1. Ensure `CHANGELOG.md` contains all the latest changes. + 2. Update `galaxy.yml` and this README's `requirements.yml` example with the new `version` for the collection. + 3. Tag the version in Git and push to GitHub. + 4. Run the following commands to build and release the new version on Galaxy: + + ``` + ansible-galaxy collection build + ansible-galaxy collection publish ./community-kubernetes-$VERSION_HERE.tar.gz + ``` + +After the version is published, verify it exists on the [Kubernetes Collection Galaxy page](https://galaxy.ansible.com/community/kubernetes). + ## More Information For more information about Ansible's Kubernetes integration, join the `#ansible-community` channel on Freenode IRC, and browse the resources in the [Kubernetes Working Group](https://github.com/ansible/community/wiki/Kubernetes) Community wiki page.