diff options
author | jak1 <jak1@themanaworld.org> | 2022-06-22 21:26:32 +0000 |
---|---|---|
committer | jak1 <jak1@themanaworld.org> | 2022-06-22 21:26:32 +0000 |
commit | 38c55a467c815030556545097e8874fa6b966b92 (patch) | |
tree | 29f05cecc007f20320486bd07f8a58c160d081f4 | |
parent | b9be112e48be712f47726194e5a3454ab63b6274 (diff) | |
download | manaverse-38c55a467c815030556545097e8874fa6b966b92.tar.gz manaverse-38c55a467c815030556545097e8874fa6b966b92.tar.bz2 manaverse-38c55a467c815030556545097e8874fa6b966b92.tar.xz manaverse-38c55a467c815030556545097e8874fa6b966b92.zip |
don't ask... just squash it... :see_no_evil: CI_test_var
-rwxr-xr-x | tools/ci/scripts/dockerretry.sh | 2 | ||||
-rwxr-xr-x | tools/ci/scripts/init.sh | 6 | ||||
-rwxr-xr-x | tools/ci/scripts/runtests.sh | 2 | ||||
-rwxr-xr-x | 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 |