|
|
|
@ -15,7 +15,7 @@
|
|
|
|
|
# Pre-test setup
|
|
|
|
|
- name: delete a repository
|
|
|
|
|
gcp_sourcerepo_repository:
|
|
|
|
|
name: projects/{{ gcp_project }}/repos/{{ resource_name }}
|
|
|
|
|
name: "{{ resource_name }}"
|
|
|
|
|
project: "{{ gcp_project }}"
|
|
|
|
|
auth_kind: "{{ gcp_cred_kind }}"
|
|
|
|
|
service_account_file: "{{ gcp_cred_file }}"
|
|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
#----------------------------------------------------------
|
|
|
|
|
- name: create a repository
|
|
|
|
|
gcp_sourcerepo_repository:
|
|
|
|
|
name: projects/{{ gcp_project }}/repos/{{ resource_name }}
|
|
|
|
|
name: "{{ resource_name }}"
|
|
|
|
|
project: "{{ gcp_project }}"
|
|
|
|
|
auth_kind: "{{ gcp_cred_kind }}"
|
|
|
|
|
service_account_file: "{{ gcp_cred_file }}"
|
|
|
|
@ -48,7 +48,7 @@
|
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
- name: create a repository that already exists
|
|
|
|
|
gcp_sourcerepo_repository:
|
|
|
|
|
name: projects/{{ gcp_project }}/repos/{{ resource_name }}
|
|
|
|
|
name: "{{ resource_name }}"
|
|
|
|
|
project: "{{ gcp_project }}"
|
|
|
|
|
auth_kind: "{{ gcp_cred_kind }}"
|
|
|
|
|
service_account_file: "{{ gcp_cred_file }}"
|
|
|
|
@ -61,7 +61,7 @@
|
|
|
|
|
#----------------------------------------------------------
|
|
|
|
|
- name: delete a repository
|
|
|
|
|
gcp_sourcerepo_repository:
|
|
|
|
|
name: projects/{{ gcp_project }}/repos/{{ resource_name }}
|
|
|
|
|
name: "{{ resource_name }}"
|
|
|
|
|
project: "{{ gcp_project }}"
|
|
|
|
|
auth_kind: "{{ gcp_cred_kind }}"
|
|
|
|
|
service_account_file: "{{ gcp_cred_file }}"
|
|
|
|
@ -86,7 +86,7 @@
|
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
- name: delete a repository that does not exist
|
|
|
|
|
gcp_sourcerepo_repository:
|
|
|
|
|
name: projects/{{ gcp_project }}/repos/{{ resource_name }}
|
|
|
|
|
name: "{{ resource_name }}"
|
|
|
|
|
project: "{{ gcp_project }}"
|
|
|
|
|
auth_kind: "{{ gcp_cred_kind }}"
|
|
|
|
|
service_account_file: "{{ gcp_cred_file }}"
|
|
|
|
|