halfday 0.1.2 → 0.1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/halfday/foreman/capistrano.rb +1 -1
- data/lib/halfday/nginx/capistrano.rb +1 -1
- data/lib/halfday/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ecc91021634349848bfcd4197b439bf66ed1b28
|
4
|
+
data.tar.gz: 79a3fe8189992d97ca2d2d32e1c111701b31d32c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9c5d68260b22ac904c824d56ad7851fa8a4eb3d621e97f17f3717cc7a92767e9ba92a67931b5d97af9019f628ad143b8f96e66ed82956b7197266479d58cef6
|
7
|
+
data.tar.gz: 32149c4d8f16d7f10f08ec43b97339bc571f43b1d214f5feea2eb24ab2440ff4b898acc22cf62d606b5b5d8113b2a6e21ab750a9320c599472619acba3a3592a
|
data/README.md
CHANGED
@@ -41,6 +41,11 @@ set :default_tag, '0.2.4' # Branch or Tag
|
|
41
41
|
|
42
42
|
For now, all those recipes will be used on deployment if their Gem is included in your `Gemfile`.
|
43
43
|
|
44
|
+
You can manually skip a recipe by setting the `ignored_recipes` config variable:
|
45
|
+
```RUBY
|
46
|
+
set :ignored_recipes, [:nginx]
|
47
|
+
```
|
48
|
+
|
44
49
|
### Branch deployment
|
45
50
|
|
46
51
|
On deployment, you’ll be ask to specify the `branch` or `tag` you want to deploy. If you hit `Enter`, the `default_tag` will be used. You can also enter `HEAD` to use the branch you’re currently on.
|
@@ -21,7 +21,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
21
21
|
#
|
22
22
|
# The fix was to write the upstart script into
|
23
23
|
# a non-restricted folder and move it right after.
|
24
|
-
run "cd #{current_path} && #{bundle_cmd} exec foreman export upstart -a #{application} -u #{user} -l #{shared_path}/log/ -t #{shared_path}/templates
|
24
|
+
run "cd #{current_path} && #{bundle_cmd} exec foreman export upstart #{shared_path}/upstart -a #{application} -u #{user} -l #{shared_path}/log/ -t #{shared_path}/templates"
|
25
25
|
sudo "mv #{shared_path}/upstart/* /etc/init/"
|
26
26
|
|
27
27
|
# Cleaning up this mess
|
@@ -4,7 +4,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
4
4
|
|
5
5
|
namespace :nginx do
|
6
6
|
|
7
|
-
desc 'Add
|
7
|
+
desc 'Add nginx configuration'
|
8
8
|
task :configure, roles: :app do
|
9
9
|
if %w{ci qa staging}.include?(rails_env)
|
10
10
|
conf_path = "/etc/nginx/apps.conf.d/#{application}.conf"
|
data/lib/halfday/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: halfday
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.2
|
4
|
+
version: 0.1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Garneau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -132,4 +132,3 @@ signing_key:
|
|
132
132
|
specification_version: 4
|
133
133
|
summary: Collection of Capistrano recipes - Deploy. Then, take a halfday.
|
134
134
|
test_files: []
|
135
|
-
has_rdoc:
|