Drone plugins > Bluemix Cloud Foundry
bluemix.svg

Bluemix Cloud Foundry

by jcantosz


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

Example

kind: pipeline
name: default

steps:
- name: deploy
  image: ibmclouddevops/drone-bluemix-cloudfoundry
  settings:
    region: ng
    org: cloud
    space: production

Properties

  • BLUEMIX_API

    stringoptional

    target api endpoint (e.g. https://api.example.com).

    Secret recommended

    Default: none

  • BLUEMIX_USER

    stringoptional

    BLUEMIX username.

    Secret recommended

    Default: none

  • BLUEMIX_PASSWORD

    stringoptional

    BLUEMIX password.

    Secret recommended

    Default: none

  • BLUEMIX_ORG

    stringoptional

    target BLUEMIX org.

    Secret recommended

    Default: none

  • BLUEMIX_SPACE

    booleanoptional

    target BLUEMIX space.

    Secret recommended

    Default: false

  • api

    stringoptional

    Target API (e.g. api.ng.bluemix.net).

    Default: none

  • org

    stringoptional

    Target Org (e.g. xyz-org).

    Default: none

  • space

    stringoptional

    Target Space (e.g. development).

    Default: none

  • user

    stringoptional

    Auth username (e.g. john@doe.com).

    Default: none

  • password

    stringoptional

    Auth password (e.g. mypassword).

    Secret recommended

    Default: none

  • name

    stringoptional

    Override application name (e.g. app-canary).

    Default: none

  • buildpack

    stringoptional

    Custom buildpack (e.g. https://....).

    Default: none

  • command

    stringoptional

    Startup command (e.g. start-script.sh).

    Default: none

  • domain

    stringoptional

    Domain (e.g. example.com).

    Default: none

  • manifest

    stringoptional

    Path to manifest (e.g. test.manifest.yml).

    Default: none

  • docker_image

    stringoptional

    Image name (e.g. ibmclouddevops/drone-bluemix-cloudfoundry).

    Default: none

  • instances

    numberoptional

    Number of instances (e.g. 2).

    Default: none

  • disk

    stringoptional

    Disk limit (e.g. 256M).

    Default: none

  • memory

    stringoptional

    Memory limit (e.g. 256M).

    Default: none

  • hostname

    stringoptional

    Hostname (e.g. my-app).

    Default: none

  • path

    stringoptional

    App path (e.g. build/assets).

    Default: none

  • stack

    stringoptional

    Stack to use (e.g. cflinuxfs2).

    Default: none

  • timeout

    numberoptional

    App start timeout (e.g. 60).

    Default: none

  • health_check_type

    stringoptional

    Application health check type (e.g. port).

    Default: none

  • route_path

    stringoptional

    Path for the route (e.g. about).

    Default: none

  • no_hostname

    booleanoptional

    Map the root 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

    Create a random route for this app.

    Default: false

  • skip_ssl

    booleanoptional

    Skip verification of the API endpoint. Not recommended!.

    Default: false