Skip to content

Commit 14f5518

Browse files
authored
Merge pull request codefresh-io#4 from olegs-codefresh/master
Add slack message plugin
2 parents f64bf9a + 3f0647c commit 14f5518

File tree

4 files changed

+49
-0
lines changed

4 files changed

+49
-0
lines changed

CATALOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
| Plugin | Description | Tags |
66
| ------------------------------------ | ------------------- | ------------------- |
77
| [Deploy Helm](stable/helm/README.md) | Deploy a Helm chart | `kubernetes` `helm` |
8+
| [Slack](stable/slack/README.md) | Send message to slack | `slack` |
89

910
## Incubator Plugins
1011

stable/slack/NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## Notes

stable/slack/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
image: codefresh/slack-message-sender
2+
version: 0.1.0
3+
description: Send message to slack channel
4+
keywords:
5+
- slack
6+
home: https://github.com/codefresh-io/slack-message-sender
7+
sources:
8+
- https://github.com/codefresh-io/slack-message-sender
9+
maintainers: # (optional)
10+
- name: Oleg Sucharevich
11+
12+
icon: https://upload.wikimedia.org/wikipedia/commons/7/76/Slack_Icon.png
13+
envs:
14+
- name: WEBHOOK_URL
15+
type: required
16+
description: Url to the channel
17+
- name: SLACK_MESSAGE
18+
type: required
19+
description: Message to send
20+
- name: DEBUG
21+
description: print verbose install output

stable/slack/plugin.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Codefresh Helm Plugin
2+
3+
Use Codefresh Slack plugin to send a message to a channel.
4+
5+
## Usage
6+
7+
8+
```yaml
9+
---
10+
version: '1.0'
11+
12+
steps:
13+
14+
...
15+
16+
publish_to_repo:
17+
image: codefresh/slack-message-sender
18+
19+
...
20+
21+
```
22+
23+
## Environment Variables
24+
25+
- **required** `WEBHOOK_URL` - Url to the channel. Slack official [docs](https://api.slack.com/incoming-webhooks)
26+
- `DEBUG` - print verbose output

0 commit comments

Comments
 (0)