Fix build command order
1 file changed
tree: 5a2c3306c45f9fbcf5e79bc15053820c77e21444
  1. build-scripts/
  2. cassandra-release/
  3. dist/
  4. docker/
  5. jenkins-dsl/
  6. .gitignore
  7. LICENSE
  8. README.md
README.md

Cassandra Build Tools

Collection of scripts that can be used to create Cassandra Linux packages and to push them to repositories.

Building packages

  1. Create build images containing the build tool-chain, Java and a Cassandra git working directory
    • Debian: docker build -f docker/jessie-image.docker docker/
    • RPM: docker build -f docker/centos7-image.docker docker/
  2. Run build script through docker (specify branch, e.g. cassandra-3.0 and version, e.g. 3.0.11):
    • Debian: docker run -v `pwd`/dist:/dist `docker images -f label=org.cassandra.buildenv=jessie -q` /home/build/build-debs.sh <branch>
    • RPM: docker run -v `pwd`/dist:/dist `docker images -f label=org.cassandra.buildenv=centos -q` /home/build/build-rpms.sh <branch> <version>

You should find newly created Debian and RPM packages in the dist directory.

Publishing packages

TODO