mirror of
https://github.com/enpaul/vault2vault.git
synced 2025-09-18 15:28:38 +00:00
Update poetry CI version to 1.4.1
Update CI env script to move poetry version to main CI workflow config
This commit is contained in:
6
.github/scripts/setup-env.sh
vendored
6
.github/scripts/setup-env.sh
vendored
@@ -4,11 +4,13 @@
|
||||
# to create a repeatable local environment for tests to be run in. The python env
|
||||
# this script creates can be accessed at the location defined by the CI_VENV variable
|
||||
# below.
|
||||
#
|
||||
# POETRY_VERSION can be set to install a specific version of Poetry
|
||||
|
||||
set -e;
|
||||
|
||||
CI_CACHE=$HOME/.cache;
|
||||
POETRY_VERSION=1.3.2;
|
||||
INSTALL_POETRY_VERSION="${POETRY_VERSION:-1.3.2}";
|
||||
|
||||
mkdir --parents "$CI_CACHE";
|
||||
|
||||
@@ -20,7 +22,7 @@ curl --location https://install.python-poetry.org \
|
||||
--silent \
|
||||
--show-error;
|
||||
python "$CI_CACHE/install-poetry.py" \
|
||||
--version "$POETRY_VERSION" \
|
||||
--version "$INSTALL_POETRY_VERSION" \
|
||||
--yes;
|
||||
poetry --version --no-ansi;
|
||||
poetry run pip --version;
|
||||
|
Reference in New Issue
Block a user