From 6942cd67566a5ee7d394a46e2ecfcba0ba647f36 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Thu, 24 Sep 2020 15:56:18 -0500 Subject: [PATCH] Prepare to publish 0.2.0 release to Galaxy (#39) * Issue #38: Add version_added to new openshift_auth module. * Fixes #38: Prepare for 0.2.0 release on Galaxy. --- CHANGELOG.rst | 19 +++++++++++++++++++ Makefile | 2 +- README.md | 5 +++-- changelogs/changelog.yaml | 18 ++++++++++++++++++ changelogs/fragments/27-route-api-group.yml | 3 +++ changelogs/fragments/33-add-k8s_auth.yml | 3 +++ .../fragments/36-contribution-guide.yml | 3 +++ galaxy.yml | 2 +- plugins/modules/openshift_auth.py | 2 ++ 9 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 changelogs/fragments/27-route-api-group.yml create mode 100644 changelogs/fragments/33-add-k8s_auth.yml create mode 100644 changelogs/fragments/36-contribution-guide.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7f8fe6f..471553c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,25 @@ OKD Collection Release Notes .. contents:: Topics +v0.2.0 +====== + +Major Changes +------------- + +- openshift_auth - new module (migrated from k8s_auth in community.kubernetes) (https://github.com/ansible-collections/community.okd/pull/33). + +Minor Changes +------------- + +- Add a contribution guide (https://github.com/ansible-collections/community.okd/pull/37). +- Use the API Group APIVersion for the `Route` object (https://github.com/ansible-collections/community.okd/pull/27). + +New Modules +----------- + +- openshift_auth - Authenticate to OpenShift clusters which require an explicit login step + v0.1.0 ====== diff --git a/Makefile b/Makefile index 5175ba5..89206fb 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Also needs to be updated in galaxy.yml -VERSION = 0.1.0 +VERSION = 0.2.0 # To run sanity tests in a venv, set SANITY_TEST_ARGS to '--venv' SANITY_TEST_ARGS ?= --docker --color diff --git a/README.md b/README.md index 346c04e..ed6c96c 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Click on the name of a plugin or module to view that content's documentation: - [openshift](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/openshift_inventory.html) - **Modules**: - [k8s](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/k8s_inventory.html) + - [openshift_auth](https://github.com/ansible-collections/community.okd/blob/main/plugins/modules/openshift_auth.py) > **Note**: These documentation links currently link to older module versions. For the latest module documentation, please use `ansible-doc` in the CLI. @@ -33,7 +34,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible --- collections: - name: community.okd - version: 0.1.0 + version: 0.2.0 ``` ### Installing the OpenShift Python Library @@ -99,7 +100,7 @@ where the `IMAGE_FORMAT` environment variable is the full reference to your cont Releases are automatically built and pushed to Ansible Galaxy for any new tag. Before tagging a release, make sure to do the following: - 1. Update `galaxy.yml` and this README's `requirements.yml` example with the new `version` for the collection. + 1. Update `galaxy.yml`, this README's `requirements.yml` example, and the `Makefile` with the new `version` for the collection. 1. Update the CHANGELOG: 1. Make sure you have [`antsibull-changelog`](https://pypi.org/project/antsibull-changelog/) installed. 1. Make sure there are fragments for all known changes in `changelogs/fragments`. diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 450d17f..1383256 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -26,3 +26,21 @@ releases: - 7-molecule-tests.yml - 8-stale-bot.yml release_date: '2020-09-04' + 0.2.0: + changes: + major_changes: + - openshift_auth - new module (migrated from k8s_auth in community.kubernetes) + (https://github.com/ansible-collections/community.okd/pull/33). + minor_changes: + - Add a contribution guide (https://github.com/ansible-collections/community.okd/pull/37). + - Use the API Group APIVersion for the `Route` object (https://github.com/ansible-collections/community.okd/pull/27). + fragments: + - 27-route-api-group.yml + - 33-add-k8s_auth.yml + - 36-contribution-guide.yml + modules: + - description: Authenticate to OpenShift clusters which require an explicit login + step + name: openshift_auth + namespace: '' + release_date: '2020-09-24' diff --git a/changelogs/fragments/27-route-api-group.yml b/changelogs/fragments/27-route-api-group.yml new file mode 100644 index 0000000..540cff3 --- /dev/null +++ b/changelogs/fragments/27-route-api-group.yml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Use the API Group APIVersion for the `Route` object (https://github.com/ansible-collections/community.okd/pull/27). diff --git a/changelogs/fragments/33-add-k8s_auth.yml b/changelogs/fragments/33-add-k8s_auth.yml new file mode 100644 index 0000000..ea9c17a --- /dev/null +++ b/changelogs/fragments/33-add-k8s_auth.yml @@ -0,0 +1,3 @@ +--- +major_changes: + - openshift_auth - new module (migrated from k8s_auth in community.kubernetes) (https://github.com/ansible-collections/community.okd/pull/33). diff --git a/changelogs/fragments/36-contribution-guide.yml b/changelogs/fragments/36-contribution-guide.yml new file mode 100644 index 0000000..d536581 --- /dev/null +++ b/changelogs/fragments/36-contribution-guide.yml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Add a contribution guide (https://github.com/ansible-collections/community.okd/pull/37). diff --git a/galaxy.yml b/galaxy.yml index 54613cb..54e2fd9 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -24,4 +24,4 @@ tags: - okd - cluster # Also needs to be updated in the Makefile -version: 0.1.0 +version: 0.2.0 diff --git a/plugins/modules/openshift_auth.py b/plugins/modules/openshift_auth.py index c98bd43..571c841 100644 --- a/plugins/modules/openshift_auth.py +++ b/plugins/modules/openshift_auth.py @@ -15,6 +15,8 @@ module: openshift_auth short_description: Authenticate to OpenShift clusters which require an explicit login step +version_added: "0.2.0" + author: - KubeVirt Team (@kubevirt) - Fabian von Feilitzsch (@fabianvf)