gocd-slack-server 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +16 -5
- data/bin/gocdss +7 -7
- data/cancelled.gif +0 -0
- data/fail.gif +0 -0
- data/lib/gocdss/version.rb +1 -1
- data/pass.gif +0 -0
- metadata +4 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c5156ba95a91df3039533aeccf5cd353e29f41f
|
|
4
|
+
data.tar.gz: 78fc6a20acd60d76c21686cf9371ee46a42e6b01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f47aec58d5d5c8a0c50635f69850d56c4d19e2ee4e60ff8248e5213cf89e5401cc911f746b2f6e842d0df29c1e6013338cbabe373104589452fe3579a3185a46
|
|
7
|
+
data.tar.gz: 6dc27a6f9089d72ccb35c2761ba637ab7d86c3c1a245d1313a85521e90b3d9b82b9e6184176158645ba0c1120a28c5cc9245e2e54fedb5d50131b4d000e0ae69
|
data/README.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
](http://badge.fury.io/rb/gocd-slack-server)
|
|
4
|
+
](https://travis-ci.org/sotownsend/gocd-slack-server)
|
|
5
|
+
](https://bitdeli.com/free "Bitdeli Badge")
|
|
6
|
+
](https://github.com/sotownsend/gocd-slack-server/blob/master/LICENSE)
|
|
7
7
|
|
|
8
8
|
# What is this?
|
|
9
|
-
gocd-slack-server was purpose built for Fittr® to provide information from our gocd server to our slack channel. This is a standalone server that relays gocd information directly to slack. **It is not a gocd plugin and relies on gocd's API for communication
|
|
9
|
+
gocd-slack-server was purpose built for Fittr® to provide information from our gocd server to our slack channel. This is a standalone server that relays gocd information directly to slack. **It is not a gocd plugin and relies on gocd's API for communication**. Currently will monitor all pipelines for activity.
|
|
10
|
+
|
|
11
|
+
# What it looks like
|
|
12
|
+
|
|
13
|
+
Failing will post a random fail gif
|
|
14
|
+

|
|
15
|
+
|
|
16
|
+
Passing
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
Cancelling
|
|
20
|
+

|
|
10
21
|
|
|
11
22
|
# What's gocd?
|
|
12
23
|
[Go | Continuous Deployment](http://www.go.cd/) is a free and open source deployment server.
|
data/bin/gocdss
CHANGED
|
@@ -16,12 +16,12 @@ end
|
|
|
16
16
|
usage unless gocd_addr and slack_hook and bot_name
|
|
17
17
|
|
|
18
18
|
server = Gocdss::Server.new gocd_addr: gocd_addr, slack_hook: slack_hook, bot_name: bot_name, user_pass:user_pass
|
|
19
|
-
server.start
|
|
19
|
+
#server.start
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
require 'json'
|
|
22
|
+
events = JSON.parse(File.read "./spec/assets/cancelled_first")
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
loop do
|
|
25
|
+
server.process_event events.shift
|
|
26
|
+
break if events.empty?
|
|
27
|
+
end
|
data/cancelled.gif
ADDED
|
Binary file
|
data/fail.gif
ADDED
|
Binary file
|
data/lib/gocdss/version.rb
CHANGED
data/pass.gif
ADDED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gocd-slack-server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seo Townsend
|
|
@@ -81,11 +81,14 @@ files:
|
|
|
81
81
|
- README.md
|
|
82
82
|
- Rakefile
|
|
83
83
|
- bin/gocdss
|
|
84
|
+
- cancelled.gif
|
|
85
|
+
- fail.gif
|
|
84
86
|
- gocd-slack-server.gemspec
|
|
85
87
|
- lib/gocdss.rb
|
|
86
88
|
- lib/gocdss/server.rb
|
|
87
89
|
- lib/gocdss/version.rb
|
|
88
90
|
- logo.png
|
|
91
|
+
- pass.gif
|
|
89
92
|
- spec/assets/both_passed
|
|
90
93
|
- spec/assets/cancelled_first
|
|
91
94
|
- spec/assets/log
|