Create tox-tarball job

While this job shouldn't be in the check pipeline, add it today so we
can test things.  We are still missing publishers, but that is
expected since we are missing secrets from zuulv3-dev.o.o.

Change-Id: I12a8a0e156cba1c7e5631da5f05478bb0b8ce957
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-03-04 11:22:33 -05:00
parent 4a309b3a7e
commit 1bd0c176b9
7 changed files with 34 additions and 0 deletions

View File

@ -38,6 +38,12 @@
parent: tox
run: tox/py27
- job:
name: tox-tarball
parent: tox
run: tox/tarball
post-run: tox/tarball-post
- project:
name: openstack-infra/zuul
check:
@ -46,3 +52,4 @@
- tox-cover
- tox-linters
- tox-py27
- tox-tarball

View File

@ -0,0 +1,2 @@
---
run_tarball_envlist: venv

View File

@ -0,0 +1,4 @@
- name: Execute run-tarball.sh.
shell: "/usr/local/jenkins/slave_scripts/run-tarball.sh {{ run_tarball_envlist }}"
args:
chdir: "{{ zuul_workspace_root }}/src/{{ zuul.project }}"

View File

@ -0,0 +1,2 @@
---
run_wheel_envlist: venv

View File

@ -0,0 +1,4 @@
- name: Execute run-wheel.sh.
shell: "/usr/local/jenkins/slave_scripts/run-wheel.sh {{ run_wheel_envlist }}"
args:
chdir: "{{ zuul_workspace_root }}/src/{{ zuul.project }}"

View File

@ -0,0 +1,10 @@
- hosts: all
tasks:
- name: Collect tarball artifacts.
synchronize:
dest: "{{ zuul.executor.src_root }}/tarballs"
mode: pull
src: "{{ zuul_workspace_root }}/src/{{ zuul.project }}/dist/{{ item }}"
with_items:
- "*.tar.gz"
- "*.whl"

View File

@ -0,0 +1,5 @@
- hosts: all
roles:
- revoke-sudo
- run-tarball
- run-wheel