...
git push origin <your release name>
Create convenience binaries (rpm, deb and dmg files)
Creating rpm package - CentOS 6 (GPDB 4.3, 4.3 Orca,
...
Postgres 9.5, 9.6)
...
Build MADlib and rpm package
Example:
cmake
-DHAWQ_2_PG_CONFIG=/usr/local/hawq-2.0.0.0/bin/pg_config \
-DGREENPLUM_4_3ORCA_PG_CONFIG=/usr/local/gpdb-4.3.10.0-ORCA/bin/pg_config \
-DGREENPLUM_4_3_PG_CONFIG=/usr/local/gpdb-4.3.0.0/bin/pg_config \
-DPOSTGRESQL_9_6_PG_CONFIG=/usr/local/postgresql-9.6/bin/pg_config \
-DPOSTGRESQL_9_5_PG_CONFIG=/usr/local/postgresql-9.5.0/bin/pg_config \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local/madlib
...
Identify build docker image (repository and tag) to use for build by
reviewing the resource named "centos-gpdb-dev-6" in the GPDB 5
Concourse pipeline file.
pipeline file: https://raw.githubusercontent.com/greenplum-db/gpdb/master/concourse/pipelines/pipelinegpdb_master-generated.yml
Example:
repo: pivotaldata/centos-gpdb-dev
tag: 6-gcc6.2-llvm3.7
...
Install and test the MADlib dmg following standard procedures (NOTE: To ensure a clean installation directory, remove /usr/local/madlib prior to installing and testing the dmg).
Creating deb package - Ubuntu-16 (Postgres 9.6)
If a local Ubuntu environment with Postgres is not available, obtain necessary docker image with postgres using:
docker pull madlib/postgres_9.6:latest
Follow instructions in https://github.com/apache/madlib#development-with-docker to use the docker container.
Once in the Ubuntu environment, example to build deb package (from source directory):
Note: If the pg_config file is not in the default location, we can specify it as a parameter in cmake using `-DPOSTGRESQL_9_6_PG_CONFIG=<pg_config location>`
mkdir build
cd build
cmake
-DCMAKE_BUILD_TYPE=Release \
..
make
make install
make package
mv madlib-1.15.1-Linux.deb apache-madlib-1.15.1-bin-Linux.deb
Sign the Release Candidate
...