Adding namespace on integration tests + examples

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
Alex Stephen 2019-09-30 22:08:25 +00:00 committed by Modular Magician
commit 516fada880
130 changed files with 570 additions and 570 deletions

View file

@ -14,7 +14,7 @@
# ----------------------------------------------------------------------------
# Pre-test setup
- name: delete a repository
gcp_sourcerepo_repository:
google.cloud.gcp_sourcerepo_repository:
name: "{{ resource_name }}"
project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}"
@ -22,7 +22,7 @@
state: absent
#----------------------------------------------------------
- name: create a repository
gcp_sourcerepo_repository:
google.cloud.gcp_sourcerepo_repository:
name: "{{ resource_name }}"
project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}"
@ -47,7 +47,7 @@
- results['resources'] | map(attribute='name') | select("match", ".*{{ resource_name }}.*") | list | length == 1
# ----------------------------------------------------------------------------
- name: create a repository that already exists
gcp_sourcerepo_repository:
google.cloud.gcp_sourcerepo_repository:
name: "{{ resource_name }}"
project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}"
@ -60,7 +60,7 @@
- result.changed == false
#----------------------------------------------------------
- name: delete a repository
gcp_sourcerepo_repository:
google.cloud.gcp_sourcerepo_repository:
name: "{{ resource_name }}"
project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}"
@ -85,7 +85,7 @@
- results['resources'] | map(attribute='name') | select("match", ".*{{ resource_name }}.*") | list | length == 0
# ----------------------------------------------------------------------------
- name: delete a repository that does not exist
gcp_sourcerepo_repository:
google.cloud.gcp_sourcerepo_repository:
name: "{{ resource_name }}"
project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}"