This code repository contains Noderig packaging scripts.
For more details about Noderig see the main repository on github.
| Package name | Release number | Resources |
|---|---|---|
| Git | >= 2.X.X | Git Documentation |
| Make | >= 3.8X | Make Documentation |
| Golang | >= 1.11 | Golang Documentation |
| Glide | >= 0.10.X | Glide Documentation |
| FPM | >= 0.10.X | FPM Documentation |
make helpmake list-releases # get all available tags
make get-last-release # get the latest tagIf no RELEASE_NUMBER is given to the build target, the latest available tag on the Noderig repository is automatically used.
Usage:
make build VERSION="${RELEASE_NUMBER}"
make debUsage:
make build VERSION=${RELEASE_NUMBER}
make rpmIf you encounter the following error:
glide not found. Did you add $GOBIN to your $PATH?
Fail to install glide
Add the following declarations in your Bash profile:
export GOPATH="$HOME/go/"
export PATH=$HOME/go/bin:$PATHIf you encounter the following error:
/bin/sh: fpm: command not found
make: *** [deb] Error 127Read this documentation and follow detailed instructions to install FPM tool.
On MacOS X system like, you will maybe need to set GEM_HOME and PATH environment variables.