From 2a628eab484c0f48d84e242a7c261355b507ac42 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Harald=20Jens=C3=A5s?= Date: Fri, 6 Sep 2019 20:16:36 +0200 Subject: [PATCH] pr-syntax-check - install all requirements MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This change removes the grep for 'ansible' when installing requirements in ceph-ansible-pr-syntax-check. The grep cause onlye the ansible requirement to be installed, ignoring the other packages. This causes an issue in PR[1] which introduce a filter plugin that depend on the netaddr package. [1] https://github.com/ceph/ceph-ansible/pull/4339 Closes: #1390 Signed-off-by: Harald Jensås --- ceph-ansible-pr-syntax-check/build/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-ansible-pr-syntax-check/build/build b/ceph-ansible-pr-syntax-check/build/build index 1a11d59e..73e3ca06 100644 --- a/ceph-ansible-pr-syntax-check/build/build +++ b/ceph-ansible-pr-syntax-check/build/build @@ -8,7 +8,7 @@ set -e # which would enforce latest ansible version to be installed. virtualenv $TEMPVENV "$VENV"/pip install --upgrade pip -"$VENV"/pip install -r <(grep ansible "$WORKSPACE"/ceph-ansible/tests/requirements.txt) +"$VENV"/pip install -r "$WORKSPACE"/ceph-ansible/requirements.txt "$VENV"/pip install ansible-lint -- 2.47.3