https://infracost.io logo
#general
Title
# general
m

mysterious-toddler-71796

12/15/2022, 9:55 AM
hey #general -- this has probably been asked before.... so apologies for the spam. ive had seriously good success at implementing infracost into my cicd pipelines in gitlab. but now im building a pipeline in bitbucket (and following the examnples in the docs) and getting the following error for the git clone step:
Copy code
git clone $BITBUCKET_GIT_HTTP_ORIGIN --branch=$BITBUCKET_PR_DESTINATION_BRANCH --single-branch /tmp/base
Cloning into '/tmp/base'...
fatal: could not read Username for '<https://bitbucket.org>': No such device or address
has anyone else encountered this before?
b

busy-agent-35515

12/15/2022, 10:08 AM
Hello! Questions like this is better to ask in #help as we're trying to keep general for important announcements 🙂
m

mysterious-toddler-71796

12/15/2022, 10:18 AM
looks interesting. thanks @busy-agent-35515
b

busy-agent-35515

12/15/2022, 10:47 AM
Please let me know if it doesn't work. We'll figure this out 🙂
m

mysterious-toddler-71796

12/15/2022, 10:48 AM
will do 🙂
also looking at using a pipeline-based ssh key and a repo access key instead
b

busy-agent-35515

12/15/2022, 10:49 AM
Interesting, we're not using Bitbucket in our org, but your experience might be helpful for other Bitbucket users 🙂
m

mysterious-toddler-71796

12/15/2022, 10:51 AM
@busy-agent-35515 - the ssh route worked perfectly
Copy code
git clone $BITBUCKET_GIT_SSH_ORIGIN --branch=$BITBUCKET_PR_DESTINATION_BRANCH --single-branch /tmp/base
b

busy-agent-35515

12/15/2022, 10:51 AM
Awesome! 🙂
2 Views