|
@ -17,6 +17,8 @@ |
|
|
mode: create |
|
|
mode: create |
|
|
expiration: "{{ expire }}" |
|
|
expiration: "{{ expire }}" |
|
|
permission: private |
|
|
permission: private |
|
|
|
|
|
gs_access_key: gs_key |
|
|
|
|
|
gs_secret_key: gs_skey |
|
|
|
|
|
|
|
|
- name: Upload collected diagnostic info |
|
|
- name: Upload collected diagnostic info |
|
|
gc_storage: |
|
|
gc_storage: |
|
@ -26,3 +28,16 @@ |
|
|
expiration: "{{ expire }}" |
|
|
expiration: "{{ expire }}" |
|
|
object: "build-{{ test_name }}-{{ kube_network_plugin }}-logs.tar.gz" |
|
|
object: "build-{{ test_name }}-{{ kube_network_plugin }}-logs.tar.gz" |
|
|
src: logs.tar.gz |
|
|
src: logs.tar.gz |
|
|
|
|
|
gs_access_key: gs_key |
|
|
|
|
|
gs_secret_key: gs_skey |
|
|
|
|
|
|
|
|
|
|
|
- name: Get a link |
|
|
|
|
|
gc_storage: |
|
|
|
|
|
bucket: "{{ test_name }}" |
|
|
|
|
|
object: "build-{{ test_name }}-{{ kube_network_plugin }}-logs.tar.gz" |
|
|
|
|
|
mode: get_url |
|
|
|
|
|
register: url |
|
|
|
|
|
gs_access_key: gs_key |
|
|
|
|
|
gs_secret_key: gs_skey |
|
|
|
|
|
|
|
|
|
|
|
- debug: msg="Download URL {{get_url}}" |