Builder should run createrepo

Testing Done:
Tested on 0.9.x branch

Reviewed at https://reviews.apache.org/r/38084/
1 file changed
tree: 42fd9cae4c653f17f2c30a5793026375fe1e72f6
  1. builder/
  2. specs/
  3. .gitignore
  4. .reviewboardrc
  5. build-artifact.sh
  6. README.md
README.md

Packaging for Apache Aurora

This repository maintains configuration and tooling for building binary distributions of Apache Aurora.

Building a binary

Binaries are built within Docker containers that provide the appropriate build environment for the target platform. You will need to have a working Docker installation before proceeding.

  1. Fetch a source distribution, such as an official one.

  2. Run the builder script, providing the distribution platform and the source distribution archive you downloaded in (1). The example below will build Aurora 0.9.0 debs for Ubuntu Trusty.

    ./build-artifact.sh builder/deb/ubuntu-trusty \
      ~/Downloads/apache-aurora-0.9.0.tar.gz \
      0.9.0
    

When this completes, debs will be placed in dist/builder/deb/ubuntu-trusty/.

Adding a new distribution platform

There are only two requirements for a ‘builder’ to satisfy:

  • a Dockerfile to provide the repeatable build environment
  • a build.sh script that creates artifacts

Please see the makeup of other builders for examples.