From e622c48f4415c7b4f8e129626a999fb02f678ee4 Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Wed, 20 Feb 2019 17:19:31 +0100 Subject: [PATCH] Use ssh instead of paramiko --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07963bed9..1815dc8de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,7 +31,7 @@ bootstrap: - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null # - mkdir -p --mode 700 ~/.ssh - ANSIBLE_HOST_KEY_CHECKING=False python3 -u ./ci-bootstrap.py --create_droplet - - py.test -v --ansible-inventory=./inventory.yml --hosts='ansible://*' + - py.test -v --ansible-inventory=./inventory.yml --connection=ssh --hosts='ansible://*' - python3 -c "import cosmos; cosmos.terminate_droplets_by_name(\"^ci-${CI_JOB_ID}\$\")" artifacts: paths: -- GitLab