Nova Resource:Deployment-prep/Beta-Apt-Repo

From Wikitech
This page contains historical information. It may be outdated or unreliable.

Testing debian packaging

In order to test debian package changes submitted via Differential, The Release Engineering Team has set up a pair of Jenkins jobs which work as following:

  1. Automatically build debian packages from differential changes
  2. Publish the packages to deployment-prep for further manual testing.

How it works

The git repository for your package needs to have the following prerequisites:

  1. meta-build-package tag in phabricator
  2. A working git-buildpackage configuration.

That's all you need and everything else should be fully automated. When a differential revision is submitted, harbormaster will cause jenkins to run beta-build-deb to build a debian package, then beta-publish-deb will publish that package to the apt repository at http://deployment-mira.deployment-prep.eqiad.wmflabs/repo

Once the package is built and published you simply log into any deployment-prep instance, run apt-get update && apt-get install {package}