Skip to content

Commit

Permalink
Upgrade pip before running the task (#1360)
Browse files Browse the repository at this point in the history
Also removing old artifact from mesos
  • Loading branch information
singiamtel authored Jun 27, 2024
1 parent cb628a5 commit b536d66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/run-http.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b536d66

Please sign in to comment.