Enables you to run Capistrano deployments from your Concourse pipeline.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dockerfile Install ruby-etc May 2, 2018
LICENSE
README.md Include `resource_types` in README Jun 2, 2017
check Initial commit Sep 29, 2016
in Initial commit Sep 29, 2016
out Use bundle exec Sep 29, 2016

README.md

Capistrano Resource

Enables you to run Capistrano deployments from your pipeline.

Source Configuration

  • stage: Required. The name of the stage to execute during deployment.

  • private_key: Required. The private key to use during deployment.

Example

Resource configuration for production environment:

resource_types:
- name: capistrano
  type: docker-image
  source:
    repository: shyxormz/capistrano-resource
    tag: latest

resources:
- name: production-deployment
  type: capistrano
  source:
    stage: production
    private_key: |
      -----BEGIN RSA PRIVATE KEY-----
      MIISKAIBAAKCBAEAyx0Gxg1Ph2MqLb5ogJHq0jGSDqgGqiLOyK771l5PhbAUYDXc
      <Lots more text>
      RBBTrpwGkMUvgGExiqEGNPzut9v9vTIczSifCzgD7vLra9NNv67J2Kt7zOM=
      -----END RSA PRIVATE KEY-----

Deploying to production:

- get: source-code
- put: production-deployment
  params:
    path: source-code

Behavior

check: Not supported.

in: Not supported

out: Run deployment.

Parameters

  • path: Required. The path to the directory that contains the Capistrano configuration.