1de4c20e00
Reworks the publish playbooks and the post-run jobs for the Puppet release job. Depends-On: https://review.openstack.org/#/c/635941/ Change-Id: Ia9b149d3e1e94331b047d9bc762359d09ce81b20
19 lines
568 B
YAML
19 lines
568 B
YAML
- hosts: localhost
|
|
tasks:
|
|
- name: Find all puppet tarballs in artifacts
|
|
find:
|
|
paths: "{{ zuul.executor.work_root }}/artifacts/"
|
|
patterns: '*.tar.gz'
|
|
recurse: yes
|
|
register: tarballs
|
|
- name: Upload tarballs to PuppetForge
|
|
include_role:
|
|
name: upload-forge
|
|
vars:
|
|
forge_username: "{{ puppetforge.user }}"
|
|
forge_password: "{{ puppetforge.password }}"
|
|
forge_tarball: "{{ item.path }}"
|
|
forge_url: "https://forgeapi.puppet.com"
|
|
with_items:
|
|
- "{{ tarballs.files }}"
|