Merge "[Fullstack] Don't install OVN in the fullstack job"
This commit is contained in:
commit
7aba1bddab
@ -15,6 +15,8 @@
|
|||||||
STACK_USER=stack
|
STACK_USER=stack
|
||||||
OVS_BRANCH={{ OVS_BRANCH }}
|
OVS_BRANCH={{ OVS_BRANCH }}
|
||||||
OVN_BRANCH={{ OVN_BRANCH }}
|
OVN_BRANCH={{ OVN_BRANCH }}
|
||||||
|
BUILD_OVS_FROM_SOURCE={{ BUILD_OVS_FROM_SOURCE }}
|
||||||
|
INSTALL_OVN={{ INSTALL_OVN }}
|
||||||
# This is DB USER used in e.g. pgsql db
|
# This is DB USER used in e.g. pgsql db
|
||||||
DATABASE_USER=openstack_citest
|
DATABASE_USER=openstack_citest
|
||||||
|
|
||||||
|
@ -65,6 +65,7 @@ INSTALL_MYSQL_ONLY=${INSTALL_MYSQL_ONLY:-False}
|
|||||||
# The gate should automatically install dependencies.
|
# The gate should automatically install dependencies.
|
||||||
INSTALL_BASE_DEPENDENCIES=${INSTALL_BASE_DEPENDENCIES:-$IS_GATE}
|
INSTALL_BASE_DEPENDENCIES=${INSTALL_BASE_DEPENDENCIES:-$IS_GATE}
|
||||||
BUILD_OVS_FROM_SOURCE=${BUILD_OVS_FROM_SOURCE:-True}
|
BUILD_OVS_FROM_SOURCE=${BUILD_OVS_FROM_SOURCE:-True}
|
||||||
|
INSTALL_OVN=${INSTALL_OVN:-True}
|
||||||
OVN_BRANCH=${OVN_BRANCH:-main}
|
OVN_BRANCH=${OVN_BRANCH:-main}
|
||||||
OVS_BRANCH=${OVS_BRANCH:-master}
|
OVS_BRANCH=${OVS_BRANCH:-master}
|
||||||
|
|
||||||
@ -112,9 +113,12 @@ function _install_base_deps {
|
|||||||
install_package $PACKAGES
|
install_package $PACKAGES
|
||||||
|
|
||||||
source $DEVSTACK_PATH/lib/neutron_plugins/ovn_agent
|
source $DEVSTACK_PATH/lib/neutron_plugins/ovn_agent
|
||||||
echo_summary "OVN_BRANCH: ${OVN_BRANCH} OVS_BRANCH: ${OVS_BRANCH}"
|
echo_summary "OVS_BRANCH: ${OVS_BRANCH}"
|
||||||
compile_ovs False /usr /var
|
compile_ovs False /usr /var
|
||||||
compile_ovn False /usr /var
|
if [[ "$INSTALL_OVN" == "True" ]]; then
|
||||||
|
echo_summary "OVN_BRANCH: ${OVN_BRANCH}"
|
||||||
|
compile_ovn False /usr /var
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
PACKAGES=$(get_packages general,neutron,q-agt,q-l3,openvswitch)
|
PACKAGES=$(get_packages general,neutron,q-agt,q-l3,openvswitch)
|
||||||
PACKAGES=$(echo $PACKAGES | perl -pe 's|python-(?!dev)[^ ]*||g')
|
PACKAGES=$(echo $PACKAGES | perl -pe 's|python-(?!dev)[^ ]*||g')
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
- ^roles/.*$
|
- ^roles/.*$
|
||||||
- ^rally-jobs/.*$
|
- ^rally-jobs/.*$
|
||||||
vars:
|
vars:
|
||||||
|
BUILD_OVS_FROM_SOURCE: True
|
||||||
|
INSTALL_OVN: True
|
||||||
OVN_BRANCH: v21.06.0
|
OVN_BRANCH: v21.06.0
|
||||||
OVS_BRANCH: v2.16.0
|
OVS_BRANCH: v2.16.0
|
||||||
devstack_services:
|
devstack_services:
|
||||||
@ -50,6 +52,8 @@
|
|||||||
parent: neutron-functional
|
parent: neutron-functional
|
||||||
vars:
|
vars:
|
||||||
tox_envlist: dsvm-fullstack-gate
|
tox_envlist: dsvm-fullstack-gate
|
||||||
|
BUILD_OVS_FROM_SOURCE: False
|
||||||
|
INSTALL_OVN: False
|
||||||
zuul_copy_output:
|
zuul_copy_output:
|
||||||
# We need to copy directory with logs to have it in job artifacts also,
|
# We need to copy directory with logs to have it in job artifacts also,
|
||||||
# /opt/stack/logs is default logs directory defined in neutron's
|
# /opt/stack/logs is default logs directory defined in neutron's
|
||||||
|
Loading…
x
Reference in New Issue
Block a user