Skip to content

Releases: cloudfoundry/cf-deployment-concourse-tasks

v6.7

06 Apr 22:08
Compare
Choose a tag to compare

Binary Updates

  • CF CLI 6.36.1
  • BBL 6.6.4
  • Terraform 0.11.6

v6.6

03 Apr 17:13
Compare
Choose a tag to compare

Binary Updates

  • bbl 6.6.3

v6.5

28 Mar 22:06
Compare
Choose a tag to compare

Binary Updates

  • BBL 6.6.1

v6.4

27 Mar 23:40
Compare
Choose a tag to compare

Binary Updates

  • BBL 6.6.0
  • Credhub CLI 1.7.3

v6.3

23 Mar 22:46
Compare
Choose a tag to compare

Task Updates

🎉 Credhub Compatible Tasks 🎉

The credhub-compatible directory includes versions of our tasks that don't use a vars-store for managing platform credentials, opting instead to use Credhub. The tasks included are:

  • bosh-deploy, bosh-deploy-with-created-release, bosh-deploy-with-updated-release-submodule. These tasks function as their var-store-oriented tasks with the following differences:
    • vars-store is not a valid input. Similarly, VARS_STORE_FILE is not a valid param.
    • updated-vars-store is not a valid output. GIT_COMMIT_EMAIL and GIT_COMMIT_USERNAME are no longer valid params, because the task does not need to commit a vars-store to an env-repo.
    • USE_VARS_STORE is not a valid param (because Credhub is always used).
    • REGENERATE_CREDENTIALS replaces REGENERATE_VARS_STORE from the original vars-store oriented tasks. Under the hood, the task uses the Credhub CLI to delete credentials so that they're regenerated during the deploy.
  • update-integration-configs. The primary difference between this task and it's vars-store-oriented version is that the new task uses bbl to access Credhub and pull credentials from there. The task still commits the changes to the integration configs in the integration-configs repo. The material differences are:
    • bbl-state replaces the vars-store input.
    • Similarly, BBL_STATE_DIR replaces the VARS_STORE_FILE param.
  • set-feature-flags. The primary difference between this task and it's vars-store-oriented version is that the new task uses bbl to access Credhub, fetch the admin password, and use cf CLI commands to set feature flags. The material differences are:
    • bbl-state replaces the vars-store input.
    • Similarly, BBL_STATE_DIR replaces the VARS_STORE_FILE param.

Other Updates

  • bbl-up allows users to override the commit message with GIT_COMMIT_MESSAGE

Binary Updates

  • BBL 6.4.8
  • Uptimer 0.6.0
  • Terraform 0.11.5
  • Log cache CLI

v6.2

20 Mar 00:00
Compare
Choose a tag to compare

Binary Updates

  • CF CLI 6.35.2
  • Terraform 0.11.4
  • Credhub CLI 1.7.0
  • BBL 6.4.4

v6.1

14 Mar 22:03
Compare
Choose a tag to compare

Task updates

  • New tasks for running CATs: run-cats and run-cats-with-provided-cli. These were copied over from the cats-concourse-task repo.

Binary updates

  • BOSH CLI 3.0.1
  • BBL 6.4.3

v6.0

12 Mar 18:35
Compare
Choose a tag to compare

Updates

  • bbl 6. The latest version of bbl deprecates several commands and flags. You can see the full list in the bbl release notes, but the most impactful to these tasks is the removal of create-lbs.

  • Reversion to bbl-state over env-repo. In order to accommodate customizations provided to bbl -- for example, custom terraform templates, scripts for deploying customized BOSH directors, and ops-files for overriding defaults in the cloud-config -- we've redesigned the bbl-up task to include two primary inputs: bbl-state and bbl-config.

    • bbl-state serves the role that env-repo (and bbl-state in versions prior to v5) have served. It's where bbl leaves all state about what it has created, and how.
    • bbl-config is an input for housing all customizations that the user wants to pass through to bbl. See below for more specific information.
    • Likewise, the output of the bbl-up task has been renamed to updated-bbl-state.

    The goal for splitting these two inputs is to separate customizations from state. For example, if you were to run bbl destroy outside of your pipeline, the information in bbl-config should still exist and you'd be able to re-run bbl up in your pipeline. Likewise, you can write a bbl-config customization, and then apply it to multiple environments.
    As a result of this change, you'll need to change env-repo to bbl-state in all of your tasks.

  • Removed params. Now that the tasks expose bbl's interface to users directly, we've removed the following parameters, which were merely wrappers to bbl features:

    • BBL_EXTRA_FLAGS
    • OPS_FILES
    • IS_BOSH_LITE

bbl-config

If you want to customize your setup, you can provide the following overrides:

  • create-director-override.sh and delete-director-override.sh are scripts that you can provide in the top-level directory of bbl-config. If present, bbl will ignore its default scripts for creating/deleting the director and use your override instead.
  • create-jumpbox-override.sh and delete-jumpbox-override.sh are scripts that you can provide in the top-level directory of bbl-config. If present, bbl will ignore its default scripts for creating/deleting the jumpbox and use your override instead.
  • cloud-config/*.yml are ops-files that will be applied when bbl runs the bosh update-cloud-config command against the BOSH director. If you need to create custom vm extensions, for example, this would be a good way to achieve that.
  • terraform/*.tf are terraform templates that will included when bbl runs terraform apply.
  • vars/*.tfvars are variables that will get templated in when bbl runs terraform apply.

For example, this is how one could configure Concourse to set up a bosh-lite:

input_mapping:
  bbl-state: env-repo
  bbl-config: bosh-bootloader
params:
  BBL_STATE_DIR: bbl-state
  BBL_CONFIG_DIR: plan-patches/bosh-lite-gcp
  SKIP_LB_CREATION: true

As our bbl-config, we provide the "plan patch" from bosh-bootloader, which has most of these overrides defined.

v5.7

23 Feb 04:45
Compare
Choose a tag to compare
  • update-integration-configs sets credhub_secret in the CATs integration_config.json by extracting it from the cc_service_keys client.

v5.6

14 Feb 22:43
Compare
Choose a tag to compare
  • Bumps Credhub CLI to v1.6.0