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