diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1e8725f..7bdda4d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,11 @@ before_script: - python -V # Print out python version for debugging - pip install virtualenv - virtualenv venv - - source venv/bin/activate + - source venv/bin/activate- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' + - eval $(ssh-agent -s) + - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh test: script: