diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5dcfaf4a..fdb4c8fd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,23 @@ Google.Cloud Release Notes .. contents:: Topics +v1.6.0 +====== + +Minor Changes +------------- + +- gcp_compute - added GVNIC support to compute instance (https://github.com/ansible-collections/google.cloud/pull/688). +- gcp_compute - added ``discard_local_ssd`` flag to compute instance (https://github.com/ansible-collections/google.cloud/pull/686). +- gcp_compute - added hostname support to dynamic inventory (https://github.com/ansible-collections/google.cloud/pull/689). +- gcp_secret_manager - added support for regional secret manager (https://github.com/ansible-collections/google.cloud/pull/685). + +Bugfixes +-------- + +- gcp_secret_manager - cleaned up error responses (https://github.com/ansible-collections/google.cloud/pull/690). +- gcp_serviceusage_service - updated documentation (https://github.com/ansible-collections/google.cloud/pull/691). + v1.5.3 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index c93d52a5..3e8b9ad8 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -142,3 +142,21 @@ releases: fragments: - 682-update-readme.yaml release_date: '2025-04-30' + 1.6.0: + changes: + bugfixes: + - gcp_secret_manager - cleaned up error responses (https://github.com/ansible-collections/google.cloud/pull/690). + - gcp_serviceusage_service - updated documentation (https://github.com/ansible-collections/google.cloud/pull/691). + minor_changes: + - gcp_compute - added GVNIC support to compute instance (https://github.com/ansible-collections/google.cloud/pull/688). + - gcp_compute - added ``discard_local_ssd`` flag to compute instance (https://github.com/ansible-collections/google.cloud/pull/686). + - gcp_compute - added hostname support to dynamic inventory (https://github.com/ansible-collections/google.cloud/pull/689). + - gcp_secret_manager - added support for regional secret manager (https://github.com/ansible-collections/google.cloud/pull/685). + fragments: + - 685-support-for-regional-secret-manager.yaml + - 686-add-discard_local_ssd-flag-to-compute-instance.yaml + - 688-add-gvnic-support.yaml + - 689-hostname-support-for-dynamic-inventory.yaml + - 690-clear-up-error-responses-from-gcp_secret_manager-lookup.yaml + - 691-updated-documentation-for-gcp_serviceusage_service.yaml + release_date: '2025-06-20' diff --git a/galaxy.yml b/galaxy.yml index fd0d4fb5..ecc5be87 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -10,7 +10,7 @@ namespace: google name: cloud # The version of the collection. Must be compatible with semantic versioning -version: 1.5.3 +version: 1.6.0 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/tests/integration/targets/gcp_compute_instance/tasks/gvnic.yml b/tests/integration/targets/gcp_compute_instance/tasks/gvnic.yml index ad2338fe..bc5db37c 100644 --- a/tests/integration/targets/gcp_compute_instance/tasks/gvnic.yml +++ b/tests/integration/targets/gcp_compute_instance/tasks/gvnic.yml @@ -3,7 +3,8 @@ ansible.builtin.debug: msg: "Testing {{ item.key }} scenario" -- block: +- name: Test GVNIC scenarios + block: - name: Create disk google.cloud.gcp_compute_disk: name: "{{ resource_prefix }}-{{ item.key }}" diff --git a/tests/integration/targets/inventory_gce/playbooks/setup.yml b/tests/integration/targets/inventory_gce/playbooks/setup.yml index d26ce149..78fbf3cd 100644 --- a/tests/integration/targets/inventory_gce/playbooks/setup.yml +++ b/tests/integration/targets/inventory_gce/playbooks/setup.yml @@ -4,7 +4,7 @@ connection: local gather_facts: false vars_files: - - vars.yml + - ../vars.yml tasks: - name: SETUP | Create network google.cloud.gcp_compute_network: diff --git a/tests/integration/targets/inventory_gce/playbooks/teardown.yml b/tests/integration/targets/inventory_gce/playbooks/teardown.yml index b4e48041..44cf14c4 100644 --- a/tests/integration/targets/inventory_gce/playbooks/teardown.yml +++ b/tests/integration/targets/inventory_gce/playbooks/teardown.yml @@ -4,7 +4,7 @@ connection: local gather_facts: false vars_files: - - vars.yml + - ../vars.yml tasks: - name: TEARDOWN | Delete instance # noqa: ignore-errors google.cloud.gcp_compute_instance: diff --git a/tests/integration/targets/inventory_gce/playbooks/test.yml b/tests/integration/targets/inventory_gce/playbooks/test.yml index da119970..25feba39 100644 --- a/tests/integration/targets/inventory_gce/playbooks/test.yml +++ b/tests/integration/targets/inventory_gce/playbooks/test.yml @@ -4,7 +4,7 @@ connection: local gather_facts: false vars_files: - - vars.yml + - ../vars.yml tasks: - name: TEST | render inventory file ansible.builtin.copy: @@ -12,12 +12,12 @@ content: "{{ lookup('template', '../templates/inventory.yml.j2') }}" mode: preserve - - name: slurp + - name: TEST | slurp ansible.builtin.slurp: src: "../{{ inventory_filename }}" register: _inv - - name: debug + - name: TEST | debug ansible.builtin.debug: msg: "{{ _inv.content | b64decode }}" verbosity: 3 @@ -27,4 +27,4 @@ - name: TEST | run test case ansible.builtin.include_tasks: - file: "testcase_{{ testcase }}.yml" + file: "../testcase_{{ testcase }}.yml" diff --git a/tests/integration/targets/inventory_gce/runme.sh b/tests/integration/targets/inventory_gce/runme.sh index 4b56a3a1..175dab85 100755 --- a/tests/integration/targets/inventory_gce/runme.sh +++ b/tests/integration/targets/inventory_gce/runme.sh @@ -11,7 +11,7 @@ RC=0 # we want to run teardown regardless of playbook exit status, so catch the # exit code of ansible-playbook manually set +e -for ts in playbooks/testcase_*.yml; +for ts in testcase_*.yml; do testcase=$( basename "$ts" | sed -e 's/testcase_//' | sed -e 's/.yml//' ) ansible-playbook playbooks/test.yml "$@" --extra-vars "testcase=${testcase}" diff --git a/tests/integration/targets/inventory_gce/playbooks/testcase_basic.yml b/tests/integration/targets/inventory_gce/testcase_basic.yml similarity index 100% rename from tests/integration/targets/inventory_gce/playbooks/testcase_basic.yml rename to tests/integration/targets/inventory_gce/testcase_basic.yml diff --git a/tests/integration/targets/inventory_gce/playbooks/testcase_hostname.yml b/tests/integration/targets/inventory_gce/testcase_hostname.yml similarity index 100% rename from tests/integration/targets/inventory_gce/playbooks/testcase_hostname.yml rename to tests/integration/targets/inventory_gce/testcase_hostname.yml diff --git a/tests/integration/targets/inventory_gce/playbooks/vars.yml b/tests/integration/targets/inventory_gce/vars.yml similarity index 100% rename from tests/integration/targets/inventory_gce/playbooks/vars.yml rename to tests/integration/targets/inventory_gce/vars.yml