solano_notify_and_deploy 0.0.4.1 → 0.0.4.2
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 +12 -1
- data/lib/generators/solano/templates/solano.yml.erb +1 -1
- data/lib/solano_notify_and_deploy/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: d6f25f9af568a973adcf8a758342b2354dfd20f7
|
|
4
|
+
data.tar.gz: 2dd9f37674edaf3b41c8d862aa73b523345e7b7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7dd8014221924920d85e2da4008ae63b040b1e04fb79c8b94b7798e155c95e1e5153b8a2b7649d8682d43ad47a35cc1d226d544b5722d4995390789f42a13ff9
|
|
7
|
+
data.tar.gz: 66ad8d2c113e721205e75677c780d7206815870628fa10fa16db80c0ff3055dc834d28358f15b0b7f702ad757b5690918395eafbe1ff250ba49f0873698c4be9
|
data/README.md
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
solano_notify_and_deploy
|
|
2
2
|
========================
|
|
3
3
|
|
|
4
|
-
Solano labs build notifications and optional deploys of Rails applications
|
|
4
|
+
Solano labs build notifications to hipchat and optional deploys of Rails applications
|
|
5
|
+
|
|
6
|
+
Generator
|
|
7
|
+
========
|
|
8
|
+
|
|
9
|
+
The gem includes a rails generator which will create a solano.yml file
|
|
10
|
+
in the root of your rails app. It also configures a set of rake tasks (which live at lib/tasks/solano/deploy.rake).
|
|
11
|
+
|
|
12
|
+
Usage:
|
|
13
|
+
rails g solano HIPCHAT_API_KEY HIPCHAT_ROOM_ID DEPLOY_HOOK_URL
|
|
14
|
+
|
|
15
|
+
Run the generator and commit the solano.yml and rake tasks file. Solano labs will pick these up and the hooks configured in the solano.yml will trigger notifications and deploy events.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
:hooks:
|
|
3
3
|
:worker_setup: RAILS_ENV=test bundle exec rake db:test:prepare
|
|
4
|
-
:
|
|
4
|
+
:early: bundle exec rake solano:notify:build_start
|
|
5
5
|
<%- if deploy_hook_url.nil? %>
|
|
6
6
|
:post_build: bundle exec rake solano:notify:build_complete
|
|
7
7
|
<%- else %>
|