From 9fa08824e296edb821de29e90e40981e6852ec56 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 3 Jan 2021 13:43:34 +0100 Subject: [PATCH] Release 1.1.0. --- CHANGELOG.rst | 45 ++++++++++++++++ changelogs/changelog.yaml | 51 +++++++++++++++++++ changelogs/fragments/1.1.0.yml | 1 - .../fragments/53-docker_image-tag-push.yml | 2 - .../54-docker_image-build-platform.yml | 2 - .../fragments/55-docker_image-loading.yml | 3 -- ...8-docker_container-non-detached-status.yml | 2 - .../59-docker_container-cgroup-parent.yml | 2 - .../60-docker_container-publish-all.yml | 2 - 9 files changed, 96 insertions(+), 14 deletions(-) delete mode 100644 changelogs/fragments/1.1.0.yml delete mode 100644 changelogs/fragments/53-docker_image-tag-push.yml delete mode 100644 changelogs/fragments/54-docker_image-build-platform.yml delete mode 100644 changelogs/fragments/55-docker_image-loading.yml delete mode 100644 changelogs/fragments/58-docker_container-non-detached-status.yml delete mode 100644 changelogs/fragments/59-docker_container-cgroup-parent.yml delete mode 100644 changelogs/fragments/60-docker_container-publish-all.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9821fb7c..b7a12f17 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,51 @@ Docker Community Collection Release Notes .. contents:: Topics +v1.1.0 +====== + +Release Summary +--------------- + +Feature release with three new plugins and modules. + +Minor Changes +------------- + +- docker_container - support specifying ``cgroup_parent`` (https://github.com/ansible-collections/community.docker/issues/6, https://github.com/ansible-collections/community.docker/pull/59). +- docker_container - when a container is started with ``detached=false``, ``status`` is now also returned when it is 0 (https://github.com/ansible-collections/community.docker/issues/26, https://github.com/ansible-collections/community.docker/pull/58). +- docker_image - support ``platform`` when building images (https://github.com/ansible-collections/community.docker/issues/22, https://github.com/ansible-collections/community.docker/pull/54). + +Deprecated Features +------------------- + +- docker_container - currently ``published_ports`` can contain port mappings next to the special value ``all``, in which case the port mappings are ignored. This behavior is deprecated for community.docker 2.0.0, at which point it will either be forbidden, or this behavior will be properly implemented similar to how the Docker CLI tool handles this (https://github.com/ansible-collections/community.docker/issues/8, https://github.com/ansible-collections/community.docker/pull/60). + +Bugfixes +-------- + +- docker_image - if ``push=true`` is used with ``repository``, and the image does not need to be tagged, still push. This can happen if ``repository`` and ``name`` are equal (https://github.com/ansible-collections/community.docker/issues/52, https://github.com/ansible-collections/community.docker/pull/53). +- docker_image - report error when loading a broken archive that contains no image (https://github.com/ansible-collections/community.docker/issues/46, https://github.com/ansible-collections/community.docker/pull/55). +- docker_image - report error when the loaded archive does not contain the specified image (https://github.com/ansible-collections/community.docker/issues/41, https://github.com/ansible-collections/community.docker/pull/55). + +New Plugins +----------- + +Connection +~~~~~~~~~~ + +- docker_api - Run tasks in docker containers + +Inventory +~~~~~~~~~ + +- docker_containers - Ansible dynamic inventory plugin for Docker containers. + +New Modules +----------- + +- current_container_facts - Return facts about whether the module runs in a Docker container + v1.0.1 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index dd669464..968c5af5 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -99,3 +99,54 @@ releases: - 1.0.1.yml - 43-docker_container-device_requests.yml release_date: '2020-12-11' + 1.1.0: + changes: + bugfixes: + - docker_image - if ``push=true`` is used with ``repository``, and the image + does not need to be tagged, still push. This can happen if ``repository`` + and ``name`` are equal (https://github.com/ansible-collections/community.docker/issues/52, + https://github.com/ansible-collections/community.docker/pull/53). + - docker_image - report error when loading a broken archive that contains no + image (https://github.com/ansible-collections/community.docker/issues/46, + https://github.com/ansible-collections/community.docker/pull/55). + - docker_image - report error when the loaded archive does not contain the specified + image (https://github.com/ansible-collections/community.docker/issues/41, + https://github.com/ansible-collections/community.docker/pull/55). + deprecated_features: + - docker_container - currently ``published_ports`` can contain port mappings + next to the special value ``all``, in which case the port mappings are ignored. + This behavior is deprecated for community.docker 2.0.0, at which point it + will either be forbidden, or this behavior will be properly implemented similar + to how the Docker CLI tool handles this (https://github.com/ansible-collections/community.docker/issues/8, + https://github.com/ansible-collections/community.docker/pull/60). + minor_changes: + - docker_container - support specifying ``cgroup_parent`` (https://github.com/ansible-collections/community.docker/issues/6, + https://github.com/ansible-collections/community.docker/pull/59). + - docker_container - when a container is started with ``detached=false``, ``status`` + is now also returned when it is 0 (https://github.com/ansible-collections/community.docker/issues/26, + https://github.com/ansible-collections/community.docker/pull/58). + - docker_image - support ``platform`` when building images (https://github.com/ansible-collections/community.docker/issues/22, + https://github.com/ansible-collections/community.docker/pull/54). + release_summary: Feature release with three new plugins and modules. + fragments: + - 1.1.0.yml + - 53-docker_image-tag-push.yml + - 54-docker_image-build-platform.yml + - 55-docker_image-loading.yml + - 58-docker_container-non-detached-status.yml + - 59-docker_container-cgroup-parent.yml + - 60-docker_container-publish-all.yml + modules: + - description: Return facts about whether the module runs in a Docker container + name: current_container_facts + namespace: '' + plugins: + connection: + - description: Run tasks in docker containers + name: docker_api + namespace: null + inventory: + - description: Ansible dynamic inventory plugin for Docker containers. + name: docker_containers + namespace: null + release_date: '2021-01-03' diff --git a/changelogs/fragments/1.1.0.yml b/changelogs/fragments/1.1.0.yml deleted file mode 100644 index 6e16db03..00000000 --- a/changelogs/fragments/1.1.0.yml +++ /dev/null @@ -1 +0,0 @@ -release_summary: Feature release with three new plugins and modules. diff --git a/changelogs/fragments/53-docker_image-tag-push.yml b/changelogs/fragments/53-docker_image-tag-push.yml deleted file mode 100644 index 30254673..00000000 --- a/changelogs/fragments/53-docker_image-tag-push.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- "docker_image - if ``push=true`` is used with ``repository``, and the image does not need to be tagged, still push. This can happen if ``repository`` and ``name`` are equal (https://github.com/ansible-collections/community.docker/issues/52, https://github.com/ansible-collections/community.docker/pull/53)." diff --git a/changelogs/fragments/54-docker_image-build-platform.yml b/changelogs/fragments/54-docker_image-build-platform.yml deleted file mode 100644 index fdd138dd..00000000 --- a/changelogs/fragments/54-docker_image-build-platform.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- "docker_image - support ``platform`` when building images (https://github.com/ansible-collections/community.docker/issues/22, https://github.com/ansible-collections/community.docker/pull/54)." diff --git a/changelogs/fragments/55-docker_image-loading.yml b/changelogs/fragments/55-docker_image-loading.yml deleted file mode 100644 index c7694f05..00000000 --- a/changelogs/fragments/55-docker_image-loading.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: -- "docker_image - report error when loading a broken archive that contains no image (https://github.com/ansible-collections/community.docker/issues/46, https://github.com/ansible-collections/community.docker/pull/55)." -- "docker_image - report error when the loaded archive does not contain the specified image (https://github.com/ansible-collections/community.docker/issues/41, https://github.com/ansible-collections/community.docker/pull/55)." diff --git a/changelogs/fragments/58-docker_container-non-detached-status.yml b/changelogs/fragments/58-docker_container-non-detached-status.yml deleted file mode 100644 index 1907f782..00000000 --- a/changelogs/fragments/58-docker_container-non-detached-status.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- "docker_container - when a container is started with ``detached=false``, ``status`` is now also returned when it is 0 (https://github.com/ansible-collections/community.docker/issues/26, https://github.com/ansible-collections/community.docker/pull/58)." diff --git a/changelogs/fragments/59-docker_container-cgroup-parent.yml b/changelogs/fragments/59-docker_container-cgroup-parent.yml deleted file mode 100644 index a1e5e70c..00000000 --- a/changelogs/fragments/59-docker_container-cgroup-parent.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- "docker_container - support specifying ``cgroup_parent`` (https://github.com/ansible-collections/community.docker/issues/6, https://github.com/ansible-collections/community.docker/pull/59)." diff --git a/changelogs/fragments/60-docker_container-publish-all.yml b/changelogs/fragments/60-docker_container-publish-all.yml deleted file mode 100644 index e9e47681..00000000 --- a/changelogs/fragments/60-docker_container-publish-all.yml +++ /dev/null @@ -1,2 +0,0 @@ -deprecated_features: -- "docker_container - currently ``published_ports`` can contain port mappings next to the special value ``all``, in which case the port mappings are ignored. This behavior is deprecated for community.docker 2.0.0, at which point it will either be forbidden, or this behavior will be properly implemented similar to how the Docker CLI tool handles this (https://github.com/ansible-collections/community.docker/issues/8, https://github.com/ansible-collections/community.docker/pull/60)."