You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed to ubuntu:latest (jammy) for resource image. This increased the container image from 104MB to 166MB, but this allows for a cleaner development environment as the devcontainer.json now uses the same resource Dockerfile while adding additional development tools using devcontainer "features".
Introduced support for cf8 cli! This is enabled by configuring cf_cli_version: 8 globally on the resource source configuration.
These commands now support the wait: true param when used with cf_cli_version: 8:
bind-route-service
bind-service
create-service-key
delete-service-key
unbind-route-service
unbind-service
Added create-private-domain command (see notes in Changed section regarding deprecation of create-domain command)
Added delete-private-domain command (see notes in Changed section regarding deprecation of delete-domain command)
restart command now supports strategy: rolling and no_wait: true params when using cf_cli_version version 7 or 8
delete-user command now supports the origin param for specifying an external identity provider when using cf_cli_version version 7 or 8
map-route command now supports the app_protocol param for specifying the protocol for the route destination (only applied to HTTP routes)
Changed
The wait_for_service: true param has been deprecated in favor of wait: true for commands: create-service, update-service, and delete-service for consistency with the new v8 cli param.
The create-domain and delete-domain commands have been deprecated in favor of the new create-private-domain and delete-private-domain commands. Backstory: The cf cli v6 provides the create/delete-domain and create/delete-shared-domain commands. Starting with cf cli v7, the create/delete-domain commands became aliases for the more descriptive create/delete-private-domain commands. Note that when using cf cli v6 we still use cf create-domain ... or cf delete-domain ... under the covers.
Improved test isolation by removing dependency on $CCR_SOURCE global variable and using new test::* methods for test authentication and commands dependent on targeting an org and space.
Fixed
Fixed an issue where setting locked: false or enabled: false on create-buildpack and update-buildpack would only work if you quoted the false boolean value (ex: enabled: "false"). This has been fixed so either style (quoted or un-quoted) will work.
Introduced Visual Studio Code Remote - Containers support for developing cf-cli-resource. The .devcontainer folder contains a Dockerfile tailored for this project with all the development tools needed to develop this resource. The goal is to provide a consistent developer experience with less dependencies on your local setup (all you need now is Docker and VS Code on your system!).
Changed
Upgraded to Alpine 3.14 for resource image
Improved cf cli version detection and error handling
Fixed
Fixed shipit pipeline job to properly publish latest image tag
push command now supports directly passing application manifest yaml to the manifest param (see updated example in README). The resource will intelligently figure out if you specified a file (original behavior) or yaml and will act accordingly.
bind-route-service command now supports the configuration param for specifying service-specific configuration parameters, thanks to a PR by BartoszKaszewczuk
Changed
Previously when doing a push command with manifest and environment_variables params, the existing manifest file would be modified in-place to include the environment variables. We now modify a copy of the original manifest and leave the original alone. This is all internal to the cf-cli-resource and should not affect any existing pipelines!
Introduced new tests (see spec folder) using the shellspec BDD testing framework. The existing home-grown test framework in the itest folder has served this project well, but it's time to move on to something better. Over the upcoming releases, we'll slowly start converting more of the itest tests to the newer spec tests.
unbind-route-service - Unbind a service instance from an HTTP route, thanks to a PR by JHjava
Changed
push command now supports specifying multiple buildpacks, thanks to a PR by tenjaa. The original buildpack option is now deprecated and superceded by buildpacks.
Resource and test executions are now isolated from each other thanks to setting their own unique CF_HOME locations.