Deploying artifacts to Google Cloud
Bitbucket Pipelines can make deployments to Google services through the use of pipes that integrate with these services. The following is the current list of pipes that connect with Google services:
- Firebase deploy
- Google App Engine Deploy
- Google Cloud Storage Deploy
- Google Artifactory Registration (GAR) push image
- Google Kubernetes Engine kubectl run
Let’s take a closer look at deploying build artifacts using the Google Cloud Storage Deploy pipe.
How to do it…
We can deploy our artifacts to Google Cloud Storage by performing the following steps:
- In the
script
portion of thestep
area where you intend to deploy to Google Cloud Storage, copy and paste thepipe
definition. The definition of the Google Cloud Storage Deploy pipe is shown in the following code snippet:- pipe: atlassian/google-cloud-storage-deploy:2.0.0 variables: KEY_FILE: '<string>...