Bender concourse resource

Build Status Docker Repository on Quay

A Concourse resource that can trigger any job (deployments, releases, ...) using slack.

Check examples page for usage.

NOTE: Bender is still young, Your input and contribution is highly appreciated.

Deploying to Concourse

You can use the docker image by defining the resource type in your pipeline YAML.

resource_types    :
  - name: bender-resource
    type: docker-image
    source:
      repository: quay.io/ahelal/bender
      tag: latest

Source Configuration

Behavior

check: Check for new messages that match the rules

Check will report a new version;timestamp; if message fits all the criteria.

check Parameters

Check accepts no params.

in: Get the message

A file bender.json will be created with the message payload.

if template is defined it will be evaluated and written to template_filename. For more info on template syntax read template section. For example on usage, check the examples page.

in Parameters

In accepts no params.

out: Reply to original message

Replies with a message to the selected channel.

out Parameters

Template

The template uses python Jinja2 engine.

Tips

      - get: bender
        version: every
        trigger: true

TODO

Contribution