From: Guillaume Abrioux Date: Fri, 21 May 2021 12:02:58 +0000 (+0200) Subject: ceph-ansible-syntax: create virtualenv after dir creation X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1820%2Fhead;p=ceph-build.git ceph-ansible-syntax: create virtualenv after dir creation add back venv creation that has been removed accidentally by commit 3d832da831f0b938faa6f845617b0257bda184f4 Signed-off-by: Guillaume Abrioux --- diff --git a/ceph-ansible-pr-syntax-check/build/build b/ceph-ansible-pr-syntax-check/build/build index 7ab9cc029..2e52cb5f5 100644 --- a/ceph-ansible-pr-syntax-check/build/build +++ b/ceph-ansible-pr-syntax-check/build/build @@ -8,6 +8,7 @@ set -e # which would enforce latest ansible version to be installed. TEMPVENV=$(create_venv_dir) VENV=${TEMPVENV}/bin +virtualenv $TEMPVENV "$VENV"/pip install --upgrade pip "$VENV"/pip install -r "$WORKSPACE"/ceph-ansible/requirements.txt