a2e192c9b8
Use the existing "install_prereqs.sh" script to install the packages from the "general" package list, which might be required to run unit-tests. Do this before we revoke sudo so that we can still run the unit-tests unprivileged. Change-Id: Ib47d802a31a0f4c2a49daa7e6698e37c70a2365a Related-Change: I77c8c2019fb8b8174cdfaed3e56ebf728f0732b7
82 lines
1.8 KiB
YAML
82 lines
1.8 KiB
YAML
# Devstack unit tests are run via a set of shell scripts with the
|
|
# run_tests.sh entry point
|
|
- job:
|
|
name: gate-devstack-unit-tests
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
# This installs packages from "general" that might be
|
|
# required for unit tests
|
|
./tools/install_prereqs.sh
|
|
- revoke-sudo
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
./run_tests.sh
|
|
|
|
publishers:
|
|
- console-log
|
|
- zuul-swift-upload-console-log
|
|
|
|
# Devstack does not support "python setup.py publish_sphinx", thus
|
|
# we cannot use the normal docs jobs.
|
|
- job:
|
|
name: devstack-publish-docs
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'docs'
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: 'docs.openstack.org'
|
|
source: 'doc/build/html/**'
|
|
target: 'developer/devstack'
|
|
remove-prefix: 'doc/build/html'
|
|
excludes: ''
|
|
- console-log
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-devstack-publish-docs
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'docs'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-sphinx-draft
|
|
- zuul-swift-upload-console-log
|
|
# TODO(jhesketh): Add job for uploading built docs
|
|
|
|
|
|
- job:
|
|
name: propose-devstack-plugins-list
|
|
node: proposal
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- link-logs
|
|
- branch-git-prep:
|
|
branch: master
|
|
- net-info
|
|
- shell: |
|
|
export ZUUL_REF=master
|
|
/usr/local/jenkins/slave_scripts/propose_update.sh \
|
|
devstack-plugins-list
|
|
|
|
publishers:
|
|
- console-log
|