Drop label restriction on matrix lightweight executor

The parent matrix job does not really perform any function other than to
shepherd the children job matrices, which is where the work is done.
This lightweight parent job can run anywhere. The label restriction was
taking up a non-executing slot on the slave and preventing any other
concurrency throttled jobs from running on the slave.
1 file changed
tree: 6f3bcd1239db031eac8bd2a032766a99941e6a1a
  1. build-scripts/
  2. cassandra-release/
  3. dist/
  4. docker/
  5. jenkins-dsl/
  6. .gitignore
  7. ASF-slaves.txt
  8. LICENSE
  9. README.md
README.md

Apache Cassandra Build Tools

  • Jenkins Job DSL scripts to create CI jobs:
    • jenkins-dsl/
  • Jenkins Job build/test runtime scripts:
    • build-scripts/
  • Apache Cassandra packaging utilities:
    • cassandra-release/
    • docker/

Building packages

  1. Create build images containing the build tool-chain, Java and an Apache 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