circleci_deployment_notifier 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile +1 -0
- data/README.md +28 -1
- data/lib/circleci_deployment_notifier/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35da5d43b5ea74ce0d122ab2626a4150de8b8a09
|
4
|
+
data.tar.gz: 556b7b145b1ff5514e61e267f984897c488ab8d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ac68e893bd18dcdbb25e117f0d8480a2bf3c50d63ffe2c3e29eddbf45abe941a5391d2f73c98fcb4e3b319396c2c092db44291d228d99ce5121d9781d95bd42
|
7
|
+
data.tar.gz: 41e5dfc603b75eb9700ad5503aeb3ae9ea0e21f947befc4e947eedc953a8b2eed565e43725797e2debabbb8607f7409c1f40c3e47827627f382a55c9c58e302a
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
|
2
|
+
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b76abb83eb5449499cbe3740c147715e)](https://www.codacy.com/app/robindaugherty/circleci_deployment_notifier?utm_source=github.com&utm_medium=referral&utm_content=RobinDaugherty/circleci_deployment_notifier&utm_campaign=Badge_Grade)
|
3
|
+
[![Codacy Coverage](https://api.codacy.com/project/badge/Coverage/b76abb83eb5449499cbe3740c147715e)](https://www.codacy.com/app/robindaugherty/circleci_deployment_notifier?utm_source=github.com&utm_medium=referral&utm_content=RobinDaugherty/circleci_deployment_notifier&utm_campaign=Badge_Coverage)
|
4
|
+
|
1
5
|
# CircleCI Deployment Notifier
|
2
6
|
|
3
7
|
Sends deployment notifications based on deployments that occur on CircleCI.
|
@@ -22,7 +26,30 @@ gem install circleci_deployment_notifier
|
|
22
26
|
|
23
27
|
## Usage
|
24
28
|
|
25
|
-
|
29
|
+
Add the following lines to your `circle.yml` in the deployments section:
|
30
|
+
|
31
|
+
```sh
|
32
|
+
gem install circleci_deployment_notifier
|
33
|
+
circleci_deployment_notify_slack -a "Application Name" -u "https://hooks.slack.com/services/WEBHOOK"
|
34
|
+
```
|
35
|
+
|
36
|
+
Here's an example deployment section from `circle.yml`:
|
37
|
+
```yml
|
38
|
+
deployment:
|
39
|
+
staging:
|
40
|
+
branch: master
|
41
|
+
commands:
|
42
|
+
- # TODO: something to deploy the application to staging
|
43
|
+
- gem install circleci_deployment_notifier
|
44
|
+
- circleci_deployment_notify_slack -a "Application Staging" -u "https://hooks.slack.com/services/WEBHOOK"
|
45
|
+
production:
|
46
|
+
tag: /v[0-9]+\.[0-9]+\.[0-9]+/
|
47
|
+
owner: MyOrganization
|
48
|
+
commands:
|
49
|
+
- # TODO: something to deploy the application to production
|
50
|
+
- gem install circleci_deployment_notifier
|
51
|
+
- circleci_deployment_notify_slack -a "Application Production" -u "https://hooks.slack.com/services/WEBHOOK"
|
52
|
+
```
|
26
53
|
|
27
54
|
## Development
|
28
55
|
|