From 3d832da831f0b938faa6f845617b0257bda184f4 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 21 May 2021 13:45:35 +0200 Subject: [PATCH] ceph-ansible-syntax: fix broken job commit b09f6470745a09ce4fce0265cb7a22a56b049886 supposed to fix regression introduced by e302eaabb977f3e93b1a7005c879f4b2eba581fc missed the ceph-ansible-pr-syntax-check job, so the CI is still failing like following: ``` [ceph-ansible-pr-syntax-check] $ /bin/bash /tmp/jenkins6031146002439656501.sh + set -e + virtualenv You must provide a DEST_DIR Usage: virtualenv [OPTIONS] DEST_DIR ``` Signed-off-by: Guillaume Abrioux --- ceph-ansible-pr-syntax-check/build/build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ceph-ansible-pr-syntax-check/build/build b/ceph-ansible-pr-syntax-check/build/build index 4383fec5..7ab9cc02 100644 --- a/ceph-ansible-pr-syntax-check/build/build +++ b/ceph-ansible-pr-syntax-check/build/build @@ -6,7 +6,9 @@ set -e # shellcheck disable=SC2034 # force virtualenv to be created earlier for this occurence, so we are not stuck because of ansible-lint dependencie, # which would enforce latest ansible version to be installed. -virtualenv $TEMPVENV +TEMPVENV=$(create_venv_dir) +VENV=${TEMPVENV}/bin + "$VENV"/pip install --upgrade pip "$VENV"/pip install -r "$WORKSPACE"/ceph-ansible/requirements.txt if [[ "$ghprbTargetBranch" == "stable-3.2" ]]; then -- 2.39.5