Add zuul job for checkbuild target
The new job runs 'tox -e checkbuild' to create a test project 'cafe-ui' and checks tox default targets defined in the created project, i.e. pep8, py27-local, py35-local, py35dj20-local, eslint, karma-local, docs-local and releasenotes, Change-Id: I5a94939fb278a756b7118c6c2a4acdb5b98170ef Co-Authored-By: Shu Muto <shu.mutow@gmail.com>
This commit is contained in:
parent
31151ab91e
commit
f1b5572443
16
.zuul.yaml
Normal file
16
.zuul.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
- job:
|
||||
name: ui-cookiecutter-tox-checkbuild
|
||||
parent: tox
|
||||
pre-run: playbooks/checkbuild/pre.yaml
|
||||
post-run: playbooks/checkbuild/post.yaml
|
||||
vars:
|
||||
tox_envlist: checkbuild
|
||||
|
||||
- project:
|
||||
name: openstack/ui-cookiecutter
|
||||
check:
|
||||
jobs:
|
||||
- ui-cookiecutter-tox-checkbuild
|
||||
gate:
|
||||
jobs:
|
||||
- ui-cookiecutter-tox-checkbuild
|
12
playbooks/checkbuild/post.yaml
Normal file
12
playbooks/checkbuild/post.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: fetch-tox-output
|
||||
tox_envlist: checkbuild
|
||||
zuul_work_dir: "{{ zuul.project.src_dir }}"
|
||||
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: fetch-tox-output
|
||||
tox_envlist: pep8,py27-local,py35-local,py35dj20-local,eslint,karma,karma-local,docs-local,releasenotes
|
||||
zuul_work_dir: "{{ zuul.project.src_dir }}/.tox/checkbuild/cafe-ui"
|
||||
|
6
playbooks/checkbuild/pre.yaml
Normal file
6
playbooks/checkbuild/pre.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- install-nodejs
|
||||
- install-yarn
|
||||
- install-javascript-packages
|
||||
- nodejs-test-dependencies
|
Loading…
Reference in New Issue
Block a user