I'm trying to configurate autodeploys with bitbucket pipeline and google cloud.
I have base yaml:
- pipe: atlassian/google-cloud-storage-deploy:1.0.1
And I have problem with access ;(
So I have cloud priv key
I generated base64 from it base64 -w 0 < file
I set on bitbucket secured key KEY_FILE with base64 value and I get
ERROR: (gcloud.auth.activate-service-account) Could not read json file /tmp/key-file.json: Expecting
Any idea why?
I've found the answer :D
Ehh all generated key file should be converted to base64 and passed as secure bitbucket variable XD
Quite strange that when I created json structure only with private keys(key -> value) I didn't get info like no access or missing access data from gcloud but the same error as it was empty XD
Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events