From 2fbc2abf86d66b61d26f77771d7b34cc6315414a Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 10 Jul 2018 09:56:04 -0700 Subject: [PATCH] Fix openshift integration test requirements. --- test/integration/targets/k8s/tasks/main.yml | 9 --------- test/runner/requirements/integration.cloud.openshift.txt | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) create mode 100644 test/runner/requirements/integration.cloud.openshift.txt diff --git a/test/integration/targets/k8s/tasks/main.yml b/test/integration/targets/k8s/tasks/main.yml index f3e542be793..73b917fab93 100644 --- a/test/integration/targets/k8s/tasks/main.yml +++ b/test/integration/targets/k8s/tasks/main.yml @@ -1,12 +1,3 @@ -- name: Install requirements - pip: - name: openshift - -- name: Install requirements on localhost - pip: - name: openshift - delegate_to: localhost - # TODO: This is the only way I could get the kubeconfig, I don't know why. Running the lookup outside of debug seems to return an empty string - debug: msg={{ lookup('env', 'K8S_AUTH_KUBECONFIG') }} register: kubeconfig diff --git a/test/runner/requirements/integration.cloud.openshift.txt b/test/runner/requirements/integration.cloud.openshift.txt new file mode 100644 index 00000000000..269bf090c74 --- /dev/null +++ b/test/runner/requirements/integration.cloud.openshift.txt @@ -0,0 +1 @@ +openshift