Skip to content

Heroku resource for concourse. Can build slugs from a directory and promote apps in a pipeline.

License

Notifications You must be signed in to change notification settings

PeriscopeData/heroku-resource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

heroku-resource

Heroku resource for concourse. Can build slugs from a directory and promote apps in a pipeline.

Build

- get: version
- get: source-dir
- put: heroku
  timeout: 10m
  attempts: 1
  params:
    bucket: {{bucket}}
    tar_args: --exclude extras/go --exclude doc/ --exclude .git/a
    build_dir: source-dir
    buildpacks:
    - url: https://github.com/heroku/heroku-buildpack-ruby
    slug_version: version/number

Deploy

- put: heroku
  timeout: 1m
  attempts: 1
  params:
    pipeline_id: {{pipeline-id}}
    source_app_id: {{source-app-id}}
    target_app_id: {{target-app-id}}

Resource setup

resource_types:
- name: heroku-resource
  type: docker-image
  source:
    repository: periscopedata/heroku-resource
    tag: latest

resources:
- name: heroku
  type: heroku-resource
  source:
    heroku_api_key: {{heroku-api-key}}
    heroku_app_name: {{heroku-app-name}}

About

Heroku resource for concourse. Can build slugs from a directory and promote apps in a pipeline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages