This commit is contained in:
병준 박 2025-04-10 15:21:10 +00:00
parent c16b8fe06b
commit b477b1f924
3 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ spec:
poetry config http-basic."$REPO_NAME" "$PYPI_USER" "$PYPI_PASS" poetry config http-basic."$REPO_NAME" "$PYPI_USER" "$PYPI_PASS"
poetry lock --no-cache --regenerate poetry lock --no-cache --regenerate
poetry install --no-root poetry install
echo "📦 Building package with Poetry..." echo "📦 Building package with Poetry..."
poetry build poetry build

View File

@ -79,7 +79,7 @@ spec:
poetry config http-basic."$REPO_NAME" "$PYPI_USER" "$PYPI_PASS" poetry config http-basic."$REPO_NAME" "$PYPI_USER" "$PYPI_PASS"
poetry lock --no-cache --regenerate poetry lock --no-cache --regenerate
poetry install --no-root poetry install
poetry add pylint --group dev poetry add pylint --group dev
elif [ -f requirements.txt ]; then elif [ -f requirements.txt ]; then
echo "[INFO] Pip project detected" echo "[INFO] Pip project detected"

View File

@ -76,7 +76,7 @@ spec:
poetry config http-basic."$REPO_NAME" "$PYPI_USER" "$PYPI_PASS" poetry config http-basic."$REPO_NAME" "$PYPI_USER" "$PYPI_PASS"
poetry lock --no-cache --regenerate poetry lock --no-cache --regenerate
poetry install --no-root poetry install
elif [ -f requirements.txt ]; then elif [ -f requirements.txt ]; then
echo "[INFO] Using pip to install dependencies" echo "[INFO] Using pip to install dependencies"
pip install -r requirements.txt --root-user-action=ignore pip install -r requirements.txt --root-user-action=ignore