8b4e40a38a
Add xenial jobs for gate-storyboard-js-integration, ensure that the trusty job runs on master as well since we deploy storyboard currently on a trusty node. Change-Id: Ib164216d688d829bff62acd9137526572a7b22e0
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
- job-template:
|
|
name: gate-storyboard-js-integration-{node}
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- nodejs-install:
|
|
version: 4
|
|
- xvfb-install
|
|
- chrome-install
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git git://git.openstack.org openstack-infra/storyboard openstack-infra/storyboard-webclient
|
|
|
|
export CREATE_USER=1
|
|
export DB_ADMIN_USER=root
|
|
export STORYBOARD_PATH=openstack-infra/storyboard
|
|
|
|
./openstack-infra/storyboard/tools/install_test_backend.sh
|
|
|
|
- js-build:
|
|
command: 'test:integration'
|
|
envlist: 'grunt_no_api'
|
|
project: 'storyboard-webclient'
|
|
- assert-no-extra-files
|
|
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
./openstack-infra/storyboard/tools/destroy_test_backend.sh
|
|
|
|
publishers:
|
|
- coverage-log
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'logs/$LOG_PATH'
|
|
source: 'reports/**'
|
|
keep-hierarchy: true
|
|
copy-after-failure: true
|
|
- console-log
|