project-config/playbooks/publish/openstack-artifacts.yaml
Ian Wienand e6dc1b343f Remove tarball artifact publishing to static site
Following-on from Ia3a0358249e9ed3d766b1b61535f2f6d67d4eb2d, this
removes the publishing from the static site, which is now happening to
AFS.

The site_tarballs secret is no longer required.  The two jobs still
using it have a parent of publish-openstack-artifacts so should not
need a separate secret.

Depends-On: https://review.opendev.org/706732
Change-Id: I1b1db7d2451d7fb1fdd7921e7c9efd0e020fbce6
2020-02-10 16:39:06 +11:00

17 lines
536 B
YAML

- hosts: localhost
tasks:
- block:
- name: Create AFS token
include_role:
name: create-afs-token
- name: Upload to afs
include_role:
name: upload-afs-synchronize
vars:
afs_source: "{{ zuul.executor.work_root }}/artifacts/"
afs_target: "/afs/.openstack.org/project/tarballs.opendev.org/{{ zuul.project.name}}/"
- name: Destroy AFS token
include_role:
name: destroy-afs-token
when: zuul_success | bool