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:
Akihiro Motoki 2020-01-27 07:20:49 +09:00
parent 6c8e78865b
commit decb90bf6e
2 changed files with 52 additions and 0 deletions

View File

@ -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

View 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"