https://github.com/shyx0rmz/capistrano-resource
Enables you to run Capistrano deployments from your Concourse pipeline.
https://github.com/shyx0rmz/capistrano-resource
capistrano concourse concourse-ci concourse-ci-resource concourse-resource
Last synced: about 2 months ago
JSON representation
Enables you to run Capistrano deployments from your Concourse pipeline.
- Host: GitHub
- URL: https://github.com/shyx0rmz/capistrano-resource
- Owner: SHyx0rmZ
- License: mit
- Created: 2017-01-03T22:55:45.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T21:12:52.000Z (over 7 years ago)
- Last Synced: 2025-04-06T06:34:40.947Z (6 months ago)
- Topics: capistrano, concourse, concourse-ci, concourse-ci-resource, concourse-resource
- Language: Ruby
- Homepage:
- Size: 5.86 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Capistrano Resource
Enables you to run [Capistrano](http://capistranorb.com/) 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:
``` yaml
resource_types:
- name: capistrano
type: docker-image
source:
repository: shyxormz/capistrano-resource
tag: latestresources:
- name: production-deployment
type: capistrano
source:
stage: production
private_key: |
-----BEGIN RSA PRIVATE KEY-----
MIISKAIBAAKCBAEAyx0Gxg1Ph2MqLb5ogJHq0jGSDqgGqiLOyK771l5PhbAUYDXc
RBBTrpwGkMUvgGExiqEGNPzut9v9vTIczSifCzgD7vLra9NNv67J2Kt7zOM=
-----END RSA PRIVATE KEY-----
```Deploying to production:
``` yaml
- 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.