citus_package
encapsulates complex packaging logic to ensure team members can easily build release, nightly, and custom packages for any Citus project on any supported OS. Under the hood, it's using Docker to guarantee some level of repeatability.
citus_package
requires docker
v1.10 or greater.
make install
to install the script and a man page. man citus_package
for more details.
First, please read man citus_package
, we have a man page for it :)
Ensure your GITHUB_TOKEN
environment variable is properly set (see the man page if you're not sure how to do that). Make sure Docker is running, then you're off to the races! For example, to build a citus
community "release" on Debian Jessie and Ubuntu Xenial, first change your directory into "citusdata/packaging" repo directory and then checkout the all-citus
(would be all-enterprise
for enterprise) branch as this branch has the specific pkgvars
for community packages. Then execute the following:
citus_package -p debian/jessie -p ubuntu/focal local release