fezzik 0.1.3 → 0.1.4
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.
- data/TODO.md +13 -0
- data/bin/fezify +3 -2
- data/fezzik.gemspec +1 -1
- data/lib/fezzik.rb +5 -1
- metadata +4 -4
data/TODO.md
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
|
+
## Features
|
|
2
|
+
* rollback
|
|
3
|
+
* rolling restarts
|
|
4
|
+
* parallel execution
|
|
5
|
+
* clear old releases
|
|
1
6
|
* better way to update recipes/core with gem updates
|
|
2
7
|
* figure out how to include/share common recipes
|
|
8
|
+
* per-server or per-group configurations
|
|
9
|
+
|
|
10
|
+
## Bugs
|
|
11
|
+
* symlink task links to a nonexistant directory when run in isolation
|
|
12
|
+
|
|
13
|
+
## Release Notes
|
|
14
|
+
* copy previous deployment to destination before rsync (for faster rsync)
|
|
15
|
+
* copy unsafe links with rsync (done with -L)
|
data/bin/fezify
CHANGED
|
@@ -78,8 +78,9 @@ namespace :fezzik do
|
|
|
78
78
|
|
|
79
79
|
desc "rsyncs the project from its stages location to each destination server"
|
|
80
80
|
remote_task :push => [:stage, :setup] do
|
|
81
|
-
puts "pushing to #\{target_host\}"
|
|
82
|
-
|
|
81
|
+
puts "pushing to #\{target_host\}:#\{release_path\}"
|
|
82
|
+
# Copy on top of previous release to optimize rsync
|
|
83
|
+
rsync "-q", "--copy-dest=#\{current_path\}", "/tmp/#\{app\}/", "#\{target_host\}:#\{release_path\}"
|
|
83
84
|
end
|
|
84
85
|
|
|
85
86
|
desc "symlinks the latest deployment to /deploy_path/project/current"
|
data/fezzik.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "fezzik"
|
|
3
|
-
s.version = "0.1.
|
|
3
|
+
s.version = "0.1.4"
|
|
4
4
|
|
|
5
5
|
s.required_rubygems_version = Gem::Requirement.new(">=0") if s.respond_to? :required_rubygems_version=
|
|
6
6
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
data/lib/fezzik.rb
CHANGED
|
@@ -13,17 +13,21 @@ namespace :fezzik do
|
|
|
13
13
|
Rake::Task["fezzik:#{task}"].invoke
|
|
14
14
|
end
|
|
15
15
|
puts "[success]".green
|
|
16
|
+
rescue SystemExit => e
|
|
17
|
+
puts "[fail]".red
|
|
18
|
+
exit 1
|
|
16
19
|
rescue Exception => e
|
|
17
20
|
puts e.message
|
|
18
21
|
puts e.backtrace
|
|
19
22
|
puts "[fail]".red
|
|
23
|
+
fail
|
|
20
24
|
end
|
|
21
25
|
end
|
|
22
26
|
|
|
23
27
|
task :load_config, :destination do |t, args|
|
|
24
28
|
@destination = args[:destination].to_sym
|
|
25
29
|
@environment = {}
|
|
26
|
-
require "config/deploy.rb"
|
|
30
|
+
require "./config/deploy.rb"
|
|
27
31
|
puts "configuring for #{domain}"
|
|
28
32
|
end
|
|
29
33
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fezzik
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.1.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Daniel MacDougall
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-05-08 00:00:00 -07:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|