Move periodic-python-jobs-with-neutron-lib-master to xenial
Use xenial as node - and py35 as environment - for these jobs that run on master. We have switched the py34 job already to py35 with xenial. Update grafana for the change. Update tox environment to use a variable. Change-Id: Iadc4e03a4176a83e97c3b166c6043516ac57bcd8
This commit is contained in:
parent
2b57ea8eba
commit
baa5e292dc
@ -36,7 +36,7 @@ dashboard:
|
|||||||
- title: Periodic Job Failure Rates
|
- title: Periodic Job Failure Rates
|
||||||
span: 4
|
span: 4
|
||||||
targets:
|
targets:
|
||||||
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-networking-ovn-py34-with-neutron-lib-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-networking-ovn-py34-with-neutron-lib-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-networking-ovn-py34-with-neutron-lib-master')
|
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-networking-ovn-py35-with-neutron-lib-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-networking-ovn-py35-with-neutron-lib-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-networking-ovn-py35-with-neutron-lib-master')
|
||||||
type: graph
|
type: graph
|
||||||
- title: Graphs
|
- title: Graphs
|
||||||
height: 320px
|
height: 320px
|
||||||
|
@ -38,7 +38,7 @@ dashboard:
|
|||||||
targets:
|
targets:
|
||||||
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py27-with-oslo-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py27-with-oslo-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-neutron-py27-with-oslo-master')
|
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py27-with-oslo-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py27-with-oslo-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-neutron-py27-with-oslo-master')
|
||||||
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py34-with-oslo-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py34-with-oslo-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-neutron-py34-with-oslo-master')
|
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py34-with-oslo-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py34-with-oslo-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-neutron-py34-with-oslo-master')
|
||||||
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py34-with-neutron-lib-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py34-with-neutron-lib-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-neutron-py34-with-neutron-lib-master')
|
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py35-with-neutron-lib-master.FAILURE),sum(stats_counts.zuul.pipeline.periodic.job.periodic-neutron-py35-with-neutron-lib-master.{SUCCESS,FAILURE})),'24hours'), 'periodic-neutron-py35-with-neutron-lib-master')
|
||||||
type: graph
|
type: graph
|
||||||
- title: Graphs
|
- title: Graphs
|
||||||
height: 320px
|
height: 320px
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
- job-template:
|
- job-template:
|
||||||
name: 'periodic-{name}-{python}-with-neutron-lib-master'
|
name: 'periodic-{name}-{python}-with-neutron-lib-master'
|
||||||
node: ubuntu-trusty
|
node: ubuntu-xenial
|
||||||
|
|
||||||
wrappers:
|
wrappers:
|
||||||
- build-timeout:
|
- build-timeout:
|
||||||
|
@ -621,7 +621,7 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- 'periodic-{name}-{python}-with-neutron-lib-master':
|
- 'periodic-{name}-{python}-with-neutron-lib-master':
|
||||||
python:
|
python:
|
||||||
- py34
|
- py35
|
||||||
|
|
||||||
- job-group:
|
- job-group:
|
||||||
name: python-jobs
|
name: python-jobs
|
||||||
|
@ -7,7 +7,7 @@ venv=$1
|
|||||||
if [[ -z "$venv" ]]; then
|
if [[ -z "$venv" ]]; then
|
||||||
echo "Usage: $?"
|
echo "Usage: $?"
|
||||||
echo
|
echo
|
||||||
echo "VENV: The tox environment to run (eg 'py34')"
|
echo "VENV: The tox environment to run (eg 'py35')"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ sed -i "s/neutron-lib.*/-e git+https:\/\/git.openstack.org\/openstack\/neutron-l
|
|||||||
|
|
||||||
cat << EOF >> tox.ini
|
cat << EOF >> tox.ini
|
||||||
|
|
||||||
[testenv:py34-neutron-lib-master]
|
[testenv:${venv}-neutron-lib-master]
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
passenv = TRACE_FAILONLY GENERATE_HASHES http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
passenv = TRACE_FAILONLY GENERATE_HASHES http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
|
@ -452,7 +452,7 @@ project-templates:
|
|||||||
|
|
||||||
- name: periodic-jobs-with-neutron-lib-master
|
- name: periodic-jobs-with-neutron-lib-master
|
||||||
periodic:
|
periodic:
|
||||||
- 'periodic-{name}-py34-with-neutron-lib-master'
|
- 'periodic-{name}-py35-with-neutron-lib-master'
|
||||||
|
|
||||||
# This is the same template as python-jobs but uses the new
|
# This is the same template as python-jobs but uses the new
|
||||||
# linters target instead of pep8.
|
# linters target instead of pep8.
|
||||||
|
Loading…
Reference in New Issue
Block a user