diff --git a/playbooks/base-test/post.yaml b/playbooks/base-test/post.yaml index c4a139dbc6..972cc189d6 100644 --- a/playbooks/base-test/post.yaml +++ b/playbooks/base-test/post.yaml @@ -3,6 +3,21 @@ - fetch-output - merge-output-to-logs +- hosts: localhost + roles: + - role: add-fileserver + when: + - zuul_success | bool + - zuul.change is not defined + +- hosts: "{{ fileserver.fqdn }}" + gather_facts: False + roles: + - role: publish-artifacts-to-fileserver + when: + - zuul_success | bool + - zuul.change is not defined + - hosts: all # NOTE(pabelanger): We ignore_errors for the following tasks as not to fail # successful jobs. diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 8a1462bb25..27748fb0ba 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -127,6 +127,8 @@ label: ubuntu-xenial secrets: - site_logs + - secret: site_tarballs + name: fileserver # NOTE(corvus): A short-term test job - job: