Merge "CI: properly publish artifacts for the upgrade job"

This commit is contained in:
Zuul 2022-02-09 16:57:29 +00:00 committed by Gerrit Code Review
commit f68af6c291

View File

@ -20,3 +20,15 @@
artifacts:
- name: 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'