Browse Source

Remove obsolete gate hooks

As a follow up of I44002e46b5a56031520b7144b476d4514aa1e676,
which has removed testenv:py27integration from tox.

Change-Id: If7455da076cb9fc5650f710f2d1c97847c63bfaf
Jacky Hu 8 months ago
parent
commit
0ddf87704b

+ 0
- 5
tools/gate/integration/commons View File

@@ -1,5 +0,0 @@
1
-#!/bin/bash
2
-
3
-set -ex
4
-
5
-export NEUTRON_LBAAS_DASHBOARD_SCREENSHOTS_DIR=/opt/stack/new/neutron-lbaas-dashboard/.tox/py27integration/src/horizon/openstack_dashboard/test/integration_tests/integration_tests_screenshots

+ 0
- 19
tools/gate/integration/post_test_hook.sh View File

@@ -1,19 +0,0 @@
1
-#!/bin/bash
2
-
3
-# This script will be executed inside post_test_hook function in devstack gate
4
-
5
-set -x
6
-
7
-DIR=${BASH_SOURCE%/*}
8
-source $DIR/commons $@
9
-
10
-set +e
11
-cd /opt/stack/new/neutron-lbaas-dashboard
12
-sudo -H -u stack tox -e py27integration
13
-retval=$?
14
-set -e
15
-
16
-if [ -d ${NEUTRON_LBAAS_DASHBOARD_SCREENSHOTS_DIR}/ ]; then
17
-  cp -r ${NEUTRON_LBAAS_DASHBOARD_SCREENSHOTS_DIR}/ /home/jenkins/workspace/gate-neutron-lbaas-dashboard-dsvm-integration/
18
-fi
19
-exit $retval

+ 0
- 30
tools/gate/integration/pre_test_hook.sh View File

@@ -1,30 +0,0 @@
1
-#!/bin/bash
2
-
3
-# This script will be executed inside pre_test_hook function in devstack gate
4
-
5
-set -ex
6
-
7
-DIR=${BASH_SOURCE%/*}
8
-source $DIR/commons $@
9
-
10
-# Enable LBaaS V2 Neutron plugin
11
-DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas"
12
-ENABLED_SERVICES+=",q-lbaasv2"
13
-DISABLED_SERVICES+="q-lbaas"
14
-
15
-# Enable default recommended implementation for LBaaS v2, Octavia
16
-ENABLED_SERVICES+=",octavia,o-cw,o-hk,o-hm,o-api"
17
-DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin octavia https://git.openstack.org/openstack/octavia"
18
-DEVSTACK_LOCAL_CONFIG+=$'\n'"[[post-config|/etc/octavia/octavia.conf]]"
19
-DEVSTACK_LOCAL_CONFIG+=$'\n'"[controller_worker]"
20
-DEVSTACK_LOCAL_CONFIG+=$'\n'"amphora_driver = amphora_noop_driver"
21
-DEVSTACK_LOCAL_CONFIG+=$'\n'"compute_driver = compute_noop_driver"
22
-DEVSTACK_LOCAL_CONFIG+=$'\n'"network_driver = network_noop_driver"
23
-
24
-# Enable LBaaS v2 Horizon plugin
25
-DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-lbaas-dashboard https://git.openstack.org/openstack/neutron-lbaas-dashboard"
26
-
27
-export DEVSTACK_LOCAL_CONFIG
28
-export ENABLED_SERVICES
29
-export DISABLED_SERVICES
30
-

Loading…
Cancel
Save