Configuration files for project CI systems
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
project-config/playbooks/publish/openstack-artifacts.yaml

17 lines
563 B

- hosts: localhost
tasks:
- name: Upload to AFS
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