This commit is contained in:
병준 박 2025-04-10 14:15:04 +00:00
parent ad02f5622c
commit 935addf001
4 changed files with 8 additions and 8 deletions

View File

@ -56,7 +56,7 @@ spec:
cd "$(params.subdirectory)"
fi
pip install --upgrade pip
pip install --upgrade pip --root-user-action=ignore
PYPI_USER="$(params.pypi-username)"
PYPI_PASS="$(params.pypi-password)"
@ -71,7 +71,7 @@ spec:
if [ -f pyproject.toml ]; then
echo "[INFO] Poetry project detected"
pip install poetry
pip install poetry --root-user-action=ignore
poetry config virtualenvs.in-project true
if [ -n "$PYPI_URL" ]; then

View File

@ -58,7 +58,7 @@ spec:
cd "$(params.subdirectory)"
fi
pip install --upgrade pip
pip install --upgrade pip --root-user-action=ignore
PYPI_USER="$(params.pypi-username)"
PYPI_PASS="$(params.pypi-password)"
@ -74,7 +74,7 @@ spec:
if [ -f pyproject.toml ]; then
echo "[INFO] Poetry project detected"
pip install poetry
pip install poetry --root-user-action=ignore
poetry config virtualenvs.in-project true
if [ -n "$PYPI_URL" ]; then

View File

@ -51,8 +51,8 @@ spec:
#!/usr/bin/env bash
set -e
pip install --upgrade pip
pip install poetry twine
pip install --upgrade pip --root-user-action=ignore
pip install poetry twine --root-user-action=ignore
# 기본값 (params)
TWINE_USERNAME="$(params.pypi-username)"

View File

@ -53,12 +53,12 @@ spec:
cd "$(params.subdirectory)"
fi
pip install --upgrade pip
pip install --upgrade pip --root-user-action=ignore
pip install pytest
if [ -f pyproject.toml ]; then
echo "[INFO] Using Poetry to install dependencies"
pip install poetry
pip install poetry --root-user-action=ignore
poetry config virtualenvs.in-project true
poetry lock --no-cache --regenerate