A Concourse resource for manipulating fly
.
Note: This resource does not yet support Concourse 4+
resource_types:
- name: fly
type: docker-image
source:
repository: troykinsella/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 login to. Default: "main".insecure
: Optional. Set totrue
to skip TLS verification.debug
: Optional. Set totrue
to print commands for troubleshooting, including credentials.secure_output
: Optional. Set totrue
to suppress output fromfly
.multiline_lines
: Optional. Set totrue
to interpret\
as one line (mostly for big options line).
resources:
- name: fly
type: fly
source:
url: {{concourse_url}}
username: {{concourse_username}}
password: {{concourse_password}}
team: main
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.
When multiple lines are present in the provided options, fly
is executed separately for each line.
options
: Optional. The options to pass tofly
.options_file
: Optional. A file containing options to pass tofly
.
Parameters are passed through to the fly
command as follows:
fly -t main $options
main
is the name of the target Concourse instance.
MIT © Troy Kinsella