init
This commit is contained in:
parent
ad02f5622c
commit
935addf001
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)"
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user