Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 746 Bytes

README.md

File metadata and controls

41 lines (34 loc) · 746 Bytes

Simple Release Promotion Notification (JS)

This repo contains simple scripts that demonstrate how to handle release promotion events.

Install

  • Install required JS packages:
npm install
  • Done

Configuration

Example configuration file

module.exports = {
  pulse: {
    // use https://pulseguardian.mozilla.org/ to manage your Pulse credentials
    credentials: {
      username: "xxx",
      password: "xxx"
    },
    // Define queueName to create a durable queue
    // queueName: "notify-js"
  },
  taskcluster: {
    credentials: {
      clientId: "xxx",
      accessToken: "xxx"
    },
    routingKey: 'route.index.releases.v1.#'
  }
};

Running

npm run start -- -c path/to/your/config.js