0.0.5-docker-build-308700cc.0 • Published 3 years ago
@team-supercharge/jarvis-slack-notifier v0.0.5-docker-build-308700cc.0
JARVIS Slack Notifier
Node.js tool to provide Slack notifications through a Slack App to deliver JARVIS notifications
Getting Started
When installed as an NPM package, the tool exposes the jsn <command> binary to use with the following available commands:
npx jsn build-start- sends a Slack message containin release information about the currently built release (tag)npx jsn build-result- updates previous message based on theCI_JOB_STATUSvariable
different statuses can be notified manually as well:
npx jsn build-success- updates previous message with a success statenpx jsn build-failed- updates previous message with a failed statenpx jsn build-canceled- updates previous message with a canceled state
general commands:
npx jsn version- prints out version number
Configuration
The JARVIS Slack Notifier gets its configuration entirely from environment variables:
| variable | required | description |
|---|---|---|
JARVIS_SLACK_BOT_TOKEN | * | Slack App's bot token |
JARVIS_SLACK_SIGNING_SECRET | * | Slack App's signing secret |
JARVIS_SLACK_CHANNEL_ID | * | must be an ID, updating a message does not work with channel names |
JARVIS_SLACK_GROUP_EMOJI | emoji to use for project group (without colons) | |
JARVIS_SLACK_GITLAB_PRIVATE_TOKEN | use a private token instead of a job token (local testing) | |
JARVIS_SLACK_NO_RELEASE_CONTENT | if set to any value, no content (features, fixes, etc) sent |
On top of that the project relies on a handful of GitLab environment variables to be defined as seen in the .env.example file.
1.2.5
2 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.0
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.1.0
3 years ago
1.1.0-additional-headers-fd55ad9c.0
3 years ago
1.0.0
3 years ago
0.0.5-docker-build-308700cc.0
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.3-self-notifications-0240bfb6.0
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago
0.0.1-npm-build-2de1a677.0
3 years ago
0.0.1-npm-build-a76946bb.0
3 years ago