alpha_omega 0.0.95 → 0.0.96
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/alpha_omega/utils.rb +15 -15
- data/lib/alpha_omega/version.rb +1 -1
- data/libexec/build +50 -46
- data/libexec/check +50 -46
- data/libexec/compare +50 -46
- data/libexec/config +50 -46
- data/libexec/deploy +50 -46
- data/libexec/dist +50 -46
- data/libexec/dna +50 -46
- data/libexec/hosts +50 -46
- data/libexec/invoke +50 -46
- data/libexec/release +50 -46
- data/libexec/restart +50 -46
- data/libexec/rollback +50 -46
- data/libexec/shell +50 -46
- data/libexec/stage +50 -46
- metadata +25 -23
data/libexec/deploy
CHANGED
@@ -11,50 +11,6 @@ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
|
11
11
|
fi
|
12
12
|
|
13
13
|
case "$(basename $0)" in
|
14
|
-
deploy|release)
|
15
|
-
bundle exec cap "$@" deploy
|
16
|
-
;;
|
17
|
-
|
18
|
-
rollback)
|
19
|
-
bundle exec cap "$@" deploy:rollback
|
20
|
-
;;
|
21
|
-
|
22
|
-
stage)
|
23
|
-
bundle exec cap "$@" deploy:update_code
|
24
|
-
;;
|
25
|
-
|
26
|
-
compare)
|
27
|
-
bundle exec cap "$@" deploy:compare
|
28
|
-
;;
|
29
|
-
|
30
|
-
restart)
|
31
|
-
bundle exec cap "$@" deploy:restart
|
32
|
-
;;
|
33
|
-
|
34
|
-
restart)
|
35
|
-
bundle exec cap "$@" deploy:restart
|
36
|
-
;;
|
37
|
-
|
38
|
-
build)
|
39
|
-
bundle exec cap "$@" deploy:build
|
40
|
-
;;
|
41
|
-
|
42
|
-
dist)
|
43
|
-
bundle exec cap "$@" deploy:dist
|
44
|
-
;;
|
45
|
-
|
46
|
-
config)
|
47
|
-
bundle exec cap "$@" deploy:config
|
48
|
-
;;
|
49
|
-
|
50
|
-
invoke)
|
51
|
-
bundle exec cap "$@" invoke
|
52
|
-
;;
|
53
|
-
|
54
|
-
shell)
|
55
|
-
bundle exec cap "$@" shell
|
56
|
-
;;
|
57
|
-
|
58
14
|
hosts)
|
59
15
|
export LOCAL_ONLY=true
|
60
16
|
|
@@ -72,7 +28,55 @@ case "$(basename $0)" in
|
|
72
28
|
;;
|
73
29
|
|
74
30
|
*)
|
75
|
-
|
76
|
-
|
31
|
+
set $(for a in "$@"; do echo $a.app; done)
|
32
|
+
case "$(basename $0)" in
|
33
|
+
deploy|release)
|
34
|
+
bundle exec cap "$@" deploy
|
35
|
+
;;
|
36
|
+
|
37
|
+
rollback)
|
38
|
+
bundle exec cap "$@" deploy:rollback
|
39
|
+
;;
|
40
|
+
|
41
|
+
stage)
|
42
|
+
bundle exec cap "$@" deploy:update_code
|
43
|
+
;;
|
44
|
+
|
45
|
+
compare)
|
46
|
+
bundle exec cap "$@" deploy:compare
|
47
|
+
;;
|
48
|
+
|
49
|
+
restart)
|
50
|
+
bundle exec cap "$@" deploy:restart
|
51
|
+
;;
|
52
|
+
|
53
|
+
restart)
|
54
|
+
bundle exec cap "$@" deploy:restart
|
55
|
+
;;
|
56
|
+
|
57
|
+
build)
|
58
|
+
bundle exec cap "$@" deploy:build
|
59
|
+
;;
|
60
|
+
|
61
|
+
dist)
|
62
|
+
bundle exec cap "$@" deploy:dist
|
63
|
+
;;
|
64
|
+
|
65
|
+
config)
|
66
|
+
bundle exec cap "$@" deploy:config
|
67
|
+
;;
|
68
|
+
|
69
|
+
invoke)
|
70
|
+
bundle exec cap "$@" invoke
|
71
|
+
;;
|
72
|
+
|
73
|
+
shell)
|
74
|
+
bundle exec cap "$@" shell
|
75
|
+
;;
|
76
|
+
|
77
|
+
*)
|
78
|
+
bundle exec cap "$@"
|
79
|
+
;;
|
80
|
+
esac
|
77
81
|
esac
|
78
82
|
|
data/libexec/dist
CHANGED
@@ -11,50 +11,6 @@ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
|
11
11
|
fi
|
12
12
|
|
13
13
|
case "$(basename $0)" in
|
14
|
-
deploy|release)
|
15
|
-
bundle exec cap "$@" deploy
|
16
|
-
;;
|
17
|
-
|
18
|
-
rollback)
|
19
|
-
bundle exec cap "$@" deploy:rollback
|
20
|
-
;;
|
21
|
-
|
22
|
-
stage)
|
23
|
-
bundle exec cap "$@" deploy:update_code
|
24
|
-
;;
|
25
|
-
|
26
|
-
compare)
|
27
|
-
bundle exec cap "$@" deploy:compare
|
28
|
-
;;
|
29
|
-
|
30
|
-
restart)
|
31
|
-
bundle exec cap "$@" deploy:restart
|
32
|
-
;;
|
33
|
-
|
34
|
-
restart)
|
35
|
-
bundle exec cap "$@" deploy:restart
|
36
|
-
;;
|
37
|
-
|
38
|
-
build)
|
39
|
-
bundle exec cap "$@" deploy:build
|
40
|
-
;;
|
41
|
-
|
42
|
-
dist)
|
43
|
-
bundle exec cap "$@" deploy:dist
|
44
|
-
;;
|
45
|
-
|
46
|
-
config)
|
47
|
-
bundle exec cap "$@" deploy:config
|
48
|
-
;;
|
49
|
-
|
50
|
-
invoke)
|
51
|
-
bundle exec cap "$@" invoke
|
52
|
-
;;
|
53
|
-
|
54
|
-
shell)
|
55
|
-
bundle exec cap "$@" shell
|
56
|
-
;;
|
57
|
-
|
58
14
|
hosts)
|
59
15
|
export LOCAL_ONLY=true
|
60
16
|
|
@@ -72,7 +28,55 @@ case "$(basename $0)" in
|
|
72
28
|
;;
|
73
29
|
|
74
30
|
*)
|
75
|
-
|
76
|
-
|
31
|
+
set $(for a in "$@"; do echo $a.app; done)
|
32
|
+
case "$(basename $0)" in
|
33
|
+
deploy|release)
|
34
|
+
bundle exec cap "$@" deploy
|
35
|
+
;;
|
36
|
+
|
37
|
+
rollback)
|
38
|
+
bundle exec cap "$@" deploy:rollback
|
39
|
+
;;
|
40
|
+
|
41
|
+
stage)
|
42
|
+
bundle exec cap "$@" deploy:update_code
|
43
|
+
;;
|
44
|
+
|
45
|
+
compare)
|
46
|
+
bundle exec cap "$@" deploy:compare
|
47
|
+
;;
|
48
|
+
|
49
|
+
restart)
|
50
|
+
bundle exec cap "$@" deploy:restart
|
51
|
+
;;
|
52
|
+
|
53
|
+
restart)
|
54
|
+
bundle exec cap "$@" deploy:restart
|
55
|
+
;;
|
56
|
+
|
57
|
+
build)
|
58
|
+
bundle exec cap "$@" deploy:build
|
59
|
+
;;
|
60
|
+
|
61
|
+
dist)
|
62
|
+
bundle exec cap "$@" deploy:dist
|
63
|
+
;;
|
64
|
+
|
65
|
+
config)
|
66
|
+
bundle exec cap "$@" deploy:config
|
67
|
+
;;
|
68
|
+
|
69
|
+
invoke)
|
70
|
+
bundle exec cap "$@" invoke
|
71
|
+
;;
|
72
|
+
|
73
|
+
shell)
|
74
|
+
bundle exec cap "$@" shell
|
75
|
+
;;
|
76
|
+
|
77
|
+
*)
|
78
|
+
bundle exec cap "$@"
|
79
|
+
;;
|
80
|
+
esac
|
77
81
|
esac
|
78
82
|
|
data/libexec/dna
CHANGED
@@ -11,50 +11,6 @@ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
|
11
11
|
fi
|
12
12
|
|
13
13
|
case "$(basename $0)" in
|
14
|
-
deploy|release)
|
15
|
-
bundle exec cap "$@" deploy
|
16
|
-
;;
|
17
|
-
|
18
|
-
rollback)
|
19
|
-
bundle exec cap "$@" deploy:rollback
|
20
|
-
;;
|
21
|
-
|
22
|
-
stage)
|
23
|
-
bundle exec cap "$@" deploy:update_code
|
24
|
-
;;
|
25
|
-
|
26
|
-
compare)
|
27
|
-
bundle exec cap "$@" deploy:compare
|
28
|
-
;;
|
29
|
-
|
30
|
-
restart)
|
31
|
-
bundle exec cap "$@" deploy:restart
|
32
|
-
;;
|
33
|
-
|
34
|
-
restart)
|
35
|
-
bundle exec cap "$@" deploy:restart
|
36
|
-
;;
|
37
|
-
|
38
|
-
build)
|
39
|
-
bundle exec cap "$@" deploy:build
|
40
|
-
;;
|
41
|
-
|
42
|
-
dist)
|
43
|
-
bundle exec cap "$@" deploy:dist
|
44
|
-
;;
|
45
|
-
|
46
|
-
config)
|
47
|
-
bundle exec cap "$@" deploy:config
|
48
|
-
;;
|
49
|
-
|
50
|
-
invoke)
|
51
|
-
bundle exec cap "$@" invoke
|
52
|
-
;;
|
53
|
-
|
54
|
-
shell)
|
55
|
-
bundle exec cap "$@" shell
|
56
|
-
;;
|
57
|
-
|
58
14
|
hosts)
|
59
15
|
export LOCAL_ONLY=true
|
60
16
|
|
@@ -72,7 +28,55 @@ case "$(basename $0)" in
|
|
72
28
|
;;
|
73
29
|
|
74
30
|
*)
|
75
|
-
|
76
|
-
|
31
|
+
set $(for a in "$@"; do echo $a.app; done)
|
32
|
+
case "$(basename $0)" in
|
33
|
+
deploy|release)
|
34
|
+
bundle exec cap "$@" deploy
|
35
|
+
;;
|
36
|
+
|
37
|
+
rollback)
|
38
|
+
bundle exec cap "$@" deploy:rollback
|
39
|
+
;;
|
40
|
+
|
41
|
+
stage)
|
42
|
+
bundle exec cap "$@" deploy:update_code
|
43
|
+
;;
|
44
|
+
|
45
|
+
compare)
|
46
|
+
bundle exec cap "$@" deploy:compare
|
47
|
+
;;
|
48
|
+
|
49
|
+
restart)
|
50
|
+
bundle exec cap "$@" deploy:restart
|
51
|
+
;;
|
52
|
+
|
53
|
+
restart)
|
54
|
+
bundle exec cap "$@" deploy:restart
|
55
|
+
;;
|
56
|
+
|
57
|
+
build)
|
58
|
+
bundle exec cap "$@" deploy:build
|
59
|
+
;;
|
60
|
+
|
61
|
+
dist)
|
62
|
+
bundle exec cap "$@" deploy:dist
|
63
|
+
;;
|
64
|
+
|
65
|
+
config)
|
66
|
+
bundle exec cap "$@" deploy:config
|
67
|
+
;;
|
68
|
+
|
69
|
+
invoke)
|
70
|
+
bundle exec cap "$@" invoke
|
71
|
+
;;
|
72
|
+
|
73
|
+
shell)
|
74
|
+
bundle exec cap "$@" shell
|
75
|
+
;;
|
76
|
+
|
77
|
+
*)
|
78
|
+
bundle exec cap "$@"
|
79
|
+
;;
|
80
|
+
esac
|
77
81
|
esac
|
78
82
|
|
data/libexec/hosts
CHANGED
@@ -11,50 +11,6 @@ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
|
11
11
|
fi
|
12
12
|
|
13
13
|
case "$(basename $0)" in
|
14
|
-
deploy|release)
|
15
|
-
bundle exec cap "$@" deploy
|
16
|
-
;;
|
17
|
-
|
18
|
-
rollback)
|
19
|
-
bundle exec cap "$@" deploy:rollback
|
20
|
-
;;
|
21
|
-
|
22
|
-
stage)
|
23
|
-
bundle exec cap "$@" deploy:update_code
|
24
|
-
;;
|
25
|
-
|
26
|
-
compare)
|
27
|
-
bundle exec cap "$@" deploy:compare
|
28
|
-
;;
|
29
|
-
|
30
|
-
restart)
|
31
|
-
bundle exec cap "$@" deploy:restart
|
32
|
-
;;
|
33
|
-
|
34
|
-
restart)
|
35
|
-
bundle exec cap "$@" deploy:restart
|
36
|
-
;;
|
37
|
-
|
38
|
-
build)
|
39
|
-
bundle exec cap "$@" deploy:build
|
40
|
-
;;
|
41
|
-
|
42
|
-
dist)
|
43
|
-
bundle exec cap "$@" deploy:dist
|
44
|
-
;;
|
45
|
-
|
46
|
-
config)
|
47
|
-
bundle exec cap "$@" deploy:config
|
48
|
-
;;
|
49
|
-
|
50
|
-
invoke)
|
51
|
-
bundle exec cap "$@" invoke
|
52
|
-
;;
|
53
|
-
|
54
|
-
shell)
|
55
|
-
bundle exec cap "$@" shell
|
56
|
-
;;
|
57
|
-
|
58
14
|
hosts)
|
59
15
|
export LOCAL_ONLY=true
|
60
16
|
|
@@ -72,7 +28,55 @@ case "$(basename $0)" in
|
|
72
28
|
;;
|
73
29
|
|
74
30
|
*)
|
75
|
-
|
76
|
-
|
31
|
+
set $(for a in "$@"; do echo $a.app; done)
|
32
|
+
case "$(basename $0)" in
|
33
|
+
deploy|release)
|
34
|
+
bundle exec cap "$@" deploy
|
35
|
+
;;
|
36
|
+
|
37
|
+
rollback)
|
38
|
+
bundle exec cap "$@" deploy:rollback
|
39
|
+
;;
|
40
|
+
|
41
|
+
stage)
|
42
|
+
bundle exec cap "$@" deploy:update_code
|
43
|
+
;;
|
44
|
+
|
45
|
+
compare)
|
46
|
+
bundle exec cap "$@" deploy:compare
|
47
|
+
;;
|
48
|
+
|
49
|
+
restart)
|
50
|
+
bundle exec cap "$@" deploy:restart
|
51
|
+
;;
|
52
|
+
|
53
|
+
restart)
|
54
|
+
bundle exec cap "$@" deploy:restart
|
55
|
+
;;
|
56
|
+
|
57
|
+
build)
|
58
|
+
bundle exec cap "$@" deploy:build
|
59
|
+
;;
|
60
|
+
|
61
|
+
dist)
|
62
|
+
bundle exec cap "$@" deploy:dist
|
63
|
+
;;
|
64
|
+
|
65
|
+
config)
|
66
|
+
bundle exec cap "$@" deploy:config
|
67
|
+
;;
|
68
|
+
|
69
|
+
invoke)
|
70
|
+
bundle exec cap "$@" invoke
|
71
|
+
;;
|
72
|
+
|
73
|
+
shell)
|
74
|
+
bundle exec cap "$@" shell
|
75
|
+
;;
|
76
|
+
|
77
|
+
*)
|
78
|
+
bundle exec cap "$@"
|
79
|
+
;;
|
80
|
+
esac
|
77
81
|
esac
|
78
82
|
|
data/libexec/invoke
CHANGED
@@ -11,50 +11,6 @@ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
|
11
11
|
fi
|
12
12
|
|
13
13
|
case "$(basename $0)" in
|
14
|
-
deploy|release)
|
15
|
-
bundle exec cap "$@" deploy
|
16
|
-
;;
|
17
|
-
|
18
|
-
rollback)
|
19
|
-
bundle exec cap "$@" deploy:rollback
|
20
|
-
;;
|
21
|
-
|
22
|
-
stage)
|
23
|
-
bundle exec cap "$@" deploy:update_code
|
24
|
-
;;
|
25
|
-
|
26
|
-
compare)
|
27
|
-
bundle exec cap "$@" deploy:compare
|
28
|
-
;;
|
29
|
-
|
30
|
-
restart)
|
31
|
-
bundle exec cap "$@" deploy:restart
|
32
|
-
;;
|
33
|
-
|
34
|
-
restart)
|
35
|
-
bundle exec cap "$@" deploy:restart
|
36
|
-
;;
|
37
|
-
|
38
|
-
build)
|
39
|
-
bundle exec cap "$@" deploy:build
|
40
|
-
;;
|
41
|
-
|
42
|
-
dist)
|
43
|
-
bundle exec cap "$@" deploy:dist
|
44
|
-
;;
|
45
|
-
|
46
|
-
config)
|
47
|
-
bundle exec cap "$@" deploy:config
|
48
|
-
;;
|
49
|
-
|
50
|
-
invoke)
|
51
|
-
bundle exec cap "$@" invoke
|
52
|
-
;;
|
53
|
-
|
54
|
-
shell)
|
55
|
-
bundle exec cap "$@" shell
|
56
|
-
;;
|
57
|
-
|
58
14
|
hosts)
|
59
15
|
export LOCAL_ONLY=true
|
60
16
|
|
@@ -72,7 +28,55 @@ case "$(basename $0)" in
|
|
72
28
|
;;
|
73
29
|
|
74
30
|
*)
|
75
|
-
|
76
|
-
|
31
|
+
set $(for a in "$@"; do echo $a.app; done)
|
32
|
+
case "$(basename $0)" in
|
33
|
+
deploy|release)
|
34
|
+
bundle exec cap "$@" deploy
|
35
|
+
;;
|
36
|
+
|
37
|
+
rollback)
|
38
|
+
bundle exec cap "$@" deploy:rollback
|
39
|
+
;;
|
40
|
+
|
41
|
+
stage)
|
42
|
+
bundle exec cap "$@" deploy:update_code
|
43
|
+
;;
|
44
|
+
|
45
|
+
compare)
|
46
|
+
bundle exec cap "$@" deploy:compare
|
47
|
+
;;
|
48
|
+
|
49
|
+
restart)
|
50
|
+
bundle exec cap "$@" deploy:restart
|
51
|
+
;;
|
52
|
+
|
53
|
+
restart)
|
54
|
+
bundle exec cap "$@" deploy:restart
|
55
|
+
;;
|
56
|
+
|
57
|
+
build)
|
58
|
+
bundle exec cap "$@" deploy:build
|
59
|
+
;;
|
60
|
+
|
61
|
+
dist)
|
62
|
+
bundle exec cap "$@" deploy:dist
|
63
|
+
;;
|
64
|
+
|
65
|
+
config)
|
66
|
+
bundle exec cap "$@" deploy:config
|
67
|
+
;;
|
68
|
+
|
69
|
+
invoke)
|
70
|
+
bundle exec cap "$@" invoke
|
71
|
+
;;
|
72
|
+
|
73
|
+
shell)
|
74
|
+
bundle exec cap "$@" shell
|
75
|
+
;;
|
76
|
+
|
77
|
+
*)
|
78
|
+
bundle exec cap "$@"
|
79
|
+
;;
|
80
|
+
esac
|
77
81
|
esac
|
78
82
|
|