From b536d66f8c9b342fda08cfa2788f36521b538e3e Mon Sep 17 00:00:00 2001 From: Sergio Garcia <47090312+singiamtel@users.noreply.github.com> Date: Thu, 27 Jun 2024 12:05:51 +0200 Subject: [PATCH] Upgrade pip before running the task (#1360) Also removing old artifact from mesos --- ci/run-http.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/run-http.sh b/ci/run-http.sh index 66fc17e7..00591031 100755 --- a/ci/run-http.sh +++ b/ci/run-http.sh @@ -16,11 +16,12 @@ ALI_BOT_DIR="$(dirname "$0")" ALI_BOT_DIR="$(cd "$ALI_BOT_DIR/.."; pwd)" # Move into the scratch directory -cd "$MESOS_SANDBOX" || : +cd "$NOMAD_TASK_DIR" || : # Install with pip export PYTHONUSERBASE=$PWD/python_local export PATH="$PYTHONUSERBASE/bin:$PATH" +pip3 install --user --upgrade pip pip3 install --ignore-installed --upgrade --user -e "${ALI_BOT_DIR}[services]" # Setup GitLab credentials (to push new data)