fh-build

A module for building RHMAP components

Usage no npm install needed!

<script type="module">
  import fhBuild from 'https://cdn.skypack.dev/fh-build';
</script>

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:

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.