test-upload-logs-swift: add download script as an artifact
Some time ago we merged Id91350ff1c531fd7266f3bf76681a8415941481f to test the idea of a download script; proposed in I98c80f657f38c5e1ed5f28e5d36988a3429ad1f8. However, we never actually go to either merging or abandoning the actual change in I98c80f657f38c5e1ed5f28e5d36988a3429ad1f8. This adds the download script as an artifact, which brings the testing role in-line with the latest thinking in the actual job proposed in I98c80f657f38c5e1ed5f28e5d36988a3429ad1f8. Once tested, we can then actually get reviews this time and decide to either go with this, or revert the whole thing and remove it from the testing role. Change-Id: Id1d8b04ff65a4dc567b73f22bcfb2795a3f13d7d
This commit is contained in:
parent
1e4e4bd91e
commit
de303d1045
@ -22,6 +22,16 @@
|
||||
when:
|
||||
- zuul_log_include_download_script
|
||||
|
||||
- name: Set download template artifact
|
||||
zuul_return:
|
||||
data:
|
||||
zuul:
|
||||
artifacts:
|
||||
- name: bulk-download
|
||||
url: '{{ upload_results.url }}/{{ zuul_log_download_template[:-3] }}'
|
||||
when:
|
||||
- zuul_log_include_download_script
|
||||
|
||||
- name: Upload logs to swift
|
||||
delegate_to: localhost
|
||||
zuul_swift_upload:
|
||||
|
Loading…
Reference in New Issue
Block a user