Use gerrit instead of github
When we run gating tests in jenkins, any access of network resources is a potential source of false-negative on the test due to intermittent service failures on systems that are out of our control. We observe that this is actually quite frequent when things want to access PyPI or github. With pypi, we pre-create virtualenvs and cache the eggs so that an individual test run doesn't fail due to pypi not responding. For repos, if at all possible, we direct them all at the gerrit instance, because since gerrit is driving the test run in the first place, it's indicative of a much larger problem if jenkins can't talk to it - and it's one that we can fix if it does come up. Change-Id: I9f54133f7f2025d15a9d0b270d2466438cbc6dd5
This commit is contained in:
parent
cf3f671a05
commit
fc3de2491d
@ -7,7 +7,8 @@ from keystone import test
|
|||||||
import default_fixtures
|
import default_fixtures
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
KEYSTONECLIENT_REPO = 'git://github.com/openstack/python-keystoneclient.git'
|
OPENSTACK_REPO = 'https://review.openstack.org/p/openstack'
|
||||||
|
KEYSTONECLIENT_REPO = '%s/python-keystoneclient.git' % OPENSTACK_REPO
|
||||||
|
|
||||||
|
|
||||||
class CompatTestCase(test.TestCase):
|
class CompatTestCase(test.TestCase):
|
||||||
|
@ -13,11 +13,11 @@ from keystone.common import utils
|
|||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
|
||||||
|
OPENSTACK_REPO = 'https://review.openstack.org/p/openstack/'
|
||||||
|
|
||||||
IDENTITY_API_REPO = 'git://github.com/openstack/identity-api.git'
|
IDENTITY_API_REPO = '%s/identity-api.git' % OPENSTACK_REPO
|
||||||
KEYSTONE_REPO = 'git://github.com/openstack/keystone.git'
|
KEYSTONE_REPO = '%s/keystone.git' % OPENSTACK_REPO
|
||||||
NOVACLIENT_REPO = 'git://github.com/rackspace/python-novaclient.git'
|
NOVACLIENT_REPO = '%s/python-novaclient.git' % OPENSTACK_REPO
|
||||||
|
|
||||||
|
|
||||||
IDENTITY_SAMPLE_DIR = 'openstack-identity-api/src/docbkx/samples'
|
IDENTITY_SAMPLE_DIR = 'openstack-identity-api/src/docbkx/samples'
|
||||||
KEYSTONE_SAMPLE_DIR = 'keystone/content/common/samples'
|
KEYSTONE_SAMPLE_DIR = 'keystone/content/common/samples'
|
||||||
|
@ -12,7 +12,8 @@ import default_fixtures
|
|||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
NOVACLIENT_REPO = 'git://github.com/openstack/python-novaclient.git'
|
OPENSTACK_REPO = 'https://review.openstack.org/p/openstack'
|
||||||
|
NOVACLIENT_REPO = '%s/python-novaclient.git' % OPENSTACK_REPO
|
||||||
|
|
||||||
|
|
||||||
class CompatTestCase(test.TestCase):
|
class CompatTestCase(test.TestCase):
|
||||||
|
Loading…
Reference in New Issue
Block a user