github cloudfoundry/cli v6.31.0

latest releases: v8.7.9, v7.7.9, v8.7.8...
6 years ago

Package Manager Installation

Installers

Binaries

Change Log

App manifest support for Docker apps

This cf CLI release introduces new attributes to the app manifest to support pushing of Docker apps.
Private Docker repositories are also supported, using the non-interactive workflow introduced for push in cf CLI 6.26.0 with the CF_DOCKER_PASSWORD environment variable.

$ cat ./manifest.yml
---
applications:
  name: dockerapp
  docker:
    image: internal-registry.example.com:5000/my-repo/my-image:v2
    username: alice

$ CF_DOCKER_PASSWORD=$(pass docker/image) cf push
Using manifest file ./manifest.yml

Creating app dockerapp in org myorg / space dev as alice...
...

Refer to the Deploying with App Manifests documentation for details.

The private Docker repo feature requires a target CF release of v260 (CC API v2.82.0) onwards.

Built with Golang 1.9.0

Golang 1.9.0 was released last month.
See the Golang announcement for details.

Refactored commands

We are in the process of creating a more consistent user experience; our goal is to standardize UI output.
For example, warnings and errors will consistently be outputted to stderr instead of stdout and English table and key-value headers displayed in lowercase.
As we iterate through the list of commands, we are also focusing on improving performance and stability.
Please review your scripts if they depend on the output of these commands.

List of improved commands in this release:

  • create-app-manifest

Updated commands

  • push now accepts docker attributes in the app manifest to push a Docker app. (#696)
  • create-app-manifest now includes the docker attributes when generating an app manifest for a Docker app.
  • app now displays the image name of a Docker app.

Don't miss a new cli release

NewReleases is sending notifications on new releases.