egads 3.1.2 → 3.2.0
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/README.md +6 -0
- data/egads.gemspec +1 -0
- data/lib/egads/capistrano.rb +5 -1
- data/lib/egads/command/build.rb +3 -0
- data/lib/egads/version.rb +1 -1
- metadata +4 -3
data/README.md
CHANGED
@@ -56,3 +56,9 @@ The deploy process is:
|
|
56
56
|
* Run `egads build` from a server with a full git checkout (e.g. your local machine). This ensures there's a tarball for the remote servers to download.
|
57
57
|
* Run `egads stage SHA` on all the remote servers to download, extract, and configure the SHA for release.
|
58
58
|
* Run `egads release SHA` on all the remote servers to symlink the staged SHA to 'current', and restart services.
|
59
|
+
|
60
|
+
## License
|
61
|
+
|
62
|
+
Copyright (c) 2013 Kickstarter, Inc
|
63
|
+
|
64
|
+
Released under an [MIT License](http://opensource.org/licenses/MIT)
|
data/egads.gemspec
CHANGED
@@ -8,6 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.homepage = "https://github.com/kickstarter/egads"
|
9
9
|
s.email = ["aaron@ktheory.com"]
|
10
10
|
s.authors = ["Aaron Suggs"]
|
11
|
+
s.license = 'MIT'
|
11
12
|
|
12
13
|
s.files = `git ls-files`.split($/)
|
13
14
|
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
data/lib/egads/capistrano.rb
CHANGED
@@ -34,7 +34,11 @@ Capistrano::Configuration.instance.load do
|
|
34
34
|
desc "Builds a deployable tarball and uploads it to S3"
|
35
35
|
task :build do
|
36
36
|
logger.info "Building tarball for #{full_sha}"
|
37
|
-
|
37
|
+
# Use fork/exec for more obvious output
|
38
|
+
pid = fork do
|
39
|
+
exec "bundle exec egads build #{full_sha}"
|
40
|
+
end
|
41
|
+
Process.waitpid(pid)
|
38
42
|
abort "Failed to build" if $?.exitstatus != 0
|
39
43
|
end
|
40
44
|
|
data/lib/egads/command/build.rb
CHANGED
@@ -32,6 +32,9 @@ module Egads
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def commit_extra_paths
|
35
|
+
# Double-check that SHA hasn't changed since we started building
|
36
|
+
exit 1 unless sha_is_checked_out?
|
37
|
+
|
35
38
|
extra_paths = ["REVISION"]
|
36
39
|
extra_paths += Config.build_extra_paths
|
37
40
|
run_with_code("git add -f #{extra_paths * ' '} && git commit --no-verify -m '[egads seed] [ci skip]'")
|
data/lib/egads/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: egads
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fog
|
@@ -104,7 +104,8 @@ files:
|
|
104
104
|
- spec/egads_upload_spec.rb
|
105
105
|
- spec/spec_helper.rb
|
106
106
|
homepage: https://github.com/kickstarter/egads
|
107
|
-
licenses:
|
107
|
+
licenses:
|
108
|
+
- MIT
|
108
109
|
post_install_message:
|
109
110
|
rdoc_options:
|
110
111
|
- --charset=UTF-8
|