fix(ci): read -p is undefined
Some checks failed
Run Helm tests / Execute helm lint (push) Successful in 8s
Run Helm tests / Execute helm template (push) Successful in 18s
Run Helm tests / Execute helm unittest (push) Successful in 24s
Markdown linter / Execute npm run readme:lint (push) Successful in 7s
Markdown linter / Execute npm run readme:link (push) Successful in 34s
Markdown linter / Execute npm run readme:parameters (push) Successful in 11s
Update changelog / changelog (push) Failing after 13s

This commit is contained in:
2025-10-01 22:08:54 +02:00
parent f167a6622c
commit 7ab3f328a8

View File

@@ -5,7 +5,7 @@ DEFAULT_GITEA_REPOSITORY="${GITHUB_REPOSITORY:-"gitea/helm-gitea"}"
DEFAULT_GITEA_TOKEN="${ISSUE_RW_TOKEN:-""}" DEFAULT_GITEA_TOKEN="${ISSUE_RW_TOKEN:-""}"
if [ -z "${1}" ]; then if [ -z "${1}" ]; then
read -p "Enter hostname of the Gitea instance [${DEFAULT_GITEA_SERVER_URL}]: " CURRENT_GITEA_SERVER_URL read "Enter hostname of the Gitea instance [${DEFAULT_GITEA_SERVER_URL}]: " CURRENT_GITEA_SERVER_URL
if [ -z "${CURRENT_GITEA_SERVER_URL}" ]; then if [ -z "${CURRENT_GITEA_SERVER_URL}" ]; then
CURRENT_GITEA_SERVER_URL="${DEFAULT_GITEA_SERVER_URL}" CURRENT_GITEA_SERVER_URL="${DEFAULT_GITEA_SERVER_URL}"
fi fi
@@ -14,7 +14,7 @@ else
fi fi
if [ -z "${2}" ]; then if [ -z "${2}" ]; then
read -p "Enter name of the git repository [${DEFAULT_GITEA_REPOSITORY}]: " CURRENT_GITEA_REPOSITORY read "Enter name of the git repository [${DEFAULT_GITEA_REPOSITORY}]: " CURRENT_GITEA_REPOSITORY
if [ -z "${CURRENT_GITEA_REPOSITORY}" ]; then if [ -z "${CURRENT_GITEA_REPOSITORY}" ]; then
CURRENT_GITEA_REPOSITORY="${DEFAULT_GITEA_REPOSITORY}" CURRENT_GITEA_REPOSITORY="${DEFAULT_GITEA_REPOSITORY}"
fi fi
@@ -23,7 +23,7 @@ else
fi fi
if [ -z "${3}" ]; then if [ -z "${3}" ]; then
read -p "Enter token to access the Gitea instance [${DEFAULT_GITEA_TOKEN}]: " CURRENT_GITEA_TOKEN read "Enter token to access the Gitea instance [${DEFAULT_GITEA_TOKEN}]: " CURRENT_GITEA_TOKEN
if [ -z "${CURRENT_GITEA_TOKEN}" ]; then if [ -z "${CURRENT_GITEA_TOKEN}" ]; then
CURRENT_GITEA_TOKEN="${DEFAULT_GITEA_TOKEN}" CURRENT_GITEA_TOKEN="${DEFAULT_GITEA_TOKEN}"
fi fi