egads 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/README.md +12 -3
- data/lib/egads/capistrano.rb +14 -2
- data/lib/egads/group.rb +1 -1
- data/lib/egads/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61fac32895a105c657404ff207cbe5ebb38338c6
|
4
|
+
data.tar.gz: 70b3bf16af029e6a1835f35adbf5b7f9e7badc57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c957b0697bd21b61a58c1bca96c6729044d769a0ec25a82b803879cadf05b72338a3c523a4fc95f3b5f41ac0053b52d96df657a0bf0e605b8e1dcb6ba156461
|
7
|
+
data.tar.gz: f1ee0b9505342fdc96e8995b7df3fefbd9cd82b336d8e4264e010cc8d0fb5d192a6b613dd7bfcafd65bde0d4acb122eda1673ce10f3b9425a6d455777b4fe392
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,8 +1,17 @@
|
|
1
|
-
# egads
|
1
|
+
# egads!!!
|
2
|
+
# *Extensible Git-Archive Deploy Strategy*
|
2
3
|
|
3
|
-
|
4
|
+
egads is a set of commands for deploying applications without depending on a git
|
5
|
+
server.
|
4
6
|
|
5
|
-
|
7
|
+
[![Build
|
8
|
+
Status](https://travis-ci.org/kickstarter/egads.png)](https://travis-ci.org/kickstarter/egads)
|
9
|
+
[![Code
|
10
|
+
Climate](https://d3s6mut3hikguw.cloudfront.net/github/kickstarter/egads.png)](https://codeclimate.com/github/kickstarter/egads)
|
11
|
+
|
12
|
+
## Install
|
13
|
+
|
14
|
+
Put `egads` in your Gemfile:
|
6
15
|
|
7
16
|
# In Gemfile
|
8
17
|
gem 'egads', require: nil
|
data/lib/egads/capistrano.rb
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# Capistrano configuration.
|
2
2
|
# Use `load 'egads/capistrano'` instead of `load 'deploy'` in your Capfile
|
3
|
+
# Requires "full_sha" to be set
|
3
4
|
Capistrano::Configuration.instance.load do
|
5
|
+
|
6
|
+
# Allow overriding egads options (e.g. --force)
|
7
|
+
set :egads_options, ''
|
8
|
+
|
4
9
|
namespace :deploy do
|
5
10
|
desc "Deploy"
|
6
11
|
task :default do
|
@@ -9,14 +14,21 @@ Capistrano::Configuration.instance.load do
|
|
9
14
|
deploy.release
|
10
15
|
end
|
11
16
|
|
17
|
+
desc "Deploy and run migrations"
|
18
|
+
task :migrations do
|
19
|
+
Capistrano::CLI.ui.ask("Are you sure you want to run migrations? Press enter to continue or ctrl+c to abort")
|
20
|
+
set :default_environment, {'MIGRATE' => '1'}
|
21
|
+
deploy.default
|
22
|
+
end
|
23
|
+
|
12
24
|
desc "Prepares for release by bundling gems, symlinking shared files, etc"
|
13
25
|
task :stage do
|
14
|
-
run "egads stage #{
|
26
|
+
run "egads stage #{egads_options } #{full_sha}"
|
15
27
|
end
|
16
28
|
|
17
29
|
desc "Runs the release script to symlink a staged deploy and restarts services"
|
18
30
|
task :release do
|
19
|
-
run "egads release #{
|
31
|
+
run "egads release #{egads_options} #{full_sha}"
|
20
32
|
end
|
21
33
|
|
22
34
|
desc "Checks that a deployable tarball is on S3; creates it if missing"
|
data/lib/egads/group.rb
CHANGED
data/lib/egads/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: egads
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Suggs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|
@@ -79,6 +79,7 @@ extra_rdoc_files:
|
|
79
79
|
- README.md
|
80
80
|
files:
|
81
81
|
- .gitignore
|
82
|
+
- .travis.yml
|
82
83
|
- Gemfile
|
83
84
|
- Guardfile
|
84
85
|
- README.md
|