From 1a753eff05a85ff1de1147c16f99ef2f63af2d85 Mon Sep 17 00:00:00 2001 From: Yusuke Tsutsumi Date: Sun, 9 Oct 2022 05:45:37 +0000 Subject: [PATCH] tests: fix key_ring and redis - gcp_key_ring was already passing, needed to be enabled. - gcp_redis_instance was using legacy networks, switch to net networks. --- scripts/bootstrap-project.sh | 1 + tests/integration/targets/gcp_kms_key_ring/aliases | 3 +-- tests/integration/targets/gcp_mlengine_version/aliases | 2 +- tests/integration/targets/gcp_redis_instance/aliases | 3 +-- tests/integration/targets/gcp_redis_instance/tasks/autogen.yml | 2 ++ 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/bootstrap-project.sh b/scripts/bootstrap-project.sh index 0bce608..924d713 100755 --- a/scripts/bootstrap-project.sh +++ b/scripts/bootstrap-project.sh @@ -21,6 +21,7 @@ SERVICE_LIST=( "dns" "file.googleapis.com" "ml.googleapis.com" + "redis.googleapis.com" "runtimeconfig.googleapis.com" "sourcerepo.googleapis.com" "spanner.googleapis.com" diff --git a/tests/integration/targets/gcp_kms_key_ring/aliases b/tests/integration/targets/gcp_kms_key_ring/aliases index 9812f01..0e4419e 100644 --- a/tests/integration/targets/gcp_kms_key_ring/aliases +++ b/tests/integration/targets/gcp_kms_key_ring/aliases @@ -1,2 +1 @@ -cloud/gcp -unsupported +cloud/gcp \ No newline at end of file diff --git a/tests/integration/targets/gcp_mlengine_version/aliases b/tests/integration/targets/gcp_mlengine_version/aliases index 9812f01..ff7eb2d 100644 --- a/tests/integration/targets/gcp_mlengine_version/aliases +++ b/tests/integration/targets/gcp_mlengine_version/aliases @@ -1,2 +1,2 @@ cloud/gcp -unsupported +unsupported \ No newline at end of file diff --git a/tests/integration/targets/gcp_redis_instance/aliases b/tests/integration/targets/gcp_redis_instance/aliases index 9812f01..0e4419e 100644 --- a/tests/integration/targets/gcp_redis_instance/aliases +++ b/tests/integration/targets/gcp_redis_instance/aliases @@ -1,2 +1 @@ -cloud/gcp -unsupported +cloud/gcp \ No newline at end of file diff --git a/tests/integration/targets/gcp_redis_instance/tasks/autogen.yml b/tests/integration/targets/gcp_redis_instance/tasks/autogen.yml index 3580c1a..9980558 100644 --- a/tests/integration/targets/gcp_redis_instance/tasks/autogen.yml +++ b/tests/integration/targets/gcp_redis_instance/tasks/autogen.yml @@ -19,6 +19,7 @@ project: "{{ gcp_project }}" auth_kind: "{{ gcp_cred_kind }}" service_account_file: "{{ gcp_cred_file }}" + auto_create_subnetworks: true state: present register: network - name: delete a instance @@ -165,6 +166,7 @@ project: "{{ gcp_project }}" auth_kind: "{{ gcp_cred_kind }}" service_account_file: "{{ gcp_cred_file }}" + auto_create_subnetworks: true state: absent register: network ignore_errors: true