ci: add wrapper script for running ci locally

Linux only for now
This commit is contained in:
Trent Nelson
2021-06-21 21:21:42 -06:00
committed by Trent Nelson
parent 761e324982
commit 0bc38153ca
2 changed files with 58 additions and 1 deletions

View File

@ -74,10 +74,13 @@ else
export CI_BUILD_ID=
export CI_COMMIT=
export CI_JOB_ID=
export CI_OS_NAME=
export CI_PULL_REQUEST=
export CI_REPO_SLUG=
export CI_TAG=
# Don't override ci/run-local.sh
if [[ -z $CL_LOCAL_RUN ]]; then
export CI_OS_NAME=
fi
fi
cat <<EOF