af68dbf959
Description: - Omni project contains run_tests.sh, which performs following steps:. 1. We need to copy Omni drivers into individual components (Cinder, Glance, Nova, Neutron) 2. Modify test requirements of an individual Openstack component. 3. After executing Step 1 and Step 2, run "tox" command on each component. Files Modified - Added jenkins/jobs/omni.yaml: Contains job template for Omni project - Updated jenkins/jobs/projects.yaml: Contains information about jobs to be run in a pipeline - Updated zuul/layout.yaml: Added jobs for openstack/omni project Change-Id: I3fdbb6d29da0f5af0b7690c3eb9d0a3801eb27f8
34 lines
786 B
YAML
34 lines
786 B
YAML
- job-template:
|
|
name: '{pipeline}-omni-tests'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 70
|
|
- timestamps
|
|
|
|
builders:
|
|
- zuul-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
|
git://git.openstack.org \
|
|
openstack/nova \
|
|
openstack/cinder \
|
|
openstack/neutron \
|
|
openstack/glance_store
|
|
|
|
./run_tests.sh -j
|
|
|
|
publishers:
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'logs/$LOG_PATH'
|
|
source: 'openstack/*.log'
|
|
keep-hierarchy: true
|
|
copy-after-failure: true
|
|
- console-log
|