init
This commit is contained in:
parent
51661b5c79
commit
5f15fe67f5
@ -41,7 +41,7 @@ spec:
|
|||||||
echo "[INFO] Poetry project detected"
|
echo "[INFO] Poetry project detected"
|
||||||
pip install poetry --root-user-action=ignore
|
pip install poetry --root-user-action=ignore
|
||||||
|
|
||||||
poetry lock --no-update || echo "[WARN] poetry lock skipped"
|
poetry lock || echo "[WARN] poetry lock skipped"
|
||||||
poetry install --no-root || echo "[WARN] poetry install skipped"
|
poetry install --no-root || echo "[WARN] poetry install skipped"
|
||||||
|
|
||||||
echo "📦 Building with Poetry..."
|
echo "📦 Building with Poetry..."
|
||||||
|
@ -51,7 +51,7 @@ spec:
|
|||||||
if [ -f pyproject.toml ]; then
|
if [ -f pyproject.toml ]; then
|
||||||
echo "[INFO] Poetry project detected"
|
echo "[INFO] Poetry project detected"
|
||||||
pip install poetry --root-user-action=ignore
|
pip install poetry --root-user-action=ignore
|
||||||
poetry lock --no-update
|
poetry lock
|
||||||
poetry install --with dev
|
poetry install --with dev
|
||||||
elif [ -f requirements.txt ]; then
|
elif [ -f requirements.txt ]; then
|
||||||
echo "[INFO] Pip project detected"
|
echo "[INFO] Pip project detected"
|
||||||
|
@ -40,7 +40,7 @@ spec:
|
|||||||
pip install poetry --root-user-action=ignore
|
pip install poetry --root-user-action=ignore
|
||||||
|
|
||||||
echo "[INFO] Using pre-configured poetry settings from $HOME/.config/pypoetry/"
|
echo "[INFO] Using pre-configured poetry settings from $HOME/.config/pypoetry/"
|
||||||
poetry lock --no-cache --no-update
|
poetry lock --no-cache
|
||||||
poetry install
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user