From efcf870743b0cd651047bafe402b4228a9c4a577 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Wed, 1 Jul 2020 14:26:43 -0500 Subject: [PATCH 1/2] Release 0.11.1 prep - add missing changelog fragments. --- changelogs/fragments/100-k8s_scale-fix-wait.yaml | 3 +++ changelogs/fragments/102-dont-require-codecov-check-prs.yaml | 3 +++ changelogs/fragments/103-fix-inventory-docs-structure.yaml | 3 +++ changelogs/fragments/105-improved-k8s-diffs.yaml | 3 +++ changelogs/fragments/107-action-groups-module_defaults.yaml | 3 +++ changelogs/fragments/110-helm-minor-refactor.yaml | 3 +++ changelogs/fragments/114-minor-docs-fixes.yaml | 3 +++ changelogs/fragments/115-helm-add-atomic.yaml | 3 +++ changelogs/fragments/117-helm-minor-refactor.yaml | 3 +++ changelogs/fragments/118-k8s-lookup-handle-set-object.yaml | 3 +++ changelogs/fragments/119-handle-kubeconfig-error.yaml | 3 +++ changelogs/fragments/123-flake8.yaml | 3 +++ .../fragments/126-requires_ansible-version-constraints.yaml | 3 +++ changelogs/fragments/127-remove-action_groups_redirection.yaml | 3 +++ changelogs/fragments/130-add-sanity-ignore-211.yaml | 3 +++ changelogs/fragments/131-changelog-fragments.yaml | 3 +++ ...e_none_def.yml => 139-fix-manifest-ends-with-separator.yml} | 2 +- changelogs/fragments/146-fqcn-in-docs.yaml | 3 +++ changelogs/fragments/35-wait-conditions.yaml | 3 +++ changelogs/fragments/84-check_mode-service-change.yaml | 3 +++ changelogs/fragments/94-openshift-apply-test.yaml | 3 +++ changelogs/fragments/95-remove-ANSIBLE_METADATA.yaml | 3 +++ changelogs/fragments/97-remove-k8s_facts-deprecation.yaml | 3 +++ changelogs/fragments/98-add-version_added.yaml | 3 +++ 24 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/100-k8s_scale-fix-wait.yaml create mode 100644 changelogs/fragments/102-dont-require-codecov-check-prs.yaml create mode 100644 changelogs/fragments/103-fix-inventory-docs-structure.yaml create mode 100644 changelogs/fragments/105-improved-k8s-diffs.yaml create mode 100644 changelogs/fragments/107-action-groups-module_defaults.yaml create mode 100644 changelogs/fragments/110-helm-minor-refactor.yaml create mode 100644 changelogs/fragments/114-minor-docs-fixes.yaml create mode 100644 changelogs/fragments/115-helm-add-atomic.yaml create mode 100644 changelogs/fragments/117-helm-minor-refactor.yaml create mode 100644 changelogs/fragments/118-k8s-lookup-handle-set-object.yaml create mode 100644 changelogs/fragments/119-handle-kubeconfig-error.yaml create mode 100644 changelogs/fragments/123-flake8.yaml create mode 100644 changelogs/fragments/126-requires_ansible-version-constraints.yaml create mode 100644 changelogs/fragments/127-remove-action_groups_redirection.yaml create mode 100644 changelogs/fragments/130-add-sanity-ignore-211.yaml create mode 100644 changelogs/fragments/131-changelog-fragments.yaml rename changelogs/fragments/{59160_handle_none_def.yml => 139-fix-manifest-ends-with-separator.yml} (56%) create mode 100644 changelogs/fragments/146-fqcn-in-docs.yaml create mode 100644 changelogs/fragments/35-wait-conditions.yaml create mode 100644 changelogs/fragments/84-check_mode-service-change.yaml create mode 100644 changelogs/fragments/94-openshift-apply-test.yaml create mode 100644 changelogs/fragments/95-remove-ANSIBLE_METADATA.yaml create mode 100644 changelogs/fragments/97-remove-k8s_facts-deprecation.yaml create mode 100644 changelogs/fragments/98-add-version_added.yaml diff --git a/changelogs/fragments/100-k8s_scale-fix-wait.yaml b/changelogs/fragments/100-k8s_scale-fix-wait.yaml new file mode 100644 index 00000000..9dc860fa --- /dev/null +++ b/changelogs/fragments/100-k8s_scale-fix-wait.yaml @@ -0,0 +1,3 @@ +--- +bugfixes: + - k8s_scale - Fix scale wait and add tests (https://github.com/ansible-collections/community.kubernetes/pull/100). diff --git a/changelogs/fragments/102-dont-require-codecov-check-prs.yaml b/changelogs/fragments/102-dont-require-codecov-check-prs.yaml new file mode 100644 index 00000000..829caf09 --- /dev/null +++ b/changelogs/fragments/102-dont-require-codecov-check-prs.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Don't require project coverage check on PRs (https://github.com/ansible-collections/community.kubernetes/pull/102). diff --git a/changelogs/fragments/103-fix-inventory-docs-structure.yaml b/changelogs/fragments/103-fix-inventory-docs-structure.yaml new file mode 100644 index 00000000..d26d99c1 --- /dev/null +++ b/changelogs/fragments/103-fix-inventory-docs-structure.yaml @@ -0,0 +1,3 @@ +--- +bugfixes: + - Fix suboption docs structure for inventory plugins (https://github.com/ansible-collections/community.kubernetes/pull/103). diff --git a/changelogs/fragments/105-improved-k8s-diffs.yaml b/changelogs/fragments/105-improved-k8s-diffs.yaml new file mode 100644 index 00000000..5e1f74ea --- /dev/null +++ b/changelogs/fragments/105-improved-k8s-diffs.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Use improved kubernetes diffs where possible (https://github.com/ansible-collections/community.kubernetes/pull/105). diff --git a/changelogs/fragments/107-action-groups-module_defaults.yaml b/changelogs/fragments/107-action-groups-module_defaults.yaml new file mode 100644 index 00000000..06672d98 --- /dev/null +++ b/changelogs/fragments/107-action-groups-module_defaults.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Add action groups for playbooks with module_defaults (https://github.com/ansible-collections/community.kubernetes/pull/107). diff --git a/changelogs/fragments/110-helm-minor-refactor.yaml b/changelogs/fragments/110-helm-minor-refactor.yaml new file mode 100644 index 00000000..4e929176 --- /dev/null +++ b/changelogs/fragments/110-helm-minor-refactor.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - helm - minor code refactoring (https://github.com/ansible-collections/community.kubernetes/pull/110). diff --git a/changelogs/fragments/114-minor-docs-fixes.yaml b/changelogs/fragments/114-minor-docs-fixes.yaml new file mode 100644 index 00000000..106841a9 --- /dev/null +++ b/changelogs/fragments/114-minor-docs-fixes.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Minor documentation fixes and use of FQCN in some examples (https://github.com/ansible-collections/community.kubernetes/pull/114). diff --git a/changelogs/fragments/115-helm-add-atomic.yaml b/changelogs/fragments/115-helm-add-atomic.yaml new file mode 100644 index 00000000..68f5bab3 --- /dev/null +++ b/changelogs/fragments/115-helm-add-atomic.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - helm - add 'atomic' option (https://github.com/ansible-collections/community.kubernetes/pull/115). diff --git a/changelogs/fragments/117-helm-minor-refactor.yaml b/changelogs/fragments/117-helm-minor-refactor.yaml new file mode 100644 index 00000000..391932fe --- /dev/null +++ b/changelogs/fragments/117-helm-minor-refactor.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - helm_info and helm_repository - minor code refactor (https://github.com/ansible-collections/community.kubernetes/pull/117). diff --git a/changelogs/fragments/118-k8s-lookup-handle-set-object.yaml b/changelogs/fragments/118-k8s-lookup-handle-set-object.yaml new file mode 100644 index 00000000..6580f873 --- /dev/null +++ b/changelogs/fragments/118-k8s-lookup-handle-set-object.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - k8s - Handle set object retrieved from lookup plugin (https://github.com/ansible-collections/community.kubernetes/pull/118). diff --git a/changelogs/fragments/119-handle-kubeconfig-error.yaml b/changelogs/fragments/119-handle-kubeconfig-error.yaml new file mode 100644 index 00000000..97c2201f --- /dev/null +++ b/changelogs/fragments/119-handle-kubeconfig-error.yaml @@ -0,0 +1,3 @@ +--- +bugfixes: + - Handle invalid kubeconfig parsing error (https://github.com/ansible-collections/community.kubernetes/pull/119). diff --git a/changelogs/fragments/123-flake8.yaml b/changelogs/fragments/123-flake8.yaml new file mode 100644 index 00000000..3f9abc20 --- /dev/null +++ b/changelogs/fragments/123-flake8.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Check Python code using flake8 (https://github.com/ansible-collections/community.kubernetes/pull/123). diff --git a/changelogs/fragments/126-requires_ansible-version-constraints.yaml b/changelogs/fragments/126-requires_ansible-version-constraints.yaml new file mode 100644 index 00000000..3ff31dfa --- /dev/null +++ b/changelogs/fragments/126-requires_ansible-version-constraints.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Add requires_ansible version constraints to runtime.yml (https://github.com/ansible-collections/community.kubernetes/pull/126). diff --git a/changelogs/fragments/127-remove-action_groups_redirection.yaml b/changelogs/fragments/127-remove-action_groups_redirection.yaml new file mode 100644 index 00000000..1827457c --- /dev/null +++ b/changelogs/fragments/127-remove-action_groups_redirection.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Remove action_groups_redirection entry from meta/runtime.yml (https://github.com/ansible-collections/community.kubernetes/pull/127). diff --git a/changelogs/fragments/130-add-sanity-ignore-211.yaml b/changelogs/fragments/130-add-sanity-ignore-211.yaml new file mode 100644 index 00000000..ad7af68a --- /dev/null +++ b/changelogs/fragments/130-add-sanity-ignore-211.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Add sanity test ignore file for Ansible 2.11 (https://github.com/ansible-collections/community.kubernetes/pull/130). diff --git a/changelogs/fragments/131-changelog-fragments.yaml b/changelogs/fragments/131-changelog-fragments.yaml new file mode 100644 index 00000000..3b3d0397 --- /dev/null +++ b/changelogs/fragments/131-changelog-fragments.yaml @@ -0,0 +1,3 @@ +--- +major_changes: + - Add changelog and fragments and document changelog process (https://github.com/ansible-collections/community.kubernetes/pull/131). diff --git a/changelogs/fragments/59160_handle_none_def.yml b/changelogs/fragments/139-fix-manifest-ends-with-separator.yml similarity index 56% rename from changelogs/fragments/59160_handle_none_def.yml rename to changelogs/fragments/139-fix-manifest-ends-with-separator.yml index 2c756499..0b2128aa 100644 --- a/changelogs/fragments/59160_handle_none_def.yml +++ b/changelogs/fragments/139-fix-manifest-ends-with-separator.yml @@ -1,2 +1,2 @@ bugfixes: -- raw - handle condition when definition is none (https://github.com/ansible/ansible/pull/59160). +- raw - handle condition when definition is none (https://github.com/ansible-collections/community.kubernetes/pull/139). diff --git a/changelogs/fragments/146-fqcn-in-docs.yaml b/changelogs/fragments/146-fqcn-in-docs.yaml new file mode 100644 index 00000000..0ff70860 --- /dev/null +++ b/changelogs/fragments/146-fqcn-in-docs.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Use FQCN in module docs and plugin examples (https://github.com/ansible-collections/community.kubernetes/pull/146). diff --git a/changelogs/fragments/35-wait-conditions.yaml b/changelogs/fragments/35-wait-conditions.yaml new file mode 100644 index 00000000..2f6dd67c --- /dev/null +++ b/changelogs/fragments/35-wait-conditions.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Improve k8s Deployment and Daemonset wait conditions (https://github.com/ansible-collections/community.kubernetes/pull/35). diff --git a/changelogs/fragments/84-check_mode-service-change.yaml b/changelogs/fragments/84-check_mode-service-change.yaml new file mode 100644 index 00000000..974b2ace --- /dev/null +++ b/changelogs/fragments/84-check_mode-service-change.yaml @@ -0,0 +1,3 @@ +--- +bugfixes: + - Make sure Service changes run correctly in check_mode (https://github.com/ansible-collections/community.kubernetes/pull/84). diff --git a/changelogs/fragments/94-openshift-apply-test.yaml b/changelogs/fragments/94-openshift-apply-test.yaml new file mode 100644 index 00000000..e5a53376 --- /dev/null +++ b/changelogs/fragments/94-openshift-apply-test.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Add test for openshift apply bug (https://github.com/ansible-collections/community.kubernetes/pull/94). diff --git a/changelogs/fragments/95-remove-ANSIBLE_METADATA.yaml b/changelogs/fragments/95-remove-ANSIBLE_METADATA.yaml new file mode 100644 index 00000000..e0370031 --- /dev/null +++ b/changelogs/fragments/95-remove-ANSIBLE_METADATA.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Remove deprecated ANSIBLE_METADATA field (https://github.com/ansible-collections/community.kubernetes/pull/95). diff --git a/changelogs/fragments/97-remove-k8s_facts-deprecation.yaml b/changelogs/fragments/97-remove-k8s_facts-deprecation.yaml new file mode 100644 index 00000000..5fa7abcb --- /dev/null +++ b/changelogs/fragments/97-remove-k8s_facts-deprecation.yaml @@ -0,0 +1,3 @@ +--- +bugfixes: + - k8s_info - remove unneccessary k8s_facts deprecation notice (https://github.com/ansible-collections/community.kubernetes/pull/97). diff --git a/changelogs/fragments/98-add-version_added.yaml b/changelogs/fragments/98-add-version_added.yaml new file mode 100644 index 00000000..1c82b0e9 --- /dev/null +++ b/changelogs/fragments/98-add-version_added.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Add version_added to each new collection module (https://github.com/ansible-collections/community.kubernetes/pull/98). From cc7d6afaf460262cd70e78c14e41f261502fbc93 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Wed, 1 Jul 2020 14:31:12 -0500 Subject: [PATCH 2/2] Prepare for release 0.11.1. --- CHANGELOG.rst | 39 +++++++++++++++++++++++++++ README.md | 5 ++-- changelogs/changelog.yaml | 55 +++++++++++++++++++++++++++++++++++++++ galaxy.yml | 2 +- 4 files changed, 98 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d44493ed..f14d8624 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,45 @@ Kubernetes Collection Release Notes .. contents:: Topics +v0.11.1 +======= + +Major Changes +------------- + +- Add changelog and fragments and document changelog process (https://github.com/ansible-collections/community.kubernetes/pull/131). + +Minor Changes +------------- + +- Add action groups for playbooks with module_defaults (https://github.com/ansible-collections/community.kubernetes/pull/107). +- Add requires_ansible version constraints to runtime.yml (https://github.com/ansible-collections/community.kubernetes/pull/126). +- Add sanity test ignore file for Ansible 2.11 (https://github.com/ansible-collections/community.kubernetes/pull/130). +- Add test for openshift apply bug (https://github.com/ansible-collections/community.kubernetes/pull/94). +- Add version_added to each new collection module (https://github.com/ansible-collections/community.kubernetes/pull/98). +- Check Python code using flake8 (https://github.com/ansible-collections/community.kubernetes/pull/123). +- Don't require project coverage check on PRs (https://github.com/ansible-collections/community.kubernetes/pull/102). +- Improve k8s Deployment and Daemonset wait conditions (https://github.com/ansible-collections/community.kubernetes/pull/35). +- Minor documentation fixes and use of FQCN in some examples (https://github.com/ansible-collections/community.kubernetes/pull/114). +- Remove action_groups_redirection entry from meta/runtime.yml (https://github.com/ansible-collections/community.kubernetes/pull/127). +- Remove deprecated ANSIBLE_METADATA field (https://github.com/ansible-collections/community.kubernetes/pull/95). +- Use FQCN in module docs and plugin examples (https://github.com/ansible-collections/community.kubernetes/pull/146). +- Use improved kubernetes diffs where possible (https://github.com/ansible-collections/community.kubernetes/pull/105). +- helm - add 'atomic' option (https://github.com/ansible-collections/community.kubernetes/pull/115). +- helm - minor code refactoring (https://github.com/ansible-collections/community.kubernetes/pull/110). +- helm_info and helm_repository - minor code refactor (https://github.com/ansible-collections/community.kubernetes/pull/117). +- k8s - Handle set object retrieved from lookup plugin (https://github.com/ansible-collections/community.kubernetes/pull/118). + +Bugfixes +-------- + +- Fix suboption docs structure for inventory plugins (https://github.com/ansible-collections/community.kubernetes/pull/103). +- Handle invalid kubeconfig parsing error (https://github.com/ansible-collections/community.kubernetes/pull/119). +- Make sure Service changes run correctly in check_mode (https://github.com/ansible-collections/community.kubernetes/pull/84). +- k8s_info - remove unneccessary k8s_facts deprecation notice (https://github.com/ansible-collections/community.kubernetes/pull/97). +- 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 ======= diff --git a/README.md b/README.md index 04120934..46de5328 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible --- collections: - name: community.kubernetes - version: 0.11.0 + version: 0.11.1 ``` ### Installing the OpenShift Python Library @@ -152,7 +152,8 @@ The current process for publishing new versions of the Kubernetes Collection is 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`. - 1. Run `antsibull-changelog release` + 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. Run the following commands to build and release the new version on Galaxy: diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 1f223768..79356fe3 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -65,6 +65,61 @@ releases: name: helm_repository namespace: '' release_date: '2020-05-04' + 0.11.1: + changes: + bugfixes: + - Fix suboption docs structure for inventory plugins (https://github.com/ansible-collections/community.kubernetes/pull/103). + - Handle invalid kubeconfig parsing error (https://github.com/ansible-collections/community.kubernetes/pull/119). + - Make sure Service changes run correctly in check_mode (https://github.com/ansible-collections/community.kubernetes/pull/84). + - k8s_info - remove unneccessary k8s_facts deprecation notice (https://github.com/ansible-collections/community.kubernetes/pull/97). + - 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). + major_changes: + - Add changelog and fragments and document changelog process (https://github.com/ansible-collections/community.kubernetes/pull/131). + minor_changes: + - Add action groups for playbooks with module_defaults (https://github.com/ansible-collections/community.kubernetes/pull/107). + - Add requires_ansible version constraints to runtime.yml (https://github.com/ansible-collections/community.kubernetes/pull/126). + - Add sanity test ignore file for Ansible 2.11 (https://github.com/ansible-collections/community.kubernetes/pull/130). + - Add test for openshift apply bug (https://github.com/ansible-collections/community.kubernetes/pull/94). + - Add version_added to each new collection module (https://github.com/ansible-collections/community.kubernetes/pull/98). + - Check Python code using flake8 (https://github.com/ansible-collections/community.kubernetes/pull/123). + - Don't require project coverage check on PRs (https://github.com/ansible-collections/community.kubernetes/pull/102). + - Improve k8s Deployment and Daemonset wait conditions (https://github.com/ansible-collections/community.kubernetes/pull/35). + - Minor documentation fixes and use of FQCN in some examples (https://github.com/ansible-collections/community.kubernetes/pull/114). + - Remove action_groups_redirection entry from meta/runtime.yml (https://github.com/ansible-collections/community.kubernetes/pull/127). + - Remove deprecated ANSIBLE_METADATA field (https://github.com/ansible-collections/community.kubernetes/pull/95). + - Use FQCN in module docs and plugin examples (https://github.com/ansible-collections/community.kubernetes/pull/146). + - Use improved kubernetes diffs where possible (https://github.com/ansible-collections/community.kubernetes/pull/105). + - helm - add 'atomic' option (https://github.com/ansible-collections/community.kubernetes/pull/115). + - helm - minor code refactoring (https://github.com/ansible-collections/community.kubernetes/pull/110). + - helm_info and helm_repository - minor code refactor (https://github.com/ansible-collections/community.kubernetes/pull/117). + - k8s - Handle set object retrieved from lookup plugin (https://github.com/ansible-collections/community.kubernetes/pull/118). + fragments: + - 100-k8s_scale-fix-wait.yaml + - 102-dont-require-codecov-check-prs.yaml + - 103-fix-inventory-docs-structure.yaml + - 105-improved-k8s-diffs.yaml + - 107-action-groups-module_defaults.yaml + - 110-helm-minor-refactor.yaml + - 114-minor-docs-fixes.yaml + - 115-helm-add-atomic.yaml + - 117-helm-minor-refactor.yaml + - 118-k8s-lookup-handle-set-object.yaml + - 119-handle-kubeconfig-error.yaml + - 123-flake8.yaml + - 126-requires_ansible-version-constraints.yaml + - 127-remove-action_groups_redirection.yaml + - 130-add-sanity-ignore-211.yaml + - 131-changelog-fragments.yaml + - 139-fix-manifest-ends-with-separator.yml + - 146-fqcn-in-docs.yaml + - 35-wait-conditions.yaml + - 84-check_mode-service-change.yaml + - 94-openshift-apply-test.yaml + - 95-remove-ANSIBLE_METADATA.yaml + - 97-remove-k8s_facts-deprecation.yaml + - 98-add-version_added.yaml + release_date: '2020-07-01' 0.9.0: changes: major_changes: diff --git a/galaxy.yml b/galaxy.yml index c17e1d06..f3e4dfd9 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -26,7 +26,7 @@ tags: - openshift - okd - cluster -version: 0.11.0 +version: 0.11.1 build_ignore: - .DS_Store - '*.tar.gz'