Drone plugins > Cloud Foundry
cloudfoundry.svg

Cloud Foundry

by cheslip


The Cloud Foundry plugin can be used to deploy files and/or services to Cloud Foundry.

Example

kind: pipeline
name: default

steps:
- name: deploy
  image: cheslip/drone-cloudfoundry
  settings:
    api: api.run.pivotal.io
    org: pivotal
    space: production

Properties

  • CF_API

    stringoptional

    Target API.

    Secret recommended

    Default: none

  • CF_USER

    stringoptional

    CF username.

    Secret recommended

    Default: none

  • CF_PASSWORD

    stringoptional

    CF password.

    Secret recommended

    Default: none

  • CF_ORG

    stringoptional

    target CF org.

    Secret recommended

    Default: none

  • CF_SPACE

    stringoptional

    target CF space.

    Secret recommended

    Default: none

  • api

    stringoptional

    Target API.

    Default: none

  • org

    stringoptional

    Target org.

    Default: none

  • space

    stringoptional

    Target space.

    Default: none

  • user

    stringoptional

    Auth username.

    Default: none

  • password

    stringoptional

    Auth password.

    Secret recommended

    Default: none

  • name

    stringoptional

    Override application name.

    Default: none

  • buildpack

    stringoptional

    Custom buildpack.

    Default: none

  • command

    stringoptional

    Startup command.

    Default: none

  • domain

    stringoptional

    Domain.

    Default: none

  • manifest

    stringoptional

    Path to manifest.

    Default: none

  • docker_image

    stringoptional

    Image name.

    Default: none

  • instances

    numberoptional

    Number of instances.

    Default: none

  • disk

    stringoptional

    Disk limit e.g. 256M.

    Default: none

  • memory

    stringoptional

    Memory limit e.g. 256M.

    Default: none

  • hostname

    stringoptional

    Hostname.

    Default: none

  • path

    stringoptional

    App path.

    Default: none

  • stack

    stringoptional

    Stack to use.

    Default: none

  • timeout

    numberoptional

    App start timeout.

    Default: none

  • health_check_type

    stringoptional

    Application health check type e.g. port.

    Default: none

  • route_path

    stringoptional

    Route path.

    Default: none

  • no_hostname

    booleanoptional

    Map the route domain to this app.

    Default: false

  • no_manifest

    booleanoptional

    Ignore manifest file.

    Default: false

  • no_route

    booleanoptional

    Do not map a route to this app and remove routes from previous pushes of this app.

    Default: false

  • no_start

    booleanoptional

    Do not start an app after pushing.

    Default: false

  • random_route

    booleanoptional

    Generate a random route for this app.

    Default: false

  • skip_ssl

    booleanoptional

    Skip verification of the API endpoint. Not recommended!

    Default: false