Generic artifact upload
This is meant for the check job. Use it like this:
# .zuul.yaml:
- job:
...
post-run: ci/post.yaml
roles:
- zuul: return-built-artifact
vars:
artifacts:
glob: 'tarball-*.tar.xz'
name: 'tarball'
# ci/post.yaml:
- hosts: all
roles:
- return-built-artifact
This will make sure that anything that is found in
~/zuul-output/artifacts/tarball-*.tar.xz will be uploaded to the log
server along with the change in question. The target location is right
next to job's logs, so there is no persistent registry here.
Change-Id: Ia018a58afd71333647cd317da98bb05e29bd0ab0
2 files changed