summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-04-01 17:03:49 +0000
committerGerrit Code Review <review@openstack.org>2020-04-01 17:03:49 +0000
commit5791d1aa4ea0234d3305b777154ff9189ff8ff04 (patch)
treea0129e99d2648e6889a81dd36e465d9711679ee0
parentb09c9232723c480904cd73a054c8fbc7afb82645 (diff)
parent14adb00bb0efd23709507cec96e0294af908a8cc (diff)
downloadhorizon-5791d1aa4ea0234d3305b777154ff9189ff8ff04.tar.gz
Merge "Remove unused tools/gate/integration/* files"
-rw-r--r--tools/gate/integration/devstack_gate_rc4
-rwxr-xr-xtools/gate/integration/post_test_hook.sh24
-rwxr-xr-xtools/gate/integration/pre_test_hook.sh23
3 files changed, 0 insertions, 51 deletions
diff --git a/tools/gate/integration/devstack_gate_rc b/tools/gate/integration/devstack_gate_rc
deleted file mode 100644
index 83eab88d0..000000000
--- a/tools/gate/integration/devstack_gate_rc
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file contains various customized Devstack settings that Horizon uses at
-# gate for integration tests job
-
-
diff --git a/tools/gate/integration/post_test_hook.sh b/tools/gate/integration/post_test_hook.sh
deleted file mode 100755
index 2093e66ac..000000000
--- a/tools/gate/integration/post_test_hook.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-
-# This script will be executed inside post_test_hook function in devstack gate
-
-set -x
-
-# install avconv to capture video of failed tests
-sudo apt-get install -y libav-tools && export AVCONV_INSTALLED=1
-
-sudo wget -q -O firefox.deb https://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt/pool/main/f/firefox-mozilla-build/firefox-mozilla-build_46.0.1-0ubuntu1_amd64.deb/download
-sudo apt-get -y purge firefox
-sudo dpkg -i firefox.deb
-sudo rm firefox.deb
-
-HORIZON_DIR=/opt/stack/new/horizon
-pushd $HORIZON_DIR
-sudo -H -E -u stack tox -e integration
-retval=$?
-
-if [ -d openstack_dashboard/test/integration_tests/test_reports/ ]; then
- popd
- cp -r $HORIZON_DIR/openstack_dashboard/test/integration_tests/test_reports/ ./
-fi
-exit $retval
diff --git a/tools/gate/integration/pre_test_hook.sh b/tools/gate/integration/pre_test_hook.sh
deleted file mode 100755
index e7787d9a0..000000000
--- a/tools/gate/integration/pre_test_hook.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-# This script will be executed inside pre_test_hook function in devstack gate
-
-set -x
-
-HORIZON_CODE_DIR=/opt/stack/new/horizon
-
-cd ${HORIZON_CODE_DIR}/openstack_dashboard/local/local_settings.d
-mv _20_integration_tests_scaffolds.py.example _20_integration_tests_scaffolds.py
-
-if [ "$1" == "deprecated" ] ; then
-
-mv _2010_integration_tests_deprecated.py.example _2010_integration_tests_deprecated.py
-cat > ${HORIZON_CODE_DIR}/openstack_dashboard/test/integration_tests/local-horizon.conf <<EOF
-[image]
-panel_type=legacy
-
-[flavors]
-panel_type=legacy
-EOF
-
-fi