From 021cfda11246015b2be47e759a6618cad5f18e63 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 18 Feb 2019 18:00:23 +0000 Subject: [PATCH] .ci: import soak scripts. --- .ci/soak/debops_common.sh | 16 ++++++++++++++++ .ci/soak/mitogen.sh | 17 +++++++++++++++++ .ci/soak/mitogen_py24.sh | 12 ++++++++++++ 3 files changed, 45 insertions(+) create mode 100755 .ci/soak/debops_common.sh create mode 100755 .ci/soak/mitogen.sh create mode 100755 .ci/soak/mitogen_py24.sh diff --git a/.ci/soak/debops_common.sh b/.ci/soak/debops_common.sh new file mode 100755 index 00000000..eefb4917 --- /dev/null +++ b/.ci/soak/debops_common.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +export NOCOVERAGE=1 + +# Make Docker containers once. +/usr/bin/time -v ./.ci/debops_common_tests.py "$@" || break +export KEEP=1 + +i=0 +while : +do + i=$((i + 1)) + /usr/bin/time -v ./.ci/debops_common_tests.py "$@" || break +done + +echo $i diff --git a/.ci/soak/mitogen.sh b/.ci/soak/mitogen.sh new file mode 100755 index 00000000..15d62529 --- /dev/null +++ b/.ci/soak/mitogen.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +export NOCOVERAGE=1 +export DISTROS="debian*4" + +# Make Docker containers once. +/usr/bin/time -v ./.ci/ansible_tests.py "$@" +export KEEP=1 + +i=0 +while : +do + i=$((i + 1)) + /usr/bin/time -v ./.ci/ansible_tests.py "$@" || break +done + +echo $i diff --git a/.ci/soak/mitogen_py24.sh b/.ci/soak/mitogen_py24.sh new file mode 100755 index 00000000..475e0875 --- /dev/null +++ b/.ci/soak/mitogen_py24.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +export NOCOVERAGE=1 + +i=0 +while : +do + i=$((i + 1)) + /usr/bin/time -v ./.ci/mitogen_py24_tests.py "$@" || break +done + +echo $i