Open consal opened 1 year ago
You need to create a app password not access token. Go to: https://bitbucket.org/account/settings/ and copy USERNAME then go to: https://bitbucket.org/account/settings/app-passwords/ and create a app password
export GIT_TOKEN="THE APP PASSWORD TOKEN"
export GIT_REPO="https://bitbucket.org/YOURUSER/YOUR_REPO.git"
export GIT_USER="USERNAME"
argocd-autopilot repo bootstrap --provider bitbucket
if it's on prem provider should be --provider bitbucket-server probably
Yes bitbucket-server
would be the right one to use. https://argocd-autopilot.readthedocs.io/en/stable/commands/argocd-autopilot_repo_bootstrap/#options
@consal were you able to get it working?
Our company has an on-prem Bitbucket deployment. I created an HTTP token in my Bitbucket user profile with the necessary permissions and exported it as
GIT_TOKEN
When running the command, I get the error
authentication required
.Things I tried:
--provider bitbucket-server
or--provider bitbucket
--git-user myuser
log-level debug
doesn't show the actual command that is used to clone the repoWithout success. Can it work with an on-prem bitbucket?