A build flow tool for Docker.
--os
parameter to choose the shell command based on the OS #101This release contains some minor improvements and 1 main new feature around build context (see help for more info)
context
for a step to allow specifying a custom context directory.Thank you @mumoshu and @mwolny for their help with the fixes and features in this release!
For example (check https://github.com/cloud66/habitus/blob/master/examples/security_env)
habitus -f examples/security_env/build.yml -d examples/security_env --secrets=true --authentication-secret-server=true --user-secret-server=habitus --password-secret-server=admin --binding=[your ip] --build habitus_host=[your ip] --build habitus_port=8080 --build habitus_password=admin --build habitus_user=habitus
Make sure you set the EnvVar
export HABITUS_HOME=my_secret
New params:
--authentication-secret-server=true
(default is false)
--user-secret-server=xxx
(default is habitus)
--user-secret-server=xxx
(default is admin)
Also we removed bugsnag and use sentry to collecting crash data.
For example (check https://github.com/cloud66/habitus/blob/master/examples/security_env)
habitus -f examples/security_env/build.yml -d examples/security_env --secrets=true --authentication-secret-server=true --user-secret-server=habitus --password-secret-server=admin --binding=[your ip] --build habitus_host=[your ip] --build habitus_port=8080 --build habitus_password=admin --build habitus_user=habitus
Make sure you set the EnvVar
export HABITUS_HOME=my_secret
New params:
--authentication-secret-server=true
(default is false)
--user-secret-server=xxx
(default is habitus)
--user-secret-server=xxx
(default is admin)
stat
inside a container. if you want to disable this, use the --use-stat=false
command parameter.env
with the command parameter --secrets=true -=sec-providers="env"
all the env you want to inject need HABITUS_ prefix. For example if you expose the secret named HOME in the build.yml if should be called HABITUS_HOME in the host environment.Install Habitus for macOS or Linux for the commandline:
curl -sSL https://raw.githubusercontent.com/cloud66/habitus/master/habitus_install.sh | bash
Changes since 0.4.12
stat
anymore (fix #8)no_cache: true
(feature #9)after_build_command: <command>
(feature #19)example no_cache
feature: https://github.com/cloud66/habitus/tree/master/examples/no_cache
example after_build_command
feature: https://github.com/cloud66/habitus/tree/master/examples/after_build_command
NOTE: If you want to use the no_cache
feature you must enable this for security reasons on the command line:
habitus --after-build-command=true ...
Implementing a new secret type to use the host environment variables #53
Documentation updated how to use secrets. Added an example how to use host environment variables as secrets: https://github.com/cloud66/habitus/tree/master/examples/security_env
fix multitenant builds #62 fix the problem with dovetailing builds. Add an example how to use dovetailing. https://github.com/cloud66/habitus/tree/master/examples/uid_nested
some beautification of logging
Fixes: #58, #56, #38, #57