2014-01-26 20:00:53 +04:00
|
|
|
# This is a non-standard docs job because it uses SCP instead of FTP
|
|
|
|
- job:
|
|
|
|
name: storyboard-docs
|
2016-03-08 10:35:31 +01:00
|
|
|
node: ubuntu-trusty
|
2014-01-26 20:00:53 +04:00
|
|
|
|
|
|
|
builders:
|
|
|
|
- gerrit-git-prep
|
2016-03-08 10:35:31 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2014-06-27 23:37:48 -07:00
|
|
|
- docs
|
2014-01-26 20:00:53 +04:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- scp:
|
|
|
|
site: '173.203.107.207'
|
|
|
|
files:
|
|
|
|
- target: 'ci/storyboard'
|
|
|
|
source: 'doc/build/html/**/*'
|
|
|
|
keep-hierarchy: true
|
|
|
|
- console-log
|
2015-02-15 12:11:30 +01:00
|
|
|
|
|
|
|
- job:
|
2015-07-14 14:19:40 +02:00
|
|
|
name: gate-storyboard-js-integration
|
2016-03-09 20:23:41 +01:00
|
|
|
node: ubuntu-trusty
|
|
|
|
|
2015-02-15 12:11:30 +01:00
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 40
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2016-03-09 20:23:41 +01:00
|
|
|
- gerrit-git-prep
|
|
|
|
- install-distro-packages
|
2015-02-15 12:11:30 +01:00
|
|
|
- npm-install
|
|
|
|
- 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
|
2015-07-15 17:36:39 +01:00
|
|
|
export STORYBOARD_PATH=openstack-infra/storyboard
|
2015-02-15 12:11:30 +01:00
|
|
|
|
2015-07-15 17:36:39 +01:00
|
|
|
./openstack-infra/storyboard/tools/install_test_backend.sh
|
2015-02-15 12:11:30 +01:00
|
|
|
|
|
|
|
- js-build:
|
|
|
|
command: 'test:integration'
|
|
|
|
envlist: 'grunt_no_api'
|
|
|
|
project: 'storyboard-webclient'
|
|
|
|
- assert-no-extra-files
|
|
|
|
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
2015-07-15 17:36:39 +01:00
|
|
|
./openstack-infra/storyboard/tools/destroy_test_backend.sh
|
2015-02-15 12:11:30 +01:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
|
|
|
- coverage-log
|
|
|
|
- scp:
|
|
|
|
site: 'static.openstack.org'
|
|
|
|
files:
|
|
|
|
- target: 'logs/$LOG_PATH'
|
|
|
|
source: 'reports/**'
|
|
|
|
keep-hierarchy: true
|
|
|
|
copy-after-failure: true
|