From 38c55a467c815030556545097e8874fa6b966b92 Mon Sep 17 00:00:00 2001 From: jak1 Date: Wed, 22 Jun 2022 21:26:32 +0000 Subject: don't ask... just squash it... :see_no_evil: --- tools/ci/scripts/dockerretry.sh | 2 +- tools/ci/scripts/init.sh | 6 +++--- tools/ci/scripts/runtests.sh | 2 +- tools/ci/scripts/updaterepos.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/ci/scripts/dockerretry.sh b/tools/ci/scripts/dockerretry.sh index 58dcdb5b1..af3cfea28 100755 --- a/tools/ci/scripts/dockerretry.sh +++ b/tools/ci/scripts/dockerretry.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # skip if we not in docker -if [[ ${CI_RUNNER_ID} != "" ]]; +if [[ ${CI_RUNNER_ID} == "" ]]; then echo "Running from shell. Skipping $*" exit 0 diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index c715f3032..282b1b5ec 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -13,7 +13,7 @@ function do_init { } function update_repos { - if [[ ${CI_RUNNER_ID} != "" ]]; + if [[ ${CI_RUNNER_ID} == "" ]]; then echo "Running from shell. Skipping update repos" return @@ -29,7 +29,7 @@ function update_repos { } function aptget_update { - if [[ ${CI_RUNNER_ID} != "" ]]; + if [[ ${CI_RUNNER_ID} == "" ]]; then echo "Running from shell. Skipping apt-get update" return @@ -59,7 +59,7 @@ function aptget_update { } function aptget_install { - if [[ ${CI_RUNNER_ID} != "" ]]; + if [[ ${CI_RUNNER_ID} == "" ]]; then echo "Running from shell. Skipping apt-get" return diff --git a/tools/ci/scripts/runtests.sh b/tools/ci/scripts/runtests.sh index 7d9a18335..a405e4653 100755 --- a/tools/ci/scripts/runtests.sh +++ b/tools/ci/scripts/runtests.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if [[ ${CI_RUNNER_ID} != "" ]]; +if [[ ${CI_RUNNER_ID} == "" ]]; then if [[ ${CIRRUS_CI} != "true" ]]; then diff --git a/tools/ci/scripts/updaterepos.sh b/tools/ci/scripts/updaterepos.sh index 75d2e2eff..143637bf7 100755 --- a/tools/ci/scripts/updaterepos.sh +++ b/tools/ci/scripts/updaterepos.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if [[ ${CI_RUNNER_ID} != "" ]]; +if [[ ${CI_RUNNER_ID} == "" ]]; then echo "Running from shell. Skipping update repos" exit 0 -- cgit v1.2.3-70-g09d2