a6560bd91a875c83c6b65d770fe94b68fb3036ef
Commit Graph

17 Commits

Author SHA1 Message Date
Andreas Jaeger
1a7be1d54a Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.
This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.
See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html
Needed-By: I0a87f7db0d1d78e7419a8706683aaa540c3dc399
Change-Id: I557202e2be6df2c1cb8efc0f42ac74cd0c458559
2017年02月04日 10:06:47 +01:00
Jenkins
77405d8998 Merge "Install networking-bagpipe test dependency via tox_install/zuul-cloner" 2016年11月10日 09:28:27 +00:00
Thomas Morin
4f6391e444 Install networking-bagpipe test dependency via tox_install/zuul-cloner
Following the discussion in I948d2e967f62f690f412a7e50d76f54cf4fe262e,
it seems that what we should do is rely on tox_install/zuul-cloner to
acquire networking-bagpipe test dependency.
Change-Id: Ib0600040470382bb7f113cb09aa5d1519ea6c9dd
2016年11月09日 17:05:34 +00:00
Thomas Morin
52fcabab1d Use temporary directory for neutron and horizon install
This change applies to tools/tox_install.sh equivalent
fixes that the ones applied in I54d400dea4efdf9ac9b580ff7f0a2bbcceb4df5e
for neutron-lbaas, in particular to use a temporary directory for
zuul-cloner installs.
More details are in the commit message for
I54d400dea4efdf9ac9b580ff7f0a2bbcceb4df5e.
Change-Id: I0c700511e5a63cd66144ad334eb18aa60afb544a
Co-Authored-By: Andreas Jaeger <aj@suse.com>
2016年11月09日 17:05:25 +00:00
Doug Hellmann
5165dc7d7c undo some of the incorrect changes for prepping Newton
Most of the changes in d088925891 should
have been made on the branch after it was created. The update to
requirements was the only one that should have been made in master
before the branch.
The change to .gitreview and tox.ini will be made automatically by the
branch script. The other changes should be done by hand in
stable/newton.
Change-Id: Ief5c73ab4d1cd5fd032dede21f6a244bfa5777c2
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016年10月11日 12:53:51 -04:00
Mathieu Rohon
d088925891 prepare Newton release
This change updates our tree for Newton:
- tell "git review" to push in the stable/newton branch.
- configure tox to use the stable/newton upper constraints file
- let tox test UTs with newton release of networking-bagpipe
- let devstack jobs to use newton branch of networking-bagpipe
Change-Id: I67a1103eae0219e5cefa91fd5848aa0b8986c542
Depends-on: I719a9912ba8e7fe87620850017bdda83431e22da
2016年10月11日 15:32:10 +02:00
Daniel Mellado
bca7d4b393 Use os-testr instead of testr
This commit switches the use of plain testr for os-testr in the tox
venvs.
Change-Id: I285f820b7de3109665dd7a38da389b7fd42acf80
2016年09月29日 17:53:31 +02:00
Jenkins
162546c8cf Merge "Use constrained pip install for all jobs" 2016年08月30日 15:34:02 +00:00
Thomas Morin
5aa1598469 Use constrained pip install for all jobs
Similarly as in I02b28d3b354c3b175147c5be36eea4dc7e05f2a3 .
Change-Id: Ia8fd880e6a4dda080befedc4a85a9fa7b55f7772
2016年08月30日 14:09:38 +02:00
Thomas Morin
a547da247b Remove windows-style line breaks
Not sure why pep8 didn't complain at merge time, but it is
complaining now in my setup.
Change-Id: I5fe65c47a4ace13e21741804730c5815b4e2b32d
2016年08月29日 14:23:51 +02:00
Cedric Savignan
c93da24ec4 Horizon plugin to let the admin handle BGPVPN
Add a new panel BGPVPN in Admin section to display BGPVPN created. The
page allow actions as create, delete or modify BGPVPN resources.
Add an API file bgpvpn to handle the bgpvpn Python API via
neutronclient.
Change-Id: Iee2de53c8cb9d61f80033ab63485bdcf0e742abb
Implements: blueprint horizon-admin-workflow
2016年06月22日 16:41:50 +02:00
Thomas Morin
e8c379efd7 Make test jobs constrained
This change updates tox.ini and tools/tox_install.sh so that
we impose upper constraints on dependencies.
This is done by reusing what was done in neutron-lbaas.
(we also update our tools/tox_install to benefit from
a few improvements that have been brought to the one in
neutron-lbaas)
This change also declare our test dependency on pylint
in test-requirements.txt, rather than in tox.ini, so that
we don't endup with a pylint version that is inconsistent
with the one global-requirements would draw.
Change-Id: I904286860a5b8471f5da9312ee23bdf49004f1b0
Suggested-By: Ihar Hrachyshka <ihrachys@redhat.com>
2016年06月03日 18:01:56 +00:00
Thomas Morin
14bdb3308e Follow Neutron master
Update requirements (tools/tox_install.sh): our master
branch now needs to follow Neutron's master.
Update unit tests.
Bagpipe driver: follow changes in OVS agent main in Neutron master.
Change-Id: I310ea955329b6f523b417b6bf8c25f6d2db08eba
2016年02月02日 11:09:57 +01:00
Thomas Morin
75a22fda5f Zuul tox needs to use the right neutron branch
Update tools/tox_install.sh so that the right neutron
branch is also used when the zuul cloner is in place.
Change-Id: I6c87713f85d8153f53b89484116f2755d0098d40
2015年12月01日 15:38:14 +01:00
Thomas Morin
9e388c6eeb Fix bogus pip install URI in tox_install.sh
The branch specification was misplaced.
This only impacted test run locally by a developer.
Change-Id: I55671d7a9c7df501048febe24a15ba5f55a33024
2015年11月12日 13:50:34 +01:00
Thomas Morin
2c6c00598e have tox use neutron stable/liberty
We need tox to use the right Neutron branch.
Change-Id: I9c3e9d43893cb79e1f21de35896ba33055856c66
2015年11月05日 16:42:07 +01:00
Thomas Morin
7071225128 Avoid cloning neutron on test jobs
Mimic what neutron-lbaas is doing to avoid cloning
neutron repo on each test job, following guidance by
fungi.
Change-Id: I4c3bbaf568ba7ac96caf7534ec4294e18d6c7cee
2015年07月06日 15:15:00 +02:00