Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Latest commit

 

History

History
36 lines (21 loc) · 1.47 KB

PACKAGING.md

File metadata and controls

36 lines (21 loc) · 1.47 KB

Instructions for building packages for various distros

Overview

We're using the Tarantool Build scripts to generate a tar source file and then use docker to build and package the sources for various platforms.

Automatic builds

Various packages should be automatically built and published to packagecloud.io on successful builds via travis. Merged PR requests should result in new builds.

Local builds

For local builds, you'll need to have Docker installed. Then follow these steps from inside the ironssh base directory:

  1. git clone [email protected]:zmre/build.git
  2. git describe --long --always > VERSION
  3. ./build/build clean
  4. ./build/build PRODUCT=ironssh centos7 fedora23 fedora24 fedora-rawhide debian-stretch ubuntu-wily ubuntu-xenial ubuntu-yakkety

Use other platform identifiers as desired. If all goes well, you'll find your packages under build/root

Tagging for release

To get a new version number started, you need to make an annotated tag and push it to github (unless you're just building locally):

  1. git tag -a "x.y.z" -m "tag comment"
  2. `git push origin "x.y.z"

Building on Macs

If you get the error, tar: Option --exclude-vcs is not supported, then you need to switch to using gnu-tar. You can get creative, or just do this in the session where you will run the build commands:

  1. brew install gnu-tar
  2. PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"

After that you should be good.