Releases: cloudfoundry/cf-deployment-concourse-tasks
v6.7
Binary Updates
- CF CLI 6.36.1
- BBL 6.6.4
- Terraform 0.11.6
v6.6
v6.5
Binary Updates
- BBL 6.6.1
v6.4
Binary Updates
- BBL 6.6.0
- Credhub CLI 1.7.3
v6.3
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
andGIT_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
replacesREGENERATE_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 usesbbl
to access Credhub and pull credentials from there. The task still commits the changes to the integration configs in theintegration-configs
repo. The material differences are:bbl-state
replaces thevars-store
input.- Similarly,
BBL_STATE_DIR
replaces theVARS_STORE_FILE
param.
set-feature-flags
. The primary difference between this task and it's vars-store-oriented version is that the new task usesbbl
to access Credhub, fetch the admin password, and usecf
CLI commands to set feature flags. The material differences are:bbl-state
replaces thevars-store
input.- Similarly,
BBL_STATE_DIR
replaces theVARS_STORE_FILE
param.
Other Updates
bbl-up
allows users to override the commit message withGIT_COMMIT_MESSAGE
Binary Updates
- BBL 6.4.8
- Uptimer 0.6.0
- Terraform 0.11.5
- Log cache CLI
v6.2
v6.1
Task updates
- New tasks for running CATs:
run-cats
andrun-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
Updates
-
bbl
6. The latest version ofbbl
deprecates several commands and flags. You can see the full list in thebbl
release notes, but the most impactful to these tasks is the removal ofcreate-lbs
. -
Reversion to
bbl-state
overenv-repo
. In order to accommodate customizations provided tobbl
-- for example, custom terraform templates, scripts for deploying customized BOSH directors, and ops-files for overriding defaults in the cloud-config -- we've redesigned thebbl-up
task to include two primary inputs:bbl-state
andbbl-config
.bbl-state
serves the role thatenv-repo
(andbbl-state
in versions prior to v5) have served. It's wherebbl
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 tobbl
. See below for more specific information.- Likewise, the output of the
bbl-up
task has been renamed toupdated-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 inbbl-config
should still exist and you'd be able to re-runbbl up
in your pipeline. Likewise, you can write abbl-config
customization, and then apply it to multiple environments.
As a result of this change, you'll need to changeenv-repo
tobbl-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 tobbl
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
anddelete-director-override.sh
are scripts that you can provide in the top-level directory ofbbl-config
. If present,bbl
will ignore its default scripts for creating/deleting the director and use your override instead.create-jumpbox-override.sh
anddelete-jumpbox-override.sh
are scripts that you can provide in the top-level directory ofbbl-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 whenbbl
runs thebosh 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 whenbbl
runsterraform apply
.vars/*.tfvars
are variables that will get templated in whenbbl
runsterraform 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.