tree: d814b0c9b2952cad45eda1d7abb73b33025426da [path history] [tgz]
  1. README.md
  2. build_docker_image.sh
  3. build_maven_artifacts.sh
  4. build_release_packages.sh
  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 centos7 and put in artifacts folder
HERON_BUILD_USER=release-agent
bash scripts/ci/build_release_packages.sh v0.20.1-incubating centos7 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 debian9 artifacts