Genesis v2.7.11 Release Notes

Release Date: 2020-07-29 // almost 4 years ago
  • ๐Ÿ‘Œ Improvements

    โž• Add better kit id to exodus data

    ๐Ÿš€ As more things use the previously deployed kit to determine what needs
    โฌ†๏ธ to be upgraded, it is important to have this information correctly
    identified. Prior to this change, dev kits reported the name as dev and
    โœ… the version as latest (from the env yaml file)

    This change uses the kit name and version located in the kit.yml file
    directly, and also adds kit_is_dev to record that a dev kit is being
    ๐Ÿ‘‰ used.

    โž• Added features to exodus export, info script

    ๐Ÿ”‹ Features are now stored in exodus on successful deploy, and reported by
    the info command.

    ๐Ÿ’ฅ BREAKING CHANGE Hooks now use CREDHUB_* environment variables to
    ๐Ÿš€ connect to credhub. This required your BOSH to be deployed with
    โฌ†๏ธ bosh-genesis-kit v1.15.1 or later - please upgrade your bosh prior to
    ๐Ÿš€ deploying any kits that use Credhub (cf, cf-app-autoscaler)

    Decouple vault/bosh with loading of env

    Not all genesis commands need vault or bosh, but it was being
    proactively connected any time the env was loaded.

    Kit Development Improvements

    โž• Add ability to require connections to kit hooks

    Normally, hook don't need bosh or vault, but if they do, the kit can
    specify which hook needs vault or bosh (or in the future credhub) so
    the connection can be validated before the hooks are run (similar to the
    required_configs behaviour)

    ๐Ÿ‘ Allow feature hook to access the same environment variables and helper
    script that the other hooks use.

    ๐Ÿ› Bug Fixes

    ๐Ÿ”ง When safe was not configured with any targets, the error that occurred in
    Genesis was confusing and not explanatory. It will now plainly explain that
    it is can't read .saferc and therefore not select the desired vault.

    ๐Ÿ›  Fixed some BOSH config requirements that were problematic for some edge cases

    ๐Ÿ‘Œ Improve hook standard error handling.

    Previous improvements stopped STDERR from being output directly to
    โช screen. This has been reverted so that STDERR would be output directly to
    the terminal in real time.

    Resolve recursion issue with feature hook checking if bosh create-env is
    specified, which needs to check features, which runs feature hook...

    Prevent double check_prereq calls

    Minimum Dependencies

    • bosh: v5.0.1
    • spruce: v1.26.0