Google Cloud Platform Blog
Product updates, customer stories, and tips and tricks on Google Cloud Platform
Using Bitbucket for Push-to-Deploy
September 17, 2014
A few months ago, we rolled out support for
Push-To-Deploy with GitHub repositories
. Today we are happy to extend Push-To-Deploy’s support to
Bitbucket
Git repositories. By connecting your App Engine project to your Bitbucket Git repository, you can trigger a deployment of your Java, Python or PHP app by pushing to the project’s master branch on Bitbucket.
Push to Deploy automates your build, test and deploy process triggered by your familiar git commands. It makes delivering code changes to your application easy, safe and fast. Furthermore, managing your release on Google Cloud Platform gives you access to the other exciting devops tools such as
Log to Source linking
.
"Bitbucket users can now easily deploy their apps to Google App Engine." said Jens Schumacher, Group Product Manager at
Atlassian
. "With Push-to-Deploy, developers can trigger a deployment by pushing to the repository’s master branch or by merging an approved pull request on Bitbucket."
Let’s walk through an example.
Connecting the repository
Go to the
Google Developers Console
and create a project or click on an existing project that you wish to sync with Bitbucket.
Click Source Code and then Browse in the left-hand navigation panel.
The next step is to link your project’s repository to Bitbucket.
If your project does not have git repo or has an empty git repo, you will come directly to the “Source Repository Settings” page. Click “Connect” below the Bitbucket logo.
If your project has a non empty git repo, you will see a screen listing the content of the current repo. You can change repo setting to connect with a Bitbucket repo (note that this will override the current content of the Project’s repo). Click the Settings icon to get to the “Source Repository Settings” page shown above and then click “Connect” below the Bitbucket logo.
You will be redirected to Bitbucket to authenticate and grant access to your Bitbucket repositories. Click “Grant access”. You may be prompted to log into your Bitbucket account.
Once you have granted access, you will see a list of all Bitbucket Git repositories that you have access to. Choose the repository that you want to connect this project to.
Read and accept the consent option in the dialog box and click
Connect
.
The Bitbucket repository now appears on the Repo Settings page
You can setup your release pipeline following
these instructions
Once your release pipeline is setup, every time you push to your project’s master branch on Bitbucket using
git push origin master
the source code will be deployed to App Engine. The Release page also shows you the status of the current and past deployments.
-Posted by Rae Wang, Product Manager
No comments :
Post a Comment
Free Trial
Labels
Android
Announcement
api
app engine
Atmosphere Live
bigquery
BigTable
CDN
Cloud Console
Cloud Dataflow
Cloud Datastore
cloud endpoints
Cloud Pub/Sub
Cloud SDK
cloud sql
cloud storage
Cloudera
Compute
Compute Engine
container cluster
customer
Dev Tools
developer tools
developer-insights
Developers
Developers Console
devfests
Disaster Recovery
Encryption Keys
ESG
Event
events
GA
Go Client
Google App Engine
Google Apps
Google BigQuery
Google Cloud Deployment Manager
Google Cloud Networking
Google Cloud Platform
Google Cloud Storage
Google Compute Engine
Google Container Engine
gRPC
hadoop
Hardware
Helium
how to
IO2013
iOS
Kubernetes
Levyx
Local SSD
mapreduce
Media
Nearline
networking
open source
PaaS Solution
Partner
Pricing
Research
round-up
Server
Siggraph
solutions
Startup
Tableau
TCO
Technical
Windows
Wowza
Zync
Archive
2015
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2014
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2013
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2012
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2011
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2010
Dec
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Feed
Technical questions? Check us out on
Stack Overflow
.
Subscribe to
our monthly newsletter
.
Follow @googlecloud
No comments :
Post a Comment