diff --git a/bin/create-test-db b/bin/create-test-db deleted file mode 100755 index 2ff75827e..000000000 --- a/bin/create-test-db +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -set -e - -mysql -uroot -proot -e "GRANT ALL PRIVILEGES ON synctest.* TO inboxtest@localhost IDENTIFIED BY 'inboxtest'" -mysql -uroot -proot -e "GRANT ALL PRIVILEGES ON synctest_1.* TO inboxtest@localhost IDENTIFIED BY 'inboxtest'" -mysql -uroot -proot -e 'GRANT ALL PRIVILEGES ON `test%`.* TO inboxtest@localhost IDENTIFIED BY "inboxtest"' diff --git a/bin/delete-marked-accounts b/bin/delete-marked-accounts deleted file mode 120000 index b9aa2688b..000000000 --- a/bin/delete-marked-accounts +++ /dev/null @@ -1 +0,0 @@ -delete-marked-accounts.py \ No newline at end of file diff --git a/bin/dump-databases b/bin/dump-databases deleted file mode 100755 index 98e898b71..000000000 --- a/bin/dump-databases +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -mysqldump --databases inbox inbox_1 inbox_2 inbox_3 -uroot -proot diff --git a/bin/full_coverage.sh b/bin/full_coverage.sh deleted file mode 100755 index 7c287e7cf..000000000 --- a/bin/full_coverage.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -set +e -export NYLAS_ENV=test - -pids=() - -color() { - printf '\033[%sm%s\033[m\n' "$@" - # usage color "31;5" "string" - # 0 default - # 5 blink, 1 strong, 4 underlined - # fg: 31 red, 32 green, 33 yellow, 34 blue, 35 purple, 36 cyan, 37 white - # bg: 40 black, 41 red, 44 blue, 45 purple -} - -colorn() { - printf '\033[%sm%s\033[m' "$@" - # color without a newline -} - -run_for_cover() -{ - colorn '32;1' "running: " - color '36;1' $1 - coverage run --source inbox -p bin/$1 $2 2>&1 > /tmp/$1.out & - pids+=("$!") -} - -coverage run --source inbox -p -m pytest --junitxml tests/output tests - -# Start the services -run_for_cover inbox-start -sleep 4 -run_for_cover inbox-api --prod - - -kill -15 ${pids[@]} -wait ${pids[@]} - -# for now we don't completely gracefully exit, so unfortunately locks will be -# left around, however if we've made it this far, we assume that those locks -# were originally held by us and therefore remove them. -rm /var/lock/inbox_sync/*.lock - -coverage combine -coverage html -cwd=`pwd` -color '32;1' "finished!" diff --git a/bin/inbox-api b/bin/inbox-api deleted file mode 120000 index 80e1b35cd..000000000 --- a/bin/inbox-api +++ /dev/null @@ -1 +0,0 @@ -inbox-api.py \ No newline at end of file diff --git a/bin/inbox-start b/bin/inbox-start deleted file mode 120000 index 565ac2f60..000000000 --- a/bin/inbox-start +++ /dev/null @@ -1 +0,0 @@ -inbox-start.py \ No newline at end of file diff --git a/bin/load-dump b/bin/load-dump deleted file mode 100755 index 55a633bf8..000000000 --- a/bin/load-dump +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -mysql -uroot -proot < $1 diff --git a/bin/purge-transaction-log b/bin/purge-transaction-log deleted file mode 120000 index 59d8e3d63..000000000 --- a/bin/purge-transaction-log +++ /dev/null @@ -1 +0,0 @@ -purge-transaction-log.py \ No newline at end of file diff --git a/bin/syncback-service b/bin/syncback-service deleted file mode 120000 index 06ec1c69a..000000000 --- a/bin/syncback-service +++ /dev/null @@ -1 +0,0 @@ -syncback-service.py \ No newline at end of file