advice on continuous deployment with Bazaar

Asked by Fred Zimmerman on 2013-06-20

Hello,

I am looking for advice on how to use bzr for continuous deployment of a web application. Our small team is successfully using bzr to manage our development code. We would like to be able to be able to push changes to production throughout the day. Is this a well understood problem? What are the common approaches? My first thought is to set up a separate branch called production and do pushes to it. Does that make sense?

Fred

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
2013-06-20
Last reply:
2013-06-24
John A Meinel (jameinel) said : #1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-06-21 3:06, Fred Zimmerman wrote:
> New question #231109 on Bazaar:
> https://answers.launchpad.net/bzr/+question/231109
>
> Hello,
>
> I am looking for advice on how to use bzr for continuous deployment
> of a web application. Our small team is successfully using bzr to
> manage our development code. We would like to be able to be able to
> push changes to production throughout the day. Is this a well
> understood problem? What are the common approaches? My first
> thought is to set up a separate branch called production and do
> pushes to it. Does that make sense?
>
> Fred
>

The two common approaches I've seen are just having a branch on the
website, and then configuring the web server (eg Apache) to not server
the .bzr directory.

Alternatively, you can use the 'bzr-upload' plugin. Which writes a
very minimal branch that doesn't have any ancestry, but enough data
that it can do delta pushes.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHH8uUACgkQJdeBCYSNAAPJjwCcDB3Fv/YNHIG030J8sUsbEwfI
6BIAn1NzzbTId/FCGJxYO7Eox1DOoS0I
=f8+Y
-----END PGP SIGNATURE-----

Can you help with this problem?

Provide an answer of your own, or ask Fred Zimmerman for more information if necessary.

To post a message you must log in.