Auto build for Mongrey Project:
- Make Docker image for all builds
- Run docker contenair
- By package (mongodb, postgresql, web, server, ...):
- Clone Mongrey Project
- Install requirements (python and OS)
- Generate binary for package
- Upload binaries to remote site (in release directory)
- Replace latest/ link to new release
$ git clone https://github.com/radical-software/mongrey-build $ cd mongrey-build $ chmod +x docker-build.sh $ PROJECT_VERSION=0.4.1 ./docker-build.sh
# mongrey release $ export PROJECT_VERSION=0.4.1 # Host for upload binaries by fabric/ssh $ export FABRIC_REMOTE_HOST=YOUR_HOST # SSH password for remote host $ export FABRIC_REMOTE_PASSWORD=YOUR_SSH_PASSWORD # Remote path $ export FABRIC_REMOTE_PATH=/home/download $ docker run -it --rm -v `pwd`:/code \ -e PROJECT_VERSION=$PROJECT_VERSION \ -e FABRIC_REMOTE_HOST=$FABRIC_REMOTE_HOST \ -e FABRIC_REMOTE_PATH=$FABRIC_REMOTE_PATH \ -e FABRIC_REMOTE_PASSWORD=$FABRIC_REMOTE_PASSWORD \ -w /code radical-software/mongrey-build fab upload
- Travis Tests
- Nightly build for master branch
- build by tag