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:
parent
4a309b3a7e
commit
1bd0c176b9
|
@ -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
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
run_tarball_envlist: venv
|
|
@ -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 }}"
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
run_wheel_envlist: venv
|
|
@ -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 }}"
|
|
@ -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"
|
|
@ -0,0 +1,5 @@
|
|||
- hosts: all
|
||||
roles:
|
||||
- revoke-sudo
|
||||
- run-tarball
|
||||
- run-wheel
|
Loading…
Reference in New Issue