Ability to flag projects to use non-standard libraries
devstack and requirements repo are being updated in the following changes to allow projects to specify a soft dependency for additional libraries not specified in global-requirements. In this review, we enable a project to specify the flag in a project/job's yml file and pass the flag along down to devstack Depends-On: I4aa606514131b5dde67d87f5c8db5a3f3e50fc03 Depends-On: I1f195ef9ff1509659848e14ec9936ff6f66a6496 Change-Id: I32a2cd1245a6fad373870362d3399cf1397aa7f1
This commit is contained in:
@@ -295,6 +295,10 @@ export DEVSTACK_GATE_TEMPEST_REGEX=${DEVSTACK_GATE_TEMPEST_REGEX:-""}
|
||||
# Set to 1 if running the openstack/requirements integration test
|
||||
export DEVSTACK_GATE_REQS_INTEGRATION=${DEVSTACK_GATE_REQS_INTEGRATION:-0}
|
||||
|
||||
# Set to 1 if running the project is using libraries not specified
|
||||
# in global requirements
|
||||
export REQUIREMENTS_MODE=${REQUIREMENTS_MODE:-strict}
|
||||
|
||||
# Set to 0 to disable clean logs enforcement (3rd party CI might want to do this
|
||||
# until they get their driver cleaned up)
|
||||
export DEVSTACK_GATE_CLEAN_LOGS=${DEVSTACK_GATE_CLEAN_LOGS:-1}
|
||||
|
||||
@@ -109,6 +109,8 @@ PIP_USE_MIRRORS=False
|
||||
USE_GET_PIP=1
|
||||
# Don't reset the requirements.txt files after g-r updates
|
||||
UNDO_REQUIREMENTS=False
|
||||
# Set to soft if the project is using libraries not in g-r
|
||||
REQUIREMENTS_MODE=${REQUIREMENTS_MODE}
|
||||
CINDER_PERIODIC_INTERVAL=10
|
||||
export OS_NO_CACHE=True
|
||||
CEILOMETER_BACKEND=$DEVSTACK_GATE_CEILOMETER_BACKEND
|
||||
|
||||
Reference in New Issue
Block a user