A Concourse resource for manipulating fly
.
resource_types:
- name: fly
type: docker-image
source:
repository: giupan/concourse-fly-resource
tag: latest
Currently only HTTP basic authentication is supported.
url
: Required. The base URL of the concourse instance to contact. (i.e. https://example.com/concourse)username
: Required. The concourse basic auth username.password
: Required. The concourse basic auth password.team
: Optional. The concourse team to work upon. Defaults tomain
target
: Optional. The concourse target to work upon. Defaults tomain
resources:
- name: fly
type: fly
source:
url: ((concourse_url))
username: ((concourse_username))
password: ((concourse_password))
team: ((concourse_team))
target: ((concourse_team))
Future: Import fly command output
Execute the given fly
command along with given options. The fly
client is downloaded from the target
Concourse instance if not already present or if there is a version mismatch between fly
and Concourse.
command
: Required. Thefly
command to execute.options
: Optional. The options to pass tofly
.
Parameters are passed through to the fly
command as follows:
fly -t $target -n $team $command $options
main
is the name of the target Concourse instance.
MIT © Troy Kinsella