Skip to content

cortexx/noderig-packages

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Noderig packages

This code repository contains Noderig packaging scripts.
For more details about Noderig see the main repository on github.

Requirements

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

Print Makefile usage

make help

Get Noderig's repository available tags

make list-releases # get all available tags
make get-last-release # get the latest tag

How to build a package

If no RELEASE_NUMBER is given to the build target, the latest available tag on the Noderig repository is automatically used.

How to build a .deb package

Usage:

make build VERSION="${RELEASE_NUMBER}"
make deb

How to build a .rpm package

Usage:

make build VERSION=${RELEASE_NUMBER}
make rpm

Troubleshooting

How to debug Glide installation

If 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:$PATH

How to debug package building

If you encounter the following error:

/bin/sh: fpm: command not found
make: *** [deb] Error 127

Read 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.

About

Noderig packaging scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 53.2%
  • Makefile 38.7%
  • Dockerfile 8.1%