Issue #254: Prepare for 1.1.0 release. (#257)

* Issue #254: Add changelogs for 1.1.0.

* Issue #254: Two of the changes are major.

* Update CHANGELOG and galaxy tag version.

* Issue #254: Document kubernetes.core release process.
This commit is contained in:
Jeff Geerling
2020-10-08 15:35:42 -05:00
committed by GitHub
parent f0dacc083c
commit 9ff259c638
26 changed files with 198 additions and 28 deletions

View File

@@ -5,8 +5,48 @@ Kubernetes Collection Release Notes
.. contents:: Topics
v1.0.0 (July 28 2020)
=====================
v1.1.0
======
Major Changes
-------------
- k8s - Add support for template parameter (https://github.com/ansible-collections/community.kubernetes/pull/230).
- k8s_* - Add support for vaulted kubeconfig and src (https://github.com/ansible-collections/community.kubernetes/pull/193).
Minor Changes
-------------
- Add Makefile and downstream build script for kubernetes.core (https://github.com/ansible-collections/community.kubernetes/pull/197).
- Add execution environment metadata (https://github.com/ansible-collections/community.kubernetes/pull/211).
- Add probot stale bot configuration to autoclose issues (https://github.com/ansible-collections/community.kubernetes/pull/196).
- Added a contribution guide (https://github.com/ansible-collections/community.kubernetes/pull/192).
- Refactor module_utils (https://github.com/ansible-collections/community.kubernetes/pull/223).
- Replace KubernetesAnsibleModule class with dummy class (https://github.com/ansible-collections/community.kubernetes/pull/227).
- Replace KubernetesRawModule class with K8sAnsibleMixin (https://github.com/ansible-collections/community.kubernetes/pull/231).
- common - Do not mark task as changed when diff is irrelevant (https://github.com/ansible-collections/community.kubernetes/pull/228).
- helm - Add appVersion idempotence check to Helm (https://github.com/ansible-collections/community.kubernetes/pull/246).
- helm - Return status in check mode (https://github.com/ansible-collections/community.kubernetes/pull/192).
- helm - Support for single or multiple values files (https://github.com/ansible-collections/community.kubernetes/pull/93).
- helm_* - Support vaulted kubeconfig (https://github.com/ansible-collections/community.kubernetes/pull/229).
- k8s - SelfSubjectAccessReviews supported when 405 response received (https://github.com/ansible-collections/community.kubernetes/pull/237).
- k8s - add testcase for adding multiple resources using template parameter (https://github.com/ansible-collections/community.kubernetes/issues/243).
- k8s_info - Add support for wait (https://github.com/ansible-collections/community.kubernetes/pull/235).
- k8s_info - update custom resource example (https://github.com/ansible-collections/community.kubernetes/issues/202).
- kubectl plugin - correct console log (https://github.com/ansible-collections/community.kubernetes/issues/200).
- raw - Handle exception raised by underlying APIs (https://github.com/ansible-collections/community.kubernetes/pull/180).
Bugfixes
--------
- common - handle exception raised due to DynamicClient (https://github.com/ansible-collections/community.kubernetes/pull/224).
- helm - add replace parameter (https://github.com/ansible-collections/community.kubernetes/issues/106).
- k8s (inventory) - Set the connection plugin and transport separately (https://github.com/ansible-collections/community.kubernetes/pull/208).
- k8s (inventory) - Specify FQCN for k8s inventory plugin to fix use with Ansible 2.9 (https://github.com/ansible-collections/community.kubernetes/pull/250).
- k8s_info - add wait functionality (https://github.com/ansible-collections/community.kubernetes/issues/18).
v1.0.0
======
Major Changes
-------------
@@ -47,8 +87,8 @@ New Modules
- helm_plugin - Manage Helm plugins
- helm_plugin_info - Gather information about Helm plugins
v0.11.1 (July 1 2020)
=====================
v0.11.1
=======
Major Changes
-------------
@@ -86,8 +126,8 @@ Bugfixes
- k8s_scale - Fix scale wait and add tests (https://github.com/ansible-collections/community.kubernetes/pull/100).
- raw - handle condition when definition is none (https://github.com/ansible-collections/community.kubernetes/pull/139).
v0.11.0 (May 4 2020)
====================
v0.11.0
=======
Major Changes
-------------
@@ -115,8 +155,8 @@ New Modules
- helm_info - Get information from Helm package deployed inside the cluster
- helm_repository - Add and remove Helm repository
v0.10.0 (March 23 2020)
=======================
v0.10.0
=======
Major Changes
-------------
@@ -149,8 +189,8 @@ New Modules
- k8s_exec - Execute command in Pod
- k8s_log - Fetch logs from Kubernetes resources
v0.9.0 (February 5 2020)
========================
v0.9.0
======
Major Changes
-------------

View File

@@ -27,16 +27,16 @@ test-integration:
test-molecule:
molecule test
downstream-test-sanity:
downstream-test-sanity:
./utils/downstream.sh -s
downstream-test-integration:
downstream-test-integration:
./utils/downstream.sh -i
downstream-test-molecule:
downstream-test-molecule:
./utils/downstream.sh -m
downstream-build:
downstream-build:
./utils/downstream.sh -b
downstream-release:

View File

@@ -2,7 +2,7 @@
[![CI](https://github.com/ansible-collections/community.kubernetes/workflows/CI/badge.svg?event=push)](https://github.com/ansible-collections/community.kubernetes/actions) [![Codecov](https://img.shields.io/codecov/c/github/ansible-collections/community.kubernetes)](https://codecov.io/gh/ansible-collections/community.kubernetes)
This repo hosts the `community.kubernetes` Ansible Collection.
This repo hosts the `community.kubernetes` (a.k.a. `kubernetes.core`) Ansible Collection.
The collection includes a variety of Ansible content to help automate the management of applications in Kubernetes and OpenShift clusters, as well as the provisioning and maintenance of clusters themselves.
@@ -48,7 +48,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible
---
collections:
- name: community.kubernetes
version: 1.0.0
version: 1.1.0
```
### Installing the OpenShift Python Library
@@ -158,9 +158,20 @@ Releases are automatically built and pushed to Ansible Galaxy for any new tag. B
1. Run `antsibull-changelog release`.
1. Commit the changes and create a PR with the changes. Wait for tests to pass, then merge it once they have.
1. Tag the version in Git and push to GitHub.
1. Manually build and release the `kubernetes.core` collection (see following section).
After the version is published, verify it exists on the [Kubernetes Collection Galaxy page](https://galaxy.ansible.com/community/kubernetes).
### Publishing `kubernetes.core`
Until the contents of repository are moved into a new `kubernetes.core` repository on GitHub, this repository is the source of both the `kubernetes.core` and `community.kubernetes` repositories on Ansible Galaxy.
To publish the `kubernetes.core` collection on Ansible Galaxy, do the following:
1. Run `make downstream-release`.
The process for uploading a supported release to Automation Hub is documented separately.
## More Information
For more information about Ansible's Kubernetes integration, join the `#ansible-kubernetes` channel on Freenode IRC, and browse the resources in the [Kubernetes Working Group](https://github.com/ansible/community/wiki/Kubernetes) Community wiki page.

View File

@@ -186,3 +186,62 @@ releases:
name: helm_plugin_info
namespace: ''
release_date: '2020-07-28'
1.1.0:
changes:
bugfixes:
- common - handle exception raised due to DynamicClient (https://github.com/ansible-collections/community.kubernetes/pull/224).
- helm - add replace parameter (https://github.com/ansible-collections/community.kubernetes/issues/106).
- k8s (inventory) - Set the connection plugin and transport separately (https://github.com/ansible-collections/community.kubernetes/pull/208).
- k8s (inventory) - Specify FQCN for k8s inventory plugin to fix use with Ansible
2.9 (https://github.com/ansible-collections/community.kubernetes/pull/250).
- k8s_info - add wait functionality (https://github.com/ansible-collections/community.kubernetes/issues/18).
major_changes:
- k8s - Add support for template parameter (https://github.com/ansible-collections/community.kubernetes/pull/230).
- k8s_* - Add support for vaulted kubeconfig and src (https://github.com/ansible-collections/community.kubernetes/pull/193).
minor_changes:
- Add Makefile and downstream build script for kubernetes.core (https://github.com/ansible-collections/community.kubernetes/pull/197).
- Add execution environment metadata (https://github.com/ansible-collections/community.kubernetes/pull/211).
- Add probot stale bot configuration to autoclose issues (https://github.com/ansible-collections/community.kubernetes/pull/196).
- Added a contribution guide (https://github.com/ansible-collections/community.kubernetes/pull/192).
- Refactor module_utils (https://github.com/ansible-collections/community.kubernetes/pull/223).
- Replace KubernetesAnsibleModule class with dummy class (https://github.com/ansible-collections/community.kubernetes/pull/227).
- Replace KubernetesRawModule class with K8sAnsibleMixin (https://github.com/ansible-collections/community.kubernetes/pull/231).
- common - Do not mark task as changed when diff is irrelevant (https://github.com/ansible-collections/community.kubernetes/pull/228).
- helm - Add appVersion idempotence check to Helm (https://github.com/ansible-collections/community.kubernetes/pull/246).
- helm - Return status in check mode (https://github.com/ansible-collections/community.kubernetes/pull/192).
- helm - Support for single or multiple values files (https://github.com/ansible-collections/community.kubernetes/pull/93).
- helm_* - Support vaulted kubeconfig (https://github.com/ansible-collections/community.kubernetes/pull/229).
- k8s - SelfSubjectAccessReviews supported when 405 response received (https://github.com/ansible-collections/community.kubernetes/pull/237).
- k8s - add testcase for adding multiple resources using template parameter
(https://github.com/ansible-collections/community.kubernetes/issues/243).
- k8s_info - Add support for wait (https://github.com/ansible-collections/community.kubernetes/pull/235).
- k8s_info - update custom resource example (https://github.com/ansible-collections/community.kubernetes/issues/202).
- kubectl plugin - correct console log (https://github.com/ansible-collections/community.kubernetes/issues/200).
- raw - Handle exception raised by underlying APIs (https://github.com/ansible-collections/community.kubernetes/pull/180).
fragments:
- 106-helm_replace.yml
- 180_raw_handle_exception.yml
- 18_k8s_info_wait.yml
- 191_contributing.yml
- 192_helm-status-check-mode.yml
- 193_vault-kubeconfig-support.yml
- 196_probot-stale-bot.yml
- 197_downstream-makefile.yml
- 200_kubectl_fix.yml
- 202_k8s_info.yml
- 208_set-connection-plugin-transport.yml
- 211_execution-env-meta.yml
- 223_refactor-module_utils.yml
- 224_handle-dynamicclient-exception.yml
- 227_replace-kubernetesansiblemodule-class.yml
- 228_dont-mark-changed-if-diff-irrelevant.yml
- 229_helm-vault-support.yml
- 230_k8s-template-parameter.yml
- 231_k8sansiblemixin-module.yml
- 234_k8s-selfsubjectaccessreviews.yml
- 235_k8s_info-wait-support.yml
- 243_template.yml
- 246_helm-appversion-check.yml
- 252_connection-plugin-fqcn-fix.yml
- 93_helm-multiple-values-files.yml
release_date: '2020-10-08'

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- raw - Handle exception raised by underlying APIs (https://github.com/ansible-collections/community.kubernetes/pull/180).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- Added a contribution guide (https://github.com/ansible-collections/community.kubernetes/pull/192).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- helm - Return status in check mode (https://github.com/ansible-collections/community.kubernetes/pull/192).

View File

@@ -0,0 +1,3 @@
---
major_changes:
- k8s_* - Add support for vaulted kubeconfig and src (https://github.com/ansible-collections/community.kubernetes/pull/193).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- Add probot stale bot configuration to autoclose issues (https://github.com/ansible-collections/community.kubernetes/pull/196).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- Add Makefile and downstream build script for kubernetes.core (https://github.com/ansible-collections/community.kubernetes/pull/197).

View File

@@ -0,0 +1,3 @@
---
bugfixes:
- k8s (inventory) - Set the connection plugin and transport separately (https://github.com/ansible-collections/community.kubernetes/pull/208).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- Add execution environment metadata (https://github.com/ansible-collections/community.kubernetes/pull/211).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- Refactor module_utils (https://github.com/ansible-collections/community.kubernetes/pull/223).

View File

@@ -0,0 +1,3 @@
---
bugfixes:
- common - handle exception raised due to DynamicClient (https://github.com/ansible-collections/community.kubernetes/pull/224).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- Replace KubernetesAnsibleModule class with dummy class (https://github.com/ansible-collections/community.kubernetes/pull/227).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- common - Do not mark task as changed when diff is irrelevant (https://github.com/ansible-collections/community.kubernetes/pull/228).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- helm_* - Support vaulted kubeconfig (https://github.com/ansible-collections/community.kubernetes/pull/229).

View File

@@ -0,0 +1,3 @@
---
major_changes:
- k8s - Add support for template parameter (https://github.com/ansible-collections/community.kubernetes/pull/230).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- Replace KubernetesRawModule class with K8sAnsibleMixin (https://github.com/ansible-collections/community.kubernetes/pull/231).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- k8s - SelfSubjectAccessReviews supported when 405 response received (https://github.com/ansible-collections/community.kubernetes/pull/237).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- k8s_info - Add support for wait (https://github.com/ansible-collections/community.kubernetes/pull/235).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- helm - Add appVersion idempotence check to Helm (https://github.com/ansible-collections/community.kubernetes/pull/246).

View File

@@ -0,0 +1,3 @@
---
bugfixes:
- k8s (inventory) - Specify FQCN for k8s inventory plugin to fix use with Ansible 2.9 (https://github.com/ansible-collections/community.kubernetes/pull/250).

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- helm - Support for single or multiple values files (https://github.com/ansible-collections/community.kubernetes/pull/93).

View File

@@ -26,7 +26,7 @@ tags:
- openshift
- okd
- cluster
version: 1.0.0
version: 1.1.0
build_ignore:
- .DS_Store
- '*.tar.gz'

View File

@@ -45,7 +45,7 @@ f_prep()
molecule
)
# Temp build dir
# Temp build dir
_tmp_dir=$(mktemp -d)
_build_dir="${_tmp_dir}/ansible_collections/kubernetes/core"
mkdir -p "${_build_dir}"
@@ -167,10 +167,10 @@ f_release_option()
{
f_log_info "${FUNCNAME[0]}"
f_common_steps
pushd "${_build_dir}" || return
pushd "${_build_dir}" || return
f_log_info "RELEASE WD: ${PWD}"
make release
popd || return
popd || return
f_cleanup
}
@@ -179,10 +179,10 @@ f_build_option()
{
f_log_info "${FUNCNAME[0]}"
f_common_steps
pushd "${_build_dir}" || return
pushd "${_build_dir}" || return
f_log_info "BUILD WD: ${PWD}"
make build
popd || return
popd || return
f_copy_collection_to_working_dir
f_cleanup
}
@@ -197,22 +197,22 @@ fi
while getopts ":simrb" option
do
case $option in
s)
s)
f_test_sanity_option
;;
i)
i)
f_test_integration_option
;;
m)
m)
f_test_molecule_option
;;
r)
r)
f_release_option
;;
b)
b)
f_build_option
;;
*)
*)
printf "ERROR: Unimplemented option chosen.\n"
f_show_help
f_exit 1