herkko 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01c3a8fc86ab88ca5ddcfb57c0c3054aebc1dab3
4
- data.tar.gz: 98a788feb54f55f43070c910d7f1a0f5b5034edb
3
+ metadata.gz: 55379eb788c762bb92ae2b87bbbc5b92c44b7a69
4
+ data.tar.gz: afbbe5eb440cfe8d418eef5716b0743ba9062ebc
5
5
  SHA512:
6
- metadata.gz: 750f06e0e98cae1cde42647918c7f8fb7ab5bf0a76d2035b80053cb8096d79cb5bc69a86f3f808859aee96ab306fcf8654e13cbf7cd05faf328df1b0ee5c5877
7
- data.tar.gz: 72ae298d8537be961c7de17981ed497f62b3cfd7dfe4429355e9a09285ebdd1a72ffd02795924dbbb3a3425dc729090db8647a045f602f710f1035781e96d653
6
+ metadata.gz: 92ce837d4af5119c2c7122341bbdc619849950527d7d9811511a25ca42894c7787ba2430babbb968dfc4e379224915f44f53c9cb809847f1c611ec677228a370
7
+ data.tar.gz: 9d9167c2f33ea9b550ef90a0d482945f2688c337b11a68efcd124cc0271eeca49b82e9f457ab4d6be35672267463b1cafb5d3eb97191a6edb3c852107dc750b8
data/README.md CHANGED
@@ -14,9 +14,15 @@ Herkko uses the git remote names to identify the applications. Usually you have
14
14
 
15
15
  TODO: How to setup project for Herkko
16
16
 
17
+ To deploy current branch to production:
18
+
19
+ $ herkko production deploy
20
+
21
+ Running the command will check Travis CI, deploy if the build is green and runs the migrations after the deployment if commits with migrations were deployed.
22
+
17
23
  ## Commands
18
24
 
19
- deploy
25
+ ### deploy
20
26
 
21
27
  You can add a file in `doc/after_deployment.{md, txt, rdoc, whatever}` and it
22
28
  will be printed after a succesful deployment. It can have for example a
@@ -26,6 +32,10 @@ checklist like:
26
32
  * Stay alert for a while for exceptions.
27
33
  * Inform the client if it is needed (Basecamp, email, SMS...)
28
34
 
35
+ ### console
36
+
37
+ Open rails console for the application.
38
+
29
39
  ## Contributing
30
40
 
31
41
  1. Fork it ( https://github.com/vesan/herkko/fork )
data/lib/herkko/runner.rb CHANGED
@@ -74,6 +74,8 @@ module Herkko
74
74
  deploy!
75
75
  elsif ci_state == :yellow
76
76
  Herkko.info "CI is running. Wait a while."
77
+ elsif ci_state == :queued
78
+ Herkko.info "Build is queued in CI. Wait a while."
77
79
  elsif ci_state == :red
78
80
  Herkko.info "CI is red. Not deploying."
79
81
  else
data/lib/herkko/travis.rb CHANGED
@@ -17,6 +17,8 @@ module Herkko
17
17
  :green
18
18
  when /started/
19
19
  :yellow
20
+ when /created/
21
+ :queued
20
22
  else
21
23
  :red
22
24
  end
@@ -1,3 +1,3 @@
1
1
  module Herkko
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: herkko
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vesa Vänskä
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-23 00:00:00.000000000 Z
11
+ date: 2017-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.2.2
83
+ rubygems_version: 2.6.8
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: Herkko is a deployment tool for Heroku.