7c4734f398
This change follows I16186c929e7d0e6e34b35271559e555255a52b00 to run openstack-zuul-jobs-linters on the repository. Also, silence remaining lint role. Depends-On: I46c53229f878fc707bab627654d820b891d9f625 Change-Id: I76abf21ea51c5f7553639475e408e06768fb1016
24 lines
662 B
YAML
24 lines
662 B
YAML
- name: Rename tarball for uploading
|
|
shell: |
|
|
mkdir -p dist
|
|
cp *.tgz dist/{{ zuul.project.short_name }}-{{ project_ver }}.tar.gz
|
|
cp *.tgz dist/{{ zuul.project.short_name }}-latest.tar.gz
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|
|
tags:
|
|
# Ignore ANSIBLE0007: No need to use file module instead of mkdir
|
|
- skip_ansible_lint
|
|
|
|
- name: Ensure artifacts directory exists
|
|
file:
|
|
path: "{{ zuul.executor.work_root }}/artifacts"
|
|
state: directory
|
|
delegate_to: localhost
|
|
|
|
- name: Collect artifacts
|
|
synchronize:
|
|
dest: "{{ zuul.executor.work_root }}/artifacts/"
|
|
mode: pull
|
|
src: "{{ zuul_work_dir }}/dist/"
|
|
verify_host: true
|