Table of Contents |
---|
Prepare
Bigtop builds components in containers based on target ${OS}-${ARCH} docker images.
At present Bigtop supports those ${OS}-${ARCH} combinations offcially
Code Block | ||
---|---|---|
| ||
centos-6 debian-8 debian-9 fedora-25-ppc64le ubuntu-14.04 ubuntu-16.04 ubuntu-16.04-ppc64le
centos-7 debian-8-aarch64 fedora-25 opensuse-42.1 ubuntu-14.04-ppc64le ubuntu-16.04-aarch64 |
Before going to build stage, target OS/arch combination docker images, bigtop/puppet and bigtop/slaves should be created.
Build
Bigtop uses gradle to build and package components. Build script for each components can be found at <BIGTOP_SRC_TOP>/bigtop-packages/src/common/<package>/do-component-build.
Debian packaging configurations and scripts are located at <BIGTOP_SRC_TOP>/bigtop-packages/src/deb/<component>.
RPM packaging configurations and scripts are located at <BIGTOP_SRC_TOP>/bigtop-packages/src/rpm/<component>.
There are several operations for a certain component: clean, pkg, deb, rpm.
- clean: clean up build