From 347c428489f9fa63a55ddba0b178f00cd58d9a26 Mon Sep 17 00:00:00 2001 From: Michael Sauter Date: Fri, 27 Jan 2023 15:38:58 +0100 Subject: [PATCH] Ask for Bitbucket username during installation Fixes #652. Also, the Bitbucket user actually does not need admin permissions, write is enough. --- CHANGELOG.md | 4 ++++ deploy/install.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e7e8cb5..215ff424 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ listed in the changelog. ## [Unreleased] +### Fixed + +- Installation does not ask for Bitbucket username ([#652](https://github.com/opendevstack/ods-pipeline/issues/652)) + ### Added - Add new default npm toolset with Node.js 18 ([#585](https://github.com/opendevstack/ods-pipeline/issues/585)) diff --git a/deploy/install.sh b/deploy/install.sh index 5f7ec70a..f1c31cb7 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -199,8 +199,8 @@ else installSecret "ods-bitbucket-auth" \ "basic-auth-secret.yaml.tmpl" \ "${BITBUCKET_AUTH}" \ - "" \ - "Please enter a personal access token of a Bitbucket user with project admin permission (input will be hidden):" + "Please enter the username of Bitbucket user with write permission." \ + "Please enter a personal access token of this Bitbucket user (input will be hidden):" # Webhook secret is a special case, as we do not want the user to set it. # No prompts -> password will be auto-generated if not given.