tree: 62be1a34c9b59e7f79d8d346980c7ecc0344541d [path history] [tgz]
  1. .gitignore
  2. Dockerfile
  3. init.sh
  4. README.md
  5. run.sh
release-validator/README.md

Release Validator

A docker container for validating Apache Sling releases using the release ID.

This container will:

  1. Download / load the Sling Committer Public Keys
  2. Validate the code signatures for the release
  3. Build each progress in the release
  4. If any project in the release is in a bundle, start an Apache Sling Starter and install as a bundle

Setup

This project assumes you have already installed on your local system.

To build the container instance, you must first download the desired JDK. Download the RPM Linux 64 installer into the project root directory, then run:

docker build -t sling-check-release .

Commands

To run the docker container run:

docker run sling-check-release [A_RELEASE_NUMBER]

To keep the docker container up for 10 minutes to ensure the bundle is installed and working, execute:

docker run -e KEEP_RUNNING=true -P sling-check-release [A_RELEASE_NUMBER]

Environment Variables

The following environment variables are supported:

  • KEEP_RUNNING - If set to true, the Sling instace will be left running, default is false
  • RUN_TIMEOUT - The amount of time for the Sling instance to be left running, default is 10m