From 25006bcef35bb776278ce8a44b067e4f363842f2 Mon Sep 17 00:00:00 2001 From: alesapin Date: Mon, 8 Nov 2021 13:16:07 +0300 Subject: [PATCH] Revert accident changes --- tests/ci/worker/init_builder.sh | 10 +--------- tests/ci/worker/init_func_tester.sh | 10 +--------- tests/ci/worker/init_stress_tester.sh | 10 +--------- tests/ci/worker/init_style_checker.sh | 10 +--------- 4 files changed, 4 insertions(+), 36 deletions(-) diff --git a/tests/ci/worker/init_builder.sh b/tests/ci/worker/init_builder.sh index 9018d3d1c94..dc3f777bcca 100644 --- a/tests/ci/worker/init_builder.sh +++ b/tests/ci/worker/init_builder.sh @@ -17,12 +17,4 @@ echo "Going to configure runner" sudo -u ubuntu ./config.sh --url $RUNNER_URL --token $RUNNER_TOKEN --name $INSTANCE_ID --runnergroup Default --labels 'self-hosted,Linux,X64,builder' --work _work echo "Run" -i=0 retries=10 -while [[ $i -lt $retries ]]; do - sudo -u ubuntu ./run.sh ||: - ((++i)) - echo "Runner failed, will try to restart" - sleep 5 -done - -poweroff +sudo -u ubuntu ./run.sh diff --git a/tests/ci/worker/init_func_tester.sh b/tests/ci/worker/init_func_tester.sh index f1b583e5c1c..b117f11556d 100644 --- a/tests/ci/worker/init_func_tester.sh +++ b/tests/ci/worker/init_func_tester.sh @@ -17,12 +17,4 @@ echo "Going to configure runner" sudo -u ubuntu ./config.sh --url $RUNNER_URL --token $RUNNER_TOKEN --name $INSTANCE_ID --runnergroup Default --labels 'self-hosted,Linux,X64,func-tester' --work _work echo "Run" -i=0 retries=10 -while [[ $i -lt $retries ]]; do - sudo -u ubuntu ./run.sh ||: - ((++i)) - echo "Runner failed, will try to restart" - sleep 5 -done - -poweroff +sudo -u ubuntu ./run.sh diff --git a/tests/ci/worker/init_stress_tester.sh b/tests/ci/worker/init_stress_tester.sh index 9012d903cbf..54ed944b274 100644 --- a/tests/ci/worker/init_stress_tester.sh +++ b/tests/ci/worker/init_stress_tester.sh @@ -17,12 +17,4 @@ echo "Going to configure runner" sudo -u ubuntu ./config.sh --url $RUNNER_URL --token $RUNNER_TOKEN --name $INSTANCE_ID --runnergroup Default --labels 'self-hosted,Linux,X64,stress-tester' --work _work echo "Run" -i=0 retries=10 -while [[ $i -lt $retries ]]; do - sudo -u ubuntu ./run.sh ||: - ((++i)) - echo "Runner failed, will try to restart" - sleep 5 -done - -poweroff +sudo -u ubuntu ./run.sh diff --git a/tests/ci/worker/init_style_checker.sh b/tests/ci/worker/init_style_checker.sh index f7a13d44576..77cf66b5262 100644 --- a/tests/ci/worker/init_style_checker.sh +++ b/tests/ci/worker/init_style_checker.sh @@ -17,12 +17,4 @@ echo "Going to configure runner" sudo -u ubuntu ./config.sh --url $RUNNER_URL --token $RUNNER_TOKEN --name $INSTANCE_ID --runnergroup Default --labels 'self-hosted,Linux,X64,style-checker' --work _work echo "Run" -i=0 retries=10 -while [[ $i -lt $retries ]]; do - sudo -u ubuntu ./run.sh ||: - ((++i)) - echo "Runner failed, will try to restart" - sleep 5 -done - -poweroff +sudo -u ubuntu ./run.sh