summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/scripts/dockerretry.sh2
-rwxr-xr-xtools/ci/scripts/init.sh6
-rwxr-xr-xtools/ci/scripts/runtests.sh2
-rwxr-xr-xtools/ci/scripts/updaterepos.sh2
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