CDImageSetup

Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2013-05-02 19:24:35
Size: 1344
Editor: 66-192-7-242
Comment: mention private production branch
Revision 6 as of 2020-07-19 15:09:33
Size: 1562
Editor: cjwatson
Comment: nusakan → ancientminister
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Release team members often need to work on the code which builds our CD images. While there are public branches for this on Launchpad, for mostly historical reasons some of the master copies of these are actually hosted on the CD image build machine, and are readable/writable directly by Canonical staff with access to that machine (currently `nusakan`). Release team members often need to work on the code which builds our CD images. While there are public branches for this on Launchpad, for mostly historical reasons some of the master copies of these are actually hosted on the CD image build machine, and are readable/writable directly by Canonical staff with access to that machine (currently `ancientminister`).
Line 3: Line 3:
Please do not commit directly on `nusakan`. Although our processes aren't the best, it's intended to be a production machine, not a development machine. Please check out branches on your normal development system and commit there, and then deploy those commits to `nusakan`. Please do not commit directly on `ancientminister`. Although our processes aren't the best, it's intended to be a production machine, not a development machine. Please check out branches on your normal development system and commit there, and then deploy those commits to `ancientminister`.
Line 5: Line 5:
Setup (replace `nusakan` in the following with `nusakan.canonical.com` if that's how you ssh to that machine): Setup (replace `ancientminister` in the following with `ancientminister.internal` if that's how you ssh to that machine):
Line 9: Line 9:
bzr checkout bzr+ssh://nusakan/srv/cdimage.ubuntu.com/bzr/debian-cd
bzr checkout bzr+ssh://nusakan/srv/cdimage.ubuntu.com/bzr/private/production
bzr checkout bzr+ssh://ancientminister/srv/cdimage.ubuntu.com/bzr/debian-cd
bzr checkout bzr+ssh://ancientminister/srv/cdimage.ubuntu.com/bzr/private/production
Line 15: Line 15:
To deploy, as `cdimage@nusakan`: Make sure to run the tests before committing to lp:ubuntu-cdimage:

{{{
./run-tests
}}}

There are some test dependencies, documented in that script.

To deploy, as `cdimage@ancientminister`:

Release team members often need to work on the code which builds our CD images. While there are public branches for this on Launchpad, for mostly historical reasons some of the master copies of these are actually hosted on the CD image build machine, and are readable/writable directly by Canonical staff with access to that machine (currently ancientminister).

Please do not commit directly on ancientminister. Although our processes aren't the best, it's intended to be a production machine, not a development machine. Please check out branches on your normal development system and commit there, and then deploy those commits to ancientminister.

Setup (replace ancientminister in the following with ancientminister.internal if that's how you ssh to that machine):

bzr checkout lp:ubuntu-cdimage cdimage
bzr checkout bzr+ssh://ancientminister/srv/cdimage.ubuntu.com/bzr/debian-cd
bzr checkout bzr+ssh://ancientminister/srv/cdimage.ubuntu.com/bzr/private/production

You can now bzr update in each of those branches to update, and bzr commit to commit. (Since this is a bound branch, bzr will automatically refuse to commit if you aren't up to date, and there's no need for a separate push step.)

Make sure to run the tests before committing to lp:ubuntu-cdimage:

./run-tests

There are some test dependencies, documented in that script.

To deploy, as cdimage@ancientminister:

sudo -u cdimage -i
bzr up ~/cdimage
bzr pull -d ~/cdimage/debian-cd
bzr pull -d ~/cdimage/production

ReleaseTeam/CDImageSetup (last edited 2023-08-30 12:51:14 by sil2100)