aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/tests/uploadComponent/scripts/install_mysql.sh
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2017-10-11 10:13:14 +0300
committerYuli Shlosberg <ys9693@att.com>2017-10-11 10:13:44 +0300
commit28087529fe4eb2eeb2f5af94dc77b8b37a762d99 (patch)
tree6ca1f0879f4ca37c88313a8ca176327eec51f4b7 /asdc-tests/src/test/resources/CI/tests/uploadComponent/scripts/install_mysql.sh
parentec6d684513419a29cc577ea72eab4f0dde83cab1 (diff)
remove mysql png from sdc code
Change-Id: Iafa81a8b8496eb60ade3f6c840776c65f69ee2e0 Issue-Id: SDC-450 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'asdc-tests/src/test/resources/CI/tests/uploadComponent/scripts/install_mysql.sh')
-rw-r--r--asdc-tests/src/test/resources/CI/tests/uploadComponent/scripts/install_mysql.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/asdc-tests/src/test/resources/CI/tests/uploadComponent/scripts/install_mysql.sh b/asdc-tests/src/test/resources/CI/tests/uploadComponent/scripts/install_mysql.sh
deleted file mode 100644
index 400bcf40cb..0000000000
--- a/asdc-tests/src/test/resources/CI/tests/uploadComponent/scripts/install_mysql.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-echo "Debian based MYSQL install 5..."
-LOCK="/tmp/lockaptget"
-
-while true; do
- if mkdir "${LOCK}" &>/dev/null; then
- echo "MySQL take the lock"
- break;
- fi
- echo "Waiting the end of one of our recipes..."
- sleep 0.5
-done
-
-while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1 ; do
- echo "Waiting for other software managers to finish..."
- sleep 0.5
-done
-sudo rm -f /var/lib/dpkg/lock
-
-sudo apt-get update || (sleep 15; sudo apt-get update || exit ${1})
-sudo DEBIAN_FRONTEND=noninteractive apt-get -y install mysql-server-5.5 pwgen || exit ${1}
-rm -rf "${LOCK}"
-
-sudo /etc/init.d/mysql stop
-sudo rm -rf /var/lib/apt/lists/*
-sudo rm -rf /var/lib/mysql/*
-echo "MySQL Installation complete." \ No newline at end of file