Skip to content
This repository was archived by the owner on Nov 10, 2019. It is now read-only.

Commit 846cbae

Browse files
Merge pull request #38 from codefresh-io/add-twilio-plugin
add twilio plugin manifest
2 parents 060b0a1 + 21c2354 commit 846cbae

File tree

3 files changed

+59
-1
lines changed

3 files changed

+59
-1
lines changed

dynamic-catalog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# **Catalog**
2-
Created at ** Wed Dec 19 2018 00:09:15 GMT+0000 (Coordinated Universal Time)**
2+
Created at ** Thu Dec 20 2018 10:33:16 GMT+0000 (Coordinated Universal Time)**
33

44

55
| Plugin Name | Image | Description | source | Tags |
@@ -23,5 +23,6 @@ Created at ** Wed Dec 19 2018 00:09:15 GMT+0000 (Coordinated Universal Time)**
2323
| slack-notifier | codefresh/slacknotifier | Send message to slack channel | https://github.com/codefresh-io/slack-notifier | **`slack`** |
2424
| testplugin | codefresh/github-pr-plugin | Creates GitHub pull request | https://github.com/codefresh-io/github-pr-plugin | **`testplugin`** |
2525
| testplugin1 | codefresh/github-pr-plugin | test plugin1! | https://github.com/codefresh-io/github-pr-plugin | **`testplugin1`** |
26+
| twilio | codefresh/twilioplugin | Send SMS message via Twilio | https://github.com/codefresh-io/twillio-plugin | **`sms`** **`twilio`** |
2627
| versioner | docker.io/codefresh/versioner | semver versions builder | https://github.com/codefresh-io/cf-plugin-versioner.git | **`versioner 1.0`** |
2728

plugins/twilio/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Codefresh plugin for send SMS notification
2+
3+
Codefresh plugin for send SMS notification via Twilio
4+
5+
[![Codefresh build status]( https://g.codefresh.io/api/badges/pipeline/codefresh-inc/codefresh-io%2Ftwillio-plugin%2Ftwillio-plugin?branch=master&key=eyJhbGciOiJIUzI1NiJ9.NTY3MmQ4ZGViNjcyNGI2ZTM1OWFkZjYy.AN2wExsAsq7FseTbVxxWls8muNx_bBUnQWQVS8IgDTI&type=cf-2)]( https://g.codefresh.io/pipelines/twillio-plugin/builds?repoOwner=codefresh-io&repoName=twillio-plugin&serviceName=codefresh-io%2Ftwillio-plugin&filter=trigger:build~Build;branch:master;pipeline:5c1a73926ecec326b46fca2b~twillio-plugin)
6+
7+
## Main env variables
8+
- `TWILIO_SID` - Your account SID from Twilio console
9+
- `TWILIO_TOKEN` - Your API Auth Token from Twilio console
10+
- `TWILIO_PHONE_FROM` - Phone number from which messages will be sent
11+
- `TWILIO_PHONE_TO` - Phone number to which messages will be sent
12+
- `TWILIO_TYPE` - Type of your message [build - send info about your build via Codefresh, default - Send message with statc text]
13+
14+
For **message** type you must provide `TWILIO_MESSAGE` env
15+
16+
## Config for codefresh.yml
17+
```
18+
version: '1.0'
19+
...
20+
steps:
21+
...
22+
TestSMS:
23+
title: Test SMS
24+
image: codefresh/twilioplugin:latest
25+
...
26+
...
27+
```

plugins/twilio/plugin.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
image: codefresh/twilioplugin
2+
version: latest
3+
description: Send SMS message via Twilio
4+
keywords:
5+
- sms
6+
- twilio
7+
home: https://github.com/codefresh-io/twillio-plugin
8+
sources:
9+
- https://github.com/codefresh-io/twillio-plugin
10+
maintainers:
11+
- name: Pavel Kostohrys
12+
email: pavel@codefresh.io
13+
icon: https://cdn.iconscout.com/icon/free/png-256/twilio-1-285957.png
14+
envs:
15+
- name: TWILIO_SID
16+
type: required
17+
description: Your account SID from Twilio console
18+
- name: TWILIO_TOKEN
19+
type: required
20+
description: Your API Auth Token from Twilio console
21+
- name: TWILIO_PHONE_FROM
22+
type: required
23+
description: Phone number from which messages will be sent
24+
- name: TWILIO_PHONE_TO
25+
type: required
26+
description: Phone number to which messages will be sent
27+
- name: TWILIO_TYPE
28+
description: Type of your message [build - send info about your build via Codefresh, default - Send message with statc text]
29+
- name: TWILIO_MESSAGE
30+
description: Required in default mode, text for message

0 commit comments

Comments
 (0)