mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-02 14:40:26 -07:00
Adding namespace on integration tests + examples
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
6c7c5f4977
commit
516fada880
130 changed files with 570 additions and 570 deletions
|
@ -14,7 +14,7 @@
|
|||
# ----------------------------------------------------------------------------
|
||||
# Pre-test setup
|
||||
- name: delete a cloud function
|
||||
gcp_cloudfunctions_cloud_function:
|
||||
google.cloud.gcp_cloudfunctions_cloud_function:
|
||||
name: "{{ resource_name }}"
|
||||
location: us-central1
|
||||
entry_point: helloGET
|
||||
|
@ -26,7 +26,7 @@
|
|||
state: absent
|
||||
#----------------------------------------------------------
|
||||
- name: create a cloud function
|
||||
gcp_cloudfunctions_cloud_function:
|
||||
google.cloud.gcp_cloudfunctions_cloud_function:
|
||||
name: "{{ resource_name }}"
|
||||
location: us-central1
|
||||
entry_point: helloGET
|
||||
|
@ -56,7 +56,7 @@
|
|||
- results['resources'] | map(attribute='name') | select("match", ".*{{ resource_name }}.*") | list | length == 1
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: create a cloud function that already exists
|
||||
gcp_cloudfunctions_cloud_function:
|
||||
google.cloud.gcp_cloudfunctions_cloud_function:
|
||||
name: "{{ resource_name }}"
|
||||
location: us-central1
|
||||
entry_point: helloGET
|
||||
|
@ -73,7 +73,7 @@
|
|||
- result.changed == false
|
||||
#----------------------------------------------------------
|
||||
- name: delete a cloud function
|
||||
gcp_cloudfunctions_cloud_function:
|
||||
google.cloud.gcp_cloudfunctions_cloud_function:
|
||||
name: "{{ resource_name }}"
|
||||
location: us-central1
|
||||
entry_point: helloGET
|
||||
|
@ -103,7 +103,7 @@
|
|||
- results['resources'] | map(attribute='name') | select("match", ".*{{ resource_name }}.*") | list | length == 0
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: delete a cloud function that does not exist
|
||||
gcp_cloudfunctions_cloud_function:
|
||||
google.cloud.gcp_cloudfunctions_cloud_function:
|
||||
name: "{{ resource_name }}"
|
||||
location: us-central1
|
||||
entry_point: helloGET
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue