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
stringoptionaltarget api endpoint (e.g. https://api.example.com).
Secret recommendedDefault: none
BLUEMIX_USER
stringoptionalBLUEMIX username.
Secret recommendedDefault: none
BLUEMIX_PASSWORD
stringoptionalBLUEMIX password.
Secret recommendedDefault: none
BLUEMIX_ORG
stringoptionaltarget BLUEMIX org.
Secret recommendedDefault: none
BLUEMIX_SPACE
booleanoptionaltarget BLUEMIX space.
Secret recommendedDefault: false
api
stringoptionalTarget API (e.g. api.ng.bluemix.net).
Default: none
org
stringoptionalTarget Org (e.g. xyz-org).
Default: none
space
stringoptionalTarget Space (e.g. development).
Default: none
user
stringoptionalAuth username (e.g. john@doe.com).
Default: none
password
stringoptionalAuth password (e.g. mypassword).
Secret recommendedDefault: none
name
stringoptionalOverride application name (e.g. app-canary).
Default: none
buildpack
stringoptionalCustom buildpack (e.g. https://....).
Default: none
command
stringoptionalStartup command (e.g. start-script.sh).
Default: none
domain
stringoptionalDomain (e.g. example.com).
Default: none
manifest
stringoptionalPath to manifest (e.g. test.manifest.yml).
Default: none
docker_image
stringoptionalImage name (e.g. ibmclouddevops/drone-bluemix-cloudfoundry).
Default: none
instances
numberoptionalNumber of instances (e.g. 2).
Default: none
disk
stringoptionalDisk limit (e.g. 256M).
Default: none
memory
stringoptionalMemory limit (e.g. 256M).
Default: none
hostname
stringoptionalHostname (e.g. my-app).
Default: none
path
stringoptionalApp path (e.g. build/assets).
Default: none
stack
stringoptionalStack to use (e.g. cflinuxfs2).
Default: none
timeout
numberoptionalApp start timeout (e.g. 60).
Default: none
health_check_type
stringoptionalApplication health check type (e.g. port).
Default: none
route_path
stringoptionalPath for the route (e.g. about).
Default: none
no_hostname
booleanoptionalMap the root domain to this app
Default: false
no_manifest
booleanoptionalIgnore manifest file
Default: false
no_route
booleanoptionalDo not map a route to this app and remove routes from previous pushes of this app.
Default: false
no_start
booleanoptionalDo not start an app after pushing.
Default: false
random_route
booleanoptionalCreate a random route for this app.
Default: false
skip_ssl
booleanoptionalSkip verification of the API endpoint. Not recommended!.
Default: false