This project creates full-stack platform-specific packages for
3scale_toolbox
!
must have a sane Ruby 2.0.0+ environment with Bundler installed. Ensure all the required gems are installed:
$ bundle install --binstubs
You create a platform-specific package using the build project
command:
$ bin/omnibus build 3scale_toolbox
The platform/architecture type of the package created will match the platform
where the build project
command is invoked. For example, running this command
on a MacBook Pro will generate a Mac OS X package. After the build completes
packages will be available in the pkg/
folder.
You can clean up all temporary files generated during the build process with
the clean
command:
$ bin/omnibus clean 3scale_toolbox
Adding the --purge
purge option removes ALL files generated during the
build including the project install directory (/opt/3scale_toolbox
) and
the package cache directory (/var/cache/omnibus/pkg
):
$ bin/omnibus clean 3scale_toolbox --purge
Omnibus has a built-in mechanism for releasing to a variety of "backends", such
as Amazon S3. You must set the proper credentials in your omnibus.rb
config
file or specify them via the command line.
$ bin/omnibus publish path/to/*.deb --backend s3
Full help for the Omnibus command line interface can be accessed with the
help
command:
$ bin/omnibus help
Git-based software definitions may specify branches as their
default_version. In this case, the exact git revision to use will be
determined at build-time unless a project override (see below) or
external version manifest is used. To generate a version manifest use
the omnibus manifest
command:
omnibus manifest PROJECT -l warn
This will output a JSON-formatted manifest containing the resolved version of every software definition.