10d21d5758
A new openstack project has been created for docker interacting projects to consolidate their code into a single repo. This patch drops our code for installing & running docker and moves to use the new plugin. Depends-On: I78569f4c76e7023c58d8c67fcab17fce8b4e00fd Change-Id: I194532a36d76441497b8ebd6c2a1338296bf4ea2 Fixes-Bug: https://bugs.launchpad.net/kuryr-kubernetes/+bug/1694914 Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
42 lines
2.3 KiB
Plaintext
42 lines
2.3 KiB
Plaintext
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
#
|
|
# This script is executed in the install-dsvm-kuryr-kuryr-kubernetes
|
|
# OpenStack CI job that runs DevStack + kuryr. You can find the CI job
|
|
# configuration here:
|
|
#
|
|
# https://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/kuryr.yaml
|
|
#
|
|
|
|
VARIANT=${1:-default}
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin neutron-lbaas git://git.openstack.org/openstack/neutron-lbaas"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin devstack-plugin-container https://git.openstack.org/openstack/devstack-plugin-container"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin kuryr-kubernetes https://git.openstack.org/openstack/kuryr-kubernetes"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NEUTRON_LBAAS_SERVICE_PROVIDERV2=LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default"
|
|
export OVERRIDE_ENABLED_SERVICES=neutron,q-svc,key,mysql,rabbit,docker,etcd3,kubernetes-api,kubernetes-controller-manager,kubernetes-scheduler,kubelet,kuryr-kubernetes,q-lbaasv2
|
|
|
|
if [[ $VARIANT == 'default' ]]; then
|
|
export OVERRIDE_ENABLED_SERVICES+=,q-agt,q-dhcp,q-l3
|
|
elif [[ $VARIANT == 'dragonflow' ]]; then
|
|
export OVERRIDE_ENABLED_SERVICES+=,df-redis,df-redis-server,df-controller,df-ext-services,df-zmq-publisher-service,df-l3-agent
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin dragonflow https://github.com/openstack/dragonflow"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"DF_RUNNING_IN_GATE=True"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"TUNNEL_TYPE=vxlan"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"DF_L2_RESPONDER=\"True\""
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OVS_INSTALL_FROM_GIT=False"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OVS_BRANCH=master"
|
|
else
|
|
die $LINENO "Unsupported variant"
|
|
fi
|