v1.0.3

@khash khash released this May 22, 2018 · 13 commits to master since this release

This release contains some minor improvements and 1 main new feature around build context (see help for more info)

  • [NEW] Adding the keyword context for a step to allow specifying a custom context directory.

v1.0.2

@khash khash released this Apr 20, 2018 · 21 commits to master since this release

  • [NEW] Support for custom networks #80
  • [NEW] Support for Docker multi-stage builds #89
  • [NEW] Support build arguments #74
  • [NEW] Allow to execute commands with params
  • [FIX] Use the native docker TLS settings

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)

Release 1.0.0!!!

@foldingbeauty foldingbeauty released this Jun 19, 2017 · 50 commits to master since this release

  • containers are coping artifacts with the required stat inside a container. if you want to disable this, use the --use-stat=false command parameter.
  • when enabling the secret provider 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.
  • adding an installs script

Install Habitus for macOS or Linux for the commandline:
curl -sSL https://raw.githubusercontent.com/cloud66/habitus/master/habitus_install.sh | bash

Test version before we release the final 1.0.0

@foldingbeauty foldingbeauty released this May 31, 2017 · 56 commits to master since this release

CHANGELOG

Changes since 0.4.12

  • containers containing artefacts don't require stat anymore (fix #8)
  • you can specify for each step if you want to use cache no_cache: true (feature #9)
  • after a build step, you can run an arbitrary command on the host 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 ...

Support for new secret type and fix the multi-tenant build support.

@foldingbeauty foldingbeauty released this May 30, 2017 · 60 commits to master since this release

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

Prerelease, use with caution

@foldingbeauty foldingbeauty released this Mar 28, 2017 · 65 commits to master since this release

  • Fix problem with deleting unwanted images, If other images exist locally, incorrect images can be deleted in the final step.
  • Default setting of host is not working

Fixes: #58, #56, #38, #57

Updated the Docker Client Library to support latest API version.

Merged #49
Fixed #48
Fixed #46

Support for additional arguments to cap resources:

--docker-memory=123m which translates to docker build --memory=123m
--docker-cpuset-cpus=3,4,5 which translates to docker build --cpuset-cpus=3,4,5
--docker-cpu-shares=1024 which translates to docker build --cpu-shares=1024