Opened 15 years ago

Closed 10 years ago

#132 closed task (wontfix)

produce debs with buildbot — at Version 1

Reported by: Brian Warner Owned by:
Priority: major Milestone: undecided
Component: packaging Version: 0.4.1
Keywords: Cc:

Description (last modified by Brian Warner)

Eventually, I'd like the buildbot to be responsible for producing .deb packages for a variety of platforms. My plan is to figure out how to use "schroot" to set up a chroot-based environment for each target platform (i.e. dapper through karmic, etch, lenny, sid)*i386, then run a buildslave in each one. I'm also thinking of using an EC2 instance for the lot of them, launched as a "latent buildslave" (which is started on demand and shut down when idle).

What I'd really like is to have two separate APT repositories. One should be updated continuously, on every commit. The other should only contain released versions. The buildslave which creates the .deb should notice whether the version is a tag or not, and only upload the .deb to the release-repo when it is a tag. It should upload it to the continuous-repo always.

Eventually I'd like the same schroot scheme to be used for installation testing. It should create a new+clean debian install, then do "sudo dpkg --install X.deb", and then run some tests, then destroy the chroot.

If the upload-deb process uses a flappclient, then the clean chroot could be required to use the just-installed foolscap for the upload. This would provide the neat property that a seriously broken foolscap would be unable to upload itself into the APT repo, almost like darwinian selection for software.

tahoe#630 has some of my notes on schroot, and tahoe#422 is a similar wishlist item for Tahoe debs.

Change History (1)

comment:1 Changed 10 years ago by Brian Warner

Description: modified (diff)
Resolution: wontfix
Status: newclosed

Now that foolscap is in debian and ubuntu, I don't think we need to worry about producing our own debs anymore.

Note: See TracTickets for help on using tickets.