Experimental tests with xstatic reviews
This commit adds experimental jobs to run horizon with the master branches of xstatic repositories. It allows us to test xstatic packages before merging/releasing them. The existing npm jobs do not support sibling installation into the tox env "npm" which is used by the npm jobs. In a new experimental npm job with xstatic master repos, sibling installation is now supported. Note that this change is proposed only to the horizon repo to avoid sending the similar change to many xstatic repos. Change-Id: I5fa29c3af9c896561d1738471b7464a2ea81b7a0
This commit is contained in:
parent
6c8e78865b
commit
decb90bf6e
43
.zuul.yaml
43
.zuul.yaml
@ -147,6 +147,44 @@
|
||||
- nodejs10-npm-run-lint
|
||||
- nodejs10-npm-run-test
|
||||
|
||||
- job:
|
||||
name: horizon-integration-tests-xstatic-master
|
||||
parent: horizon-integration-tests
|
||||
required-projects: &xstatic-projects
|
||||
- openstack/horizon
|
||||
- openstack/xstatic-angular
|
||||
- openstack/xstatic-angular-bootstrap
|
||||
- openstack/xstatic-angular-gettext
|
||||
- openstack/xstatic-angular-lrdragndrop
|
||||
- openstack/xstatic-angular-smart-table
|
||||
- openstack/xstatic-bootstrap-datepicker
|
||||
- openstack/xstatic-bootstrap-scss
|
||||
- openstack/xstatic-bootswatch
|
||||
- openstack/xstatic-d3
|
||||
- openstack/xstatic-font-awesome
|
||||
- openstack/xstatic-hogan
|
||||
- openstack/xstatic-jasmine
|
||||
- openstack/xstatic-jquery-migrate
|
||||
- openstack/xstatic-jquery.quicksearch
|
||||
- openstack/xstatic-jquery.tablesorter
|
||||
- openstack/xstatic-jsencrypt
|
||||
- openstack/xstatic-mdi
|
||||
- openstack/xstatic-rickshaw
|
||||
- openstack/xstatic-roboto-fontface
|
||||
- openstack/xstatic-spin
|
||||
- x/xstatic-angular-fileupload
|
||||
|
||||
- job:
|
||||
name: horizon-tox-py36-xstatic-master
|
||||
parent: openstack-tox-py36
|
||||
required-projects: *xstatic-projects
|
||||
|
||||
- job:
|
||||
name: horizon-nodejs10-npm-run-test-xstatic-master
|
||||
parent: nodejs10-npm-run-test
|
||||
required-projects: *xstatic-projects
|
||||
pre-run: playbooks/npm-test-xstatic-master/pre.yaml
|
||||
|
||||
- project-template:
|
||||
name: horizon-nodejs10-jobs-nonvoting
|
||||
description: |
|
||||
@ -193,3 +231,8 @@
|
||||
- horizon-selenium-headless
|
||||
- horizon-integration-tests
|
||||
- horizon-tempest-plugin-ipv6
|
||||
experimental:
|
||||
jobs:
|
||||
- horizon-integration-tests-xstatic-master
|
||||
- horizon-tox-py36-xstatic-master
|
||||
- horizon-nodejs10-npm-run-test-xstatic-master
|
||||
|
9
playbooks/npm-test-xstatic-master/pre.yaml
Normal file
9
playbooks/npm-test-xstatic-master/pre.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
# Ensure sibling packages are installed into "npm" tox env.
|
||||
# "tox" role installs sibling packages based on required-projects
|
||||
# configuration in zuul.yaml.
|
||||
- role: tox
|
||||
vars:
|
||||
tox_envlist: npm
|
||||
tox_extra_args: "-vv --notest"
|
Loading…
Reference in New Issue
Block a user