Commit 24faa891 authored by Robin Fischer's avatar Robin Fischer

Disable clone

parent c5b631d5
......@@ -11,14 +11,15 @@
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
- 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
#- 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
#- 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
#- 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
.clone_shared_ci:
variables:
......
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