tree: 9b83f6a679ea2fe172f38624afbc0985b7404cb1 [path history] [tgz]
  1. build_docker_image.sh
  2. build_maven_artifacts.sh
  3. build_release_packages.sh
  4. README.md
  5. setup_bazel.sh
scripts/ci/README.md

Heron CI scripts

This directory contains scripts used by CI jobs.

Build release packages

Release packages include heron.tar.gz as well as installer script. Packages are platform dependent.

Example:

set -e
set -o pipefail

# Install bazel (linux build) because CI hosts may not have it installed
bash scripts/ci/setup_bazel.sh linux

# Build v0.20.1-incubating packages for rocky8 and put in artifacts folder
HERON_BUILD_USER=release-agent
bash scripts/ci/build_release_packages.sh v0.20.1-incubating rocky8 artifacts

Build maven artifacts

Maven argifacts include api, spi, storm-compatibility and simulator. Artifacts are platform indepedent.

Example:

set -e
set -o pipefail

# Install bazel (linux build) because CI hosts may not have it installed
bash scripts/ci/setup_bazel.sh linux

# Build v0.20.1-incubating artifacts and put in artifacts folder
HERON_BUILD_USER=release-agent
bash scripts/ci/build_maven_artifacts.sh v0.20.1-incubating artifacts

Build docker image

The docker image includes Heron core, tools and examples.

Example:

set -e
set -o pipefail

# Install bazel (linux build) because CI hosts may not have it installed
bash scripts/ci/setup_bazel.sh linux

# Build v0.20.1-incubating artifacts and put in artifacts folder
HERON_BUILD_USER=release-agent
bash scripts/ci/build_docker_image.sh v0.20.1-incubating 10 artifacts