fh-build
v1.3.0
Published
A module for building RHMAP components
Downloads
11
Readme
This module makes testing of RHMAP components easier by running a build jobs with s2i (source2image) and fh-npm tools.
fh-build
's main purpose is to be installed as a tool in CI testing, e.g. in Travis CI.
It contains a shell script installing couple of dependencies:
- [email protected] for node v4, or [email protected] for node v6 or [email protected] for node v8
- grunt-cli
- fh-npm
- s2i
- golang
It also assumes you have a docker running locally.
Install
$ npm install fh-build -g
The module is meant to be used globally. Running it as a dependency module was not properly tested yet.
Usage
Go to the repository folder you want to build and run:
$ fh-build <build-type>
- <build-type> - currently only
template
type
Compatibility
It is adjusted to the Travis CI testing environment (currently Ubuntu 14.04.3 LTS) and running it on a different OS could be problematic.