alpha_omega 0.0.88 → 0.0.89
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/alpha_omega/version.rb +1 -1
- data/libexec/build +13 -13
- data/libexec/check +13 -13
- data/libexec/compare +13 -13
- data/libexec/config +13 -13
- data/libexec/deploy +13 -13
- data/libexec/dist +13 -13
- data/libexec/dna +13 -13
- data/libexec/hosts +13 -13
- data/libexec/invoke +13 -13
- data/libexec/release +13 -13
- data/libexec/restart +13 -13
- data/libexec/rollback +13 -13
- data/libexec/shell +13 -13
- data/libexec/stage +13 -13
- metadata +3 -3
data/lib/alpha_omega/version.rb
CHANGED
data/libexec/build
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/check
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/compare
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/config
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/deploy
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/dist
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/dna
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/hosts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/invoke
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/release
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/restart
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/rollback
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/shell
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
data/libexec/stage
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
3
|
hst_this=$(hostname -s)
|
4
|
-
if ! echo "$hst_this" | egrep "^(admin|develop)"; then
|
4
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
5
5
|
# ssh into deploy host and run from there
|
6
6
|
exec bin/proxy $(basename $0) "$@"
|
7
7
|
exit 1
|
@@ -9,47 +9,47 @@ fi
|
|
9
9
|
|
10
10
|
case "$(basename $0)" in
|
11
11
|
deploy|release)
|
12
|
-
bundle exec cap
|
12
|
+
bundle exec cap "$@" deploy
|
13
13
|
;;
|
14
14
|
|
15
15
|
rollback)
|
16
|
-
bundle exec cap
|
16
|
+
bundle exec cap "$@" deploy:rollback
|
17
17
|
;;
|
18
18
|
|
19
19
|
stage)
|
20
|
-
bundle exec cap
|
20
|
+
bundle exec cap "$@" deploy:update_code
|
21
21
|
;;
|
22
22
|
|
23
23
|
compare)
|
24
|
-
bundle exec cap
|
24
|
+
bundle exec cap "$@" deploy:compare
|
25
25
|
;;
|
26
26
|
|
27
27
|
restart)
|
28
|
-
bundle exec cap
|
28
|
+
bundle exec cap "$@" deploy:restart
|
29
29
|
;;
|
30
30
|
|
31
31
|
restart)
|
32
|
-
bundle exec cap
|
32
|
+
bundle exec cap "$@" deploy:restart
|
33
33
|
;;
|
34
34
|
|
35
35
|
build)
|
36
|
-
bundle exec cap
|
36
|
+
bundle exec cap "$@" deploy:build
|
37
37
|
;;
|
38
38
|
|
39
39
|
dist)
|
40
|
-
bundle exec cap
|
40
|
+
bundle exec cap "$@" deploy:dist
|
41
41
|
;;
|
42
42
|
|
43
43
|
config)
|
44
|
-
bundle exec cap
|
44
|
+
bundle exec cap "$@" deploy:config
|
45
45
|
;;
|
46
46
|
|
47
47
|
invoke)
|
48
|
-
bundle exec cap
|
48
|
+
bundle exec cap "$@" invoke
|
49
49
|
;;
|
50
50
|
|
51
51
|
shell)
|
52
|
-
bundle exec cap
|
52
|
+
bundle exec cap "$@" shell
|
53
53
|
;;
|
54
54
|
|
55
55
|
hosts)
|
@@ -69,7 +69,7 @@ case "$(basename $0)" in
|
|
69
69
|
;;
|
70
70
|
|
71
71
|
*)
|
72
|
-
bundle exec cap
|
72
|
+
bundle exec cap "$@"
|
73
73
|
;;
|
74
74
|
esac
|
75
75
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alpha_omega
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 173
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 89
|
10
|
+
version: 0.0.89
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Nghiem
|