From 7303301fe01b79036e81304140546b166501b663 Mon Sep 17 00:00:00 2001 From: ChrisJL Date: Thu, 31 Aug 2023 19:09:30 +0100 Subject: Make CI and deployment.yaml share the same dependency install script (#190) * Make CI and deployment.yaml share the same dependency install script * squashme: add set -euo pipefail as sane defaults This also requires running under bash rather than sh * squashme: add make target for installing eval deps --- scripts/install_eval_deps.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 scripts/install_eval_deps.sh (limited to 'scripts/install_eval_deps.sh') diff --git a/scripts/install_eval_deps.sh b/scripts/install_eval_deps.sh new file mode 100644 index 0000000..716d513 --- /dev/null +++ b/scripts/install_eval_deps.sh @@ -0,0 +1,5 @@ +set -euo pipefail + +export PYTHONUSERBASE=/snekbox/user_base +find /lang/python -mindepth 1 -maxdepth 1 -type d -exec \ + {}/bin/python -m pip install --user -U -r requirements/eval-deps.pip \; -- cgit v1.2.3