Sign inSign up

egeland/concourse-fly-resource

By egeland

•Updated over 8 years ago

A Concourse resource for manipulating fly

Image
0

957

egeland/concourse-fly-resource repository overview

⁠Concourse Fly Resource

A Concourse⁠ resource for manipulating fly.

⁠Resource Type Configuration

resource_types:
- name: fly
  type: docker-image
  source:
    repository: troykinsella/concourse-fly-resource
    tag: latest

⁠Source Configuration

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.
⁠Example
resources:
- name: fly
  type: fly
  source:
    url: {{concourse_url}}
    username: {{concourse_username}}
    password: {{concourse_password}}

⁠Behaviour

⁠check: No-Op
⁠in: No-Op

Future: Import fly command output

⁠out: Execute fly Command

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.

⁠Parameters
  • command: Required. The fly command to execute.
  • options: Optional. The options to pass to fly.

Parameters are passed through to the fly command as follows:

fly -t main $command $options

main is the name of the target Concourse instance.

⁠License

MIT © Troy Kinsella

Tag summary

Content type

Image

Digest

Size

6.1 MB

Last updated

over 8 years ago

docker pull egeland/concourse-fly-resource