Vitrage - Zuul/Jenkins update
1. Added vitrage.yaml - needed for setting up environment vars and run tempests tests. 2. Added Jenkins template jobs publish to pypi and python3, for the following projects: - vitrage - python-vitrageclient - vitrage-dashboard under projects.yaml and layout.yaml 3. Added an experimental template job for running tempest tests under layout.yaml Change-Id: Ib882a4dd60d1b26caf861d74773b8e7f9e8aa2dd
This commit is contained in:
parent
aa8aba5522
commit
1e9c343f07
@ -7434,6 +7434,7 @@
|
||||
|
||||
jobs:
|
||||
- python-jobs
|
||||
- pypi-jobs
|
||||
|
||||
- project:
|
||||
name: python-watcherclient
|
||||
@ -8788,6 +8789,12 @@
|
||||
|
||||
jobs:
|
||||
- python-jobs
|
||||
- pypi-jobs
|
||||
- '{pipeline}-vitrage-dsvm{job-suffix}':
|
||||
pipeline: gate
|
||||
node: ubuntu-trusty
|
||||
job-suffix: '-nv'
|
||||
branch-override: default
|
||||
|
||||
- project:
|
||||
name: vitrage-dashboard
|
||||
@ -8795,6 +8802,7 @@
|
||||
|
||||
jobs:
|
||||
- python-jobs
|
||||
- pypi-jobs
|
||||
|
||||
- project:
|
||||
name: vitrage-specs
|
||||
|
48
jenkins/jobs/vitrage.yaml
Normal file
48
jenkins/jobs/vitrage.yaml
Normal file
@ -0,0 +1,48 @@
|
||||
- job-template:
|
||||
name: '{pipeline}-vitrage-dsvm{job-suffix}'
|
||||
node: '{node}'
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 130
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- link-logs
|
||||
- net-info
|
||||
- devstack-checkout
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
export PYTHONUNBUFFERED=true
|
||||
export PROJECTS="openstack/python-vitrageclient $PROJECTS"
|
||||
export PROJECTS="openstack/vitrage $PROJECTS"
|
||||
export PROJECTS="openstack/vitrage-dashboard $PROJECTS"
|
||||
export ENABLED_SERVICES=tempest
|
||||
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin vitrage git://git.openstack.org/openstack/vitrage"
|
||||
|
||||
function pre_test_hook {{
|
||||
cd $BASE/new/vitrage/devstack
|
||||
./pre_test_hook.sh
|
||||
}}
|
||||
export -f pre_test_hook
|
||||
|
||||
function gate_hook {{
|
||||
cd $BASE/new/vitrage/devstack
|
||||
./gate_hook.sh
|
||||
}}
|
||||
export -f gate_hook
|
||||
|
||||
function post_test_hook {{
|
||||
cd $BASE/new/vitrage/devstack
|
||||
./post_test_hook.sh
|
||||
}}
|
||||
export -f post_test_hook
|
||||
|
||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||
./safe-devstack-vm-gate-wrap.sh
|
||||
|
||||
publishers:
|
||||
- test-results
|
||||
- devstack-logs
|
||||
- console-log
|
@ -10249,6 +10249,9 @@ projects:
|
||||
template:
|
||||
- name: merge-check
|
||||
- name: python-jobs
|
||||
- name: python3-jobs
|
||||
- name: check-requirements
|
||||
- name: publish-to-pypi
|
||||
|
||||
- name: openstack/python-watcherclient
|
||||
template:
|
||||
@ -11686,11 +11689,19 @@ projects:
|
||||
template:
|
||||
- name: merge-check
|
||||
- name: python-jobs
|
||||
- name: python3-jobs
|
||||
- name: check-requirements
|
||||
- name: publish-to-pypi
|
||||
experimental:
|
||||
- gate-vitrage-dsvm-nv
|
||||
|
||||
- name: openstack/vitrage-dashboard
|
||||
template:
|
||||
- name: merge-check
|
||||
- name: python-jobs
|
||||
- name: python3-jobs
|
||||
- name: check-requirements
|
||||
- name: publish-to-pypi
|
||||
|
||||
- name: openstack/vitrage-specs
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user