Add per-repo gerrit and zuul configuration
Remove ``.travis.yml`` after upstreaming to OpenStack. Add missing ``py35`` target in tox.ini. Note that upstream gate will be running py36 unit test but we do want to keep the ``py35`` target for a broader set of test run in the Canonical CI. Hold gate test for Ubuntu Disco pending resolution of LP: #1824112 Change-Id: I17925206dbe4d3b3d51615552ca2afea42a049a6
This commit is contained in:
parent
cbb7a4e06b
commit
525e0d3247
|
@ -0,0 +1,4 @@
|
||||||
|
[gerrit]
|
||||||
|
host=review.opendev.org
|
||||||
|
port=29418
|
||||||
|
project=openstack/charm-octavia-diskimage-retrofit.git
|
|
@ -1,6 +0,0 @@
|
||||||
language: python
|
|
||||||
python:
|
|
||||||
- "3.6"
|
|
||||||
install: pip install tox-travis
|
|
||||||
script:
|
|
||||||
- tox -e pep8,py3
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
- project:
|
||||||
|
templates:
|
||||||
|
- python36-charm-jobs
|
||||||
|
- openstack-cover-jobs
|
|
@ -4,8 +4,11 @@ smoke_bundles:
|
||||||
gate_bundles:
|
gate_bundles:
|
||||||
- bionic-rocky
|
- bionic-rocky
|
||||||
- bionic-stein
|
- bionic-stein
|
||||||
- disco
|
comment: |
|
||||||
|
Deployment on Disco and onwards will not work until we resolve
|
||||||
|
https://bugs.launchpad.net/bugs/1824112
|
||||||
dev_bundles:
|
dev_bundles:
|
||||||
|
- disco
|
||||||
- eoan
|
- eoan
|
||||||
target_deploy_status:
|
target_deploy_status:
|
||||||
glance-simplestreams-sync:
|
glance-simplestreams-sync:
|
||||||
|
|
5
tox.ini
5
tox.ini
|
@ -23,6 +23,11 @@ basepython = python3
|
||||||
commands =
|
commands =
|
||||||
charm-build --log-level DEBUG -o {toxinidir}/build src {posargs}
|
charm-build --log-level DEBUG -o {toxinidir}/build src {posargs}
|
||||||
|
|
||||||
|
[testenv:py35]
|
||||||
|
basepython = python3.5
|
||||||
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
commands = stestr run {posargs}
|
||||||
|
|
||||||
[testenv:py36]
|
[testenv:py36]
|
||||||
basepython = python3.6
|
basepython = python3.6
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue