From 935addf001c4ab5319d555f25859b62367ede89e Mon Sep 17 00:00:00 2001 From: BAK BYEONG JUN Date: Thu, 10 Apr 2025 14:15:04 +0000 Subject: [PATCH] init --- tasks/pybuild/task.yaml | 4 ++-- tasks/pylint/task.yaml | 4 ++-- tasks/pypi/task.yaml | 4 ++-- tasks/pytest/task.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tasks/pybuild/task.yaml b/tasks/pybuild/task.yaml index daaf0c6..469c2a4 100644 --- a/tasks/pybuild/task.yaml +++ b/tasks/pybuild/task.yaml @@ -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 diff --git a/tasks/pylint/task.yaml b/tasks/pylint/task.yaml index 2280f37..1e23e9e 100644 --- a/tasks/pylint/task.yaml +++ b/tasks/pylint/task.yaml @@ -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 diff --git a/tasks/pypi/task.yaml b/tasks/pypi/task.yaml index 4f11cda..4cad09f 100644 --- a/tasks/pypi/task.yaml +++ b/tasks/pypi/task.yaml @@ -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)" diff --git a/tasks/pytest/task.yaml b/tasks/pytest/task.yaml index aa77712..9a53cd1 100644 --- a/tasks/pytest/task.yaml +++ b/tasks/pytest/task.yaml @@ -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