Commit 1a4dd44b authored by Robin Fischer's avatar Robin Fischer

Don't load artifacts for jobs

parent d81b20fc
......@@ -7,6 +7,7 @@
.init_runner:
variables:
GIT_STRATEGY: none
dependencies:
before_script:
# Modify a file and count up how often we have waked. Then only wake when file is zero and set to sleep when file is 1
- GITLAB_RUNNER_WAKE_LOCK_PATH=~/GITLAB_RUNNER_WAKE_LOCK
......@@ -15,20 +16,12 @@
- if [ ${GITLAB_RUNNER_WAKE_LOCK_COUNT} == 0 ]; then echo "Loading";launchctl load ~/Library/LaunchAgents/local.caffeinate.plist; fi
- GITLAB_RUNNER_WAKE_LOCK_COUNT=$((GITLAB_RUNNER_WAKE_LOCK_COUNT+1))
- echo ${GITLAB_RUNNER_WAKE_LOCK_COUNT} > ${GITLAB_RUNNER_WAKE_LOCK_PATH}
#- launchctl load ~/Library/LaunchAgents/local.caffeinate.plist
#- rm -rf gitlab-ci
#- BASE_URL=`echo $CI_REPOSITORY_URL | sed "s;\/*$CI_PROJECT_PATH.*;;"`
#- REPO_URL="${BASE_URL}/robinryf/gitlab-ci.git"
#- git clone ${REPO_URL} gitlab-ci
# Setup ssh key
#- if [[ ! -z "${GITLAB_RUNNER_SSH}" ]]; then chmod 600 ${GITLAB_RUNNER_SSH};SSH_ASKPASS=gitlab-ci/configurations/ssh_give_pass.sh ssh-add ${GITLAB_RUNNER_SSH} <<< "${GITLAB_RUNNER_SSH_PASSWORD}"; fi
# Unlock keychain
#- if [[ ! -z "${LOGIN_KEYCHAIN_PASS}" ]]; then security -v unlock-keychain -p ${LOGIN_KEYCHAIN_PASS} "login.keychain-db" ; else echo "Specify the LOGIN_KEYCHAIN_PASS variable"; exit 1; fi
.cleanup_runner:
variables:
GIT_STRATEGY: none
dependencies:
before_script:
- GITLAB_RUNNER_WAKE_LOCK_PATH=~/GITLAB_RUNNER_WAKE_LOCK
- if [ ! -f ${GITLAB_RUNNER_WAKE_LOCK_PATH} ]; then GITLAB_RUNNER_WAKE_LOCK_COUNT=0; else GITLAB_RUNNER_WAKE_LOCK_COUNT=$(cat ${GITLAB_RUNNER_WAKE_LOCK_PATH}); fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment