CI: properly publish artifacts for the upgrade job

Change-Id: Ia04126c39ab52816f0b89b89ae7a275d57011df1
This commit is contained in:
Dmitry Tantsur 2022-02-03 16:10:56 +01:00
parent 6a10fcd226
commit 2d5026da09

View File

@ -20,3 +20,15 @@
artifacts: artifacts:
- name: Bifrost log - name: Bifrost log
url: 'logs/bifrost.log' url: 'logs/bifrost.log'
when: '"upgrade" not in zuul.job'
- name: Store bifrost upgrade log as a Zuul artifact
zuul_return:
data:
zuul:
artifacts:
- name: Bifrost log (before upgrade)
url: 'logs/bifrost-old.log'
- name: Bifrost log (after upgrade)
url: 'logs/bifrost-new.log'
when: '"upgrade" in zuul.job'