---
resources:
- name: cf-rabbitmq-release
  type: git
  source:
    uri: git@github.com:pivotal-cf/cf-rabbitmq-release.git
    branch: master
    private_key: {{git-private-key}}

jobs:
- name: test
  plan:
  - get: cf-rabbitmq-release
    trigger: true
  - task: test
    file: cf-rabbitmq-release/src/rabbitmq-broker/ci/run-tests.yml

---
resources:
- name: cf-rabbitmq-release
  type: git
  source:
    uri: git@github.com:pivotal-cf/cf-rabbitmq-release.git
    branch: master
    private_key: {{git-private-key}}

- name: rabbitmq-alert
  type: slack-notification
  source:
    url: https://hooks.slack.com/services/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

jobs:
- name: test
  plan:
  - get: cf-rabbitmq-release
    trigger: true
  - task: test
    file: cf-rabbitmq-release/src/rabbitmq-broker/ci/run-tests.yml
    on_failure:
      put: rabbitmq-alert
      params:
        text: "Sorry, I don't know how to tell you this, but 'rabbitmq-broker' pipeline is broken."
        channel: "#pcf-rabbitmq"
        username: concourse

Add rabbitmq slack alert for ci
Add rabbitmq slack alert for ci

[#118372739]

Signed-off-by: Ben Chapman <4ada7eac694dcb4b5475ac51d142ba919b54bb00@pivotal.io>
