From e1cb3deaaf177f7e99f5aac9fe251e0b9e804e0a Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Tue, 5 Mar 2019 15:19:55 +0100 Subject: [PATCH] Fix testinfa host lookup --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f760f956a..4e911391e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,6 +55,7 @@ bootstrap: key: "$CI_PIPELINE_ID" paths: - test/behave/behave.ini + - test/inventory.yml artifacts: paths: - ansible/rke.log @@ -67,6 +68,11 @@ testinfra: script: - cd test/ - py.test -v --ansible-inventory=./inventory.yml --connection=ssh --hosts='ansible://*' + cache: + key: "$CI_PIPELINE_ID" + paths: + - test/inventory.yml + policy: pull behave: stage: test -- GitLab