Commit c5b631d5 authored by Robin Fischer's avatar Robin Fischer

Add pre and post scripts

parent 45b603a2
echo "Prebuild script"
echo "Got Shared CI at ${SHARED_CI}"
git pull
# Setup ssh key
if [[ ! -z "${GITLAB_RUNNER_SSH}" ]]; then chmod 600 ${GITLAB_RUNNER_SSH};SSH_ASKPASS=gitlab-ci/configurations/ 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
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment