Skip to content
Snippets Groups Projects
Verified Commit 238eb76d authored by Varac's avatar Varac
Browse files

Add ssh key in testinfra job

parent 408ffbb4
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,8 @@ testinfra:
stage: test
image: docker.greenhost.net/openappstack/bootstrap/bootstrap-ci
script:
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- cd test/
- py.test -v --connection=ansible --ansible-inventory=./inventory.yml --hosts='ansible://*'
cache:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment