acf7572d10
We do not need gerrit-git-prep anymore, zuul-git-prep works on all our slaves and has the advantage of using zuul-cloner so that the local cache is used and Depends-On works. Remove gerrit-git-prep and use zuul-git-prep instead everywhere. Change-Id: I2f106af58f78fceaf3c497fe43e6f5a002695645
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:
|
|
- zuul-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
|