alpha_omega 0.0.141 → 0.0.142
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/VERSION +1 -1
- data/libexec/activate +35 -24
- data/libexec/build +35 -24
- data/libexec/bump +35 -24
- data/libexec/check +35 -24
- data/libexec/compare +35 -24
- data/libexec/config +35 -24
- data/libexec/debug +35 -24
- data/libexec/deploy +35 -24
- data/libexec/dist +35 -24
- data/libexec/dna +35 -24
- data/libexec/hosts +35 -24
- data/libexec/invoke +35 -24
- data/libexec/lock +35 -24
- data/libexec/migrate +203 -0
- data/libexec/plan +35 -24
- data/libexec/release +35 -24
- data/libexec/restart +35 -24
- data/libexec/rollback +35 -24
- data/libexec/shell +35 -24
- data/libexec/stage +35 -24
- data/libexec/unlock +35 -24
- metadata +4 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.142
|
data/libexec/activate
CHANGED
@@ -1,14 +1,21 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
case "$(basename $0)" in
|
4
|
+
bump)
|
5
|
+
true
|
6
|
+
;;
|
7
|
+
*)
|
8
|
+
hst_this=$(hostname -s)
|
9
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
10
|
+
# unless the .ao_no_proxy file exists
|
11
|
+
if [[ ! -f ".ao_no_proxy" ]]; then
|
12
|
+
# ssh into deploy host and run from there
|
13
|
+
exec bin/proxy $(basename $0) "$@"
|
14
|
+
exit 1
|
15
|
+
fi
|
16
|
+
fi
|
17
|
+
;;
|
18
|
+
esac
|
12
19
|
|
13
20
|
export LOCAL_ONLY=true
|
14
21
|
|
@@ -123,51 +130,47 @@ case "$(basename $0)" in
|
|
123
130
|
fi
|
124
131
|
case "$(basename $0)" in
|
125
132
|
deploy)
|
126
|
-
bundle exec cap "$@" deploy
|
133
|
+
bundle exec cap "$@" deploy:lock deploy
|
127
134
|
;;
|
128
135
|
|
129
136
|
release)
|
130
|
-
bundle exec cap "$@" deploy
|
137
|
+
bundle exec cap "$@" deploy:lock deploy
|
131
138
|
;;
|
132
139
|
|
133
140
|
stage)
|
134
|
-
bundle exec cap "$@" deploy:update_code deploy:symlink_next
|
141
|
+
bundle exec cap "$@" deploy:lock deploy:update_code deploy:symlink_next
|
135
142
|
;;
|
136
143
|
|
137
144
|
restart)
|
138
|
-
bundle exec cap "$@" deploy:restart
|
145
|
+
bundle exec cap "$@" deploy:lock deploy:restart
|
139
146
|
;;
|
140
147
|
|
141
148
|
config)
|
142
|
-
bundle exec cap "$@" deploy:config
|
149
|
+
bundle exec cap "$@" deploy:lock deploy:config
|
143
150
|
;;
|
144
151
|
|
145
152
|
build)
|
146
|
-
bundle exec cap "$@" deploy:build
|
153
|
+
bundle exec cap "$@" deploy:lock deploy:build
|
147
154
|
;;
|
148
155
|
|
149
156
|
dist)
|
150
|
-
bundle exec cap "$@" deploy:dist
|
157
|
+
bundle exec cap "$@" deploy:lock deploy:dist
|
151
158
|
;;
|
152
159
|
|
153
160
|
activate)
|
154
|
-
bundle exec cap "$@" deploy:symlink deploy:restart
|
161
|
+
bundle exec cap "$@" deploy:lock deploy:symlink deploy:restart
|
155
162
|
;;
|
156
163
|
|
157
164
|
rollback)
|
158
|
-
bundle exec cap "$@" deploy:rollback
|
165
|
+
bundle exec cap "$@" deploy:lock deploy:rollback
|
159
166
|
;;
|
160
167
|
|
161
168
|
check)
|
162
|
-
bundle exec cap "$@" deploy:check
|
163
|
-
;;
|
164
|
-
|
165
|
-
compare)
|
166
|
-
bundle exec cap "$@" deploy:compare
|
169
|
+
bundle exec cap "$@" deploy:lock deploy:check
|
167
170
|
;;
|
168
171
|
|
169
172
|
plan)
|
170
|
-
bundle exec cap "$@" deploy:plan
|
173
|
+
bundle exec cap "$@" deploy:lock deploy:plan
|
171
174
|
;;
|
172
175
|
|
173
176
|
lock)
|
@@ -182,6 +185,14 @@ case "$(basename $0)" in
|
|
182
185
|
bundle exec cap "$@" shell
|
183
186
|
;;
|
184
187
|
|
188
|
+
compare)
|
189
|
+
bundle exec cap "$@" deploy:compare
|
190
|
+
;;
|
191
|
+
|
192
|
+
migrate)
|
193
|
+
bundle exec cap "$@" deploy:migrate
|
194
|
+
;;
|
195
|
+
|
185
196
|
*)
|
186
197
|
bundle exec cap "$@"
|
187
198
|
;;
|
data/libexec/build
CHANGED
@@ -1,14 +1,21 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
case "$(basename $0)" in
|
4
|
+
bump)
|
5
|
+
true
|
6
|
+
;;
|
7
|
+
*)
|
8
|
+
hst_this=$(hostname -s)
|
9
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
10
|
+
# unless the .ao_no_proxy file exists
|
11
|
+
if [[ ! -f ".ao_no_proxy" ]]; then
|
12
|
+
# ssh into deploy host and run from there
|
13
|
+
exec bin/proxy $(basename $0) "$@"
|
14
|
+
exit 1
|
15
|
+
fi
|
16
|
+
fi
|
17
|
+
;;
|
18
|
+
esac
|
12
19
|
|
13
20
|
export LOCAL_ONLY=true
|
14
21
|
|
@@ -123,51 +130,47 @@ case "$(basename $0)" in
|
|
123
130
|
fi
|
124
131
|
case "$(basename $0)" in
|
125
132
|
deploy)
|
126
|
-
bundle exec cap "$@" deploy
|
133
|
+
bundle exec cap "$@" deploy:lock deploy
|
127
134
|
;;
|
128
135
|
|
129
136
|
release)
|
130
|
-
bundle exec cap "$@" deploy
|
137
|
+
bundle exec cap "$@" deploy:lock deploy
|
131
138
|
;;
|
132
139
|
|
133
140
|
stage)
|
134
|
-
bundle exec cap "$@" deploy:update_code deploy:symlink_next
|
141
|
+
bundle exec cap "$@" deploy:lock deploy:update_code deploy:symlink_next
|
135
142
|
;;
|
136
143
|
|
137
144
|
restart)
|
138
|
-
bundle exec cap "$@" deploy:restart
|
145
|
+
bundle exec cap "$@" deploy:lock deploy:restart
|
139
146
|
;;
|
140
147
|
|
141
148
|
config)
|
142
|
-
bundle exec cap "$@" deploy:config
|
149
|
+
bundle exec cap "$@" deploy:lock deploy:config
|
143
150
|
;;
|
144
151
|
|
145
152
|
build)
|
146
|
-
bundle exec cap "$@" deploy:build
|
153
|
+
bundle exec cap "$@" deploy:lock deploy:build
|
147
154
|
;;
|
148
155
|
|
149
156
|
dist)
|
150
|
-
bundle exec cap "$@" deploy:dist
|
157
|
+
bundle exec cap "$@" deploy:lock deploy:dist
|
151
158
|
;;
|
152
159
|
|
153
160
|
activate)
|
154
|
-
bundle exec cap "$@" deploy:symlink deploy:restart
|
161
|
+
bundle exec cap "$@" deploy:lock deploy:symlink deploy:restart
|
155
162
|
;;
|
156
163
|
|
157
164
|
rollback)
|
158
|
-
bundle exec cap "$@" deploy:rollback
|
165
|
+
bundle exec cap "$@" deploy:lock deploy:rollback
|
159
166
|
;;
|
160
167
|
|
161
168
|
check)
|
162
|
-
bundle exec cap "$@" deploy:check
|
163
|
-
;;
|
164
|
-
|
165
|
-
compare)
|
166
|
-
bundle exec cap "$@" deploy:compare
|
169
|
+
bundle exec cap "$@" deploy:lock deploy:check
|
167
170
|
;;
|
168
171
|
|
169
172
|
plan)
|
170
|
-
bundle exec cap "$@" deploy:plan
|
173
|
+
bundle exec cap "$@" deploy:lock deploy:plan
|
171
174
|
;;
|
172
175
|
|
173
176
|
lock)
|
@@ -182,6 +185,14 @@ case "$(basename $0)" in
|
|
182
185
|
bundle exec cap "$@" shell
|
183
186
|
;;
|
184
187
|
|
188
|
+
compare)
|
189
|
+
bundle exec cap "$@" deploy:compare
|
190
|
+
;;
|
191
|
+
|
192
|
+
migrate)
|
193
|
+
bundle exec cap "$@" deploy:migrate
|
194
|
+
;;
|
195
|
+
|
185
196
|
*)
|
186
197
|
bundle exec cap "$@"
|
187
198
|
;;
|
data/libexec/bump
CHANGED
@@ -1,14 +1,21 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
case "$(basename $0)" in
|
4
|
+
bump)
|
5
|
+
true
|
6
|
+
;;
|
7
|
+
*)
|
8
|
+
hst_this=$(hostname -s)
|
9
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
10
|
+
# unless the .ao_no_proxy file exists
|
11
|
+
if [[ ! -f ".ao_no_proxy" ]]; then
|
12
|
+
# ssh into deploy host and run from there
|
13
|
+
exec bin/proxy $(basename $0) "$@"
|
14
|
+
exit 1
|
15
|
+
fi
|
16
|
+
fi
|
17
|
+
;;
|
18
|
+
esac
|
12
19
|
|
13
20
|
export LOCAL_ONLY=true
|
14
21
|
|
@@ -123,51 +130,47 @@ case "$(basename $0)" in
|
|
123
130
|
fi
|
124
131
|
case "$(basename $0)" in
|
125
132
|
deploy)
|
126
|
-
bundle exec cap "$@" deploy
|
133
|
+
bundle exec cap "$@" deploy:lock deploy
|
127
134
|
;;
|
128
135
|
|
129
136
|
release)
|
130
|
-
bundle exec cap "$@" deploy
|
137
|
+
bundle exec cap "$@" deploy:lock deploy
|
131
138
|
;;
|
132
139
|
|
133
140
|
stage)
|
134
|
-
bundle exec cap "$@" deploy:update_code deploy:symlink_next
|
141
|
+
bundle exec cap "$@" deploy:lock deploy:update_code deploy:symlink_next
|
135
142
|
;;
|
136
143
|
|
137
144
|
restart)
|
138
|
-
bundle exec cap "$@" deploy:restart
|
145
|
+
bundle exec cap "$@" deploy:lock deploy:restart
|
139
146
|
;;
|
140
147
|
|
141
148
|
config)
|
142
|
-
bundle exec cap "$@" deploy:config
|
149
|
+
bundle exec cap "$@" deploy:lock deploy:config
|
143
150
|
;;
|
144
151
|
|
145
152
|
build)
|
146
|
-
bundle exec cap "$@" deploy:build
|
153
|
+
bundle exec cap "$@" deploy:lock deploy:build
|
147
154
|
;;
|
148
155
|
|
149
156
|
dist)
|
150
|
-
bundle exec cap "$@" deploy:dist
|
157
|
+
bundle exec cap "$@" deploy:lock deploy:dist
|
151
158
|
;;
|
152
159
|
|
153
160
|
activate)
|
154
|
-
bundle exec cap "$@" deploy:symlink deploy:restart
|
161
|
+
bundle exec cap "$@" deploy:lock deploy:symlink deploy:restart
|
155
162
|
;;
|
156
163
|
|
157
164
|
rollback)
|
158
|
-
bundle exec cap "$@" deploy:rollback
|
165
|
+
bundle exec cap "$@" deploy:lock deploy:rollback
|
159
166
|
;;
|
160
167
|
|
161
168
|
check)
|
162
|
-
bundle exec cap "$@" deploy:check
|
163
|
-
;;
|
164
|
-
|
165
|
-
compare)
|
166
|
-
bundle exec cap "$@" deploy:compare
|
169
|
+
bundle exec cap "$@" deploy:lock deploy:check
|
167
170
|
;;
|
168
171
|
|
169
172
|
plan)
|
170
|
-
bundle exec cap "$@" deploy:plan
|
173
|
+
bundle exec cap "$@" deploy:lock deploy:plan
|
171
174
|
;;
|
172
175
|
|
173
176
|
lock)
|
@@ -182,6 +185,14 @@ case "$(basename $0)" in
|
|
182
185
|
bundle exec cap "$@" shell
|
183
186
|
;;
|
184
187
|
|
188
|
+
compare)
|
189
|
+
bundle exec cap "$@" deploy:compare
|
190
|
+
;;
|
191
|
+
|
192
|
+
migrate)
|
193
|
+
bundle exec cap "$@" deploy:migrate
|
194
|
+
;;
|
195
|
+
|
185
196
|
*)
|
186
197
|
bundle exec cap "$@"
|
187
198
|
;;
|
data/libexec/check
CHANGED
@@ -1,14 +1,21 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
case "$(basename $0)" in
|
4
|
+
bump)
|
5
|
+
true
|
6
|
+
;;
|
7
|
+
*)
|
8
|
+
hst_this=$(hostname -s)
|
9
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
10
|
+
# unless the .ao_no_proxy file exists
|
11
|
+
if [[ ! -f ".ao_no_proxy" ]]; then
|
12
|
+
# ssh into deploy host and run from there
|
13
|
+
exec bin/proxy $(basename $0) "$@"
|
14
|
+
exit 1
|
15
|
+
fi
|
16
|
+
fi
|
17
|
+
;;
|
18
|
+
esac
|
12
19
|
|
13
20
|
export LOCAL_ONLY=true
|
14
21
|
|
@@ -123,51 +130,47 @@ case "$(basename $0)" in
|
|
123
130
|
fi
|
124
131
|
case "$(basename $0)" in
|
125
132
|
deploy)
|
126
|
-
bundle exec cap "$@" deploy
|
133
|
+
bundle exec cap "$@" deploy:lock deploy
|
127
134
|
;;
|
128
135
|
|
129
136
|
release)
|
130
|
-
bundle exec cap "$@" deploy
|
137
|
+
bundle exec cap "$@" deploy:lock deploy
|
131
138
|
;;
|
132
139
|
|
133
140
|
stage)
|
134
|
-
bundle exec cap "$@" deploy:update_code deploy:symlink_next
|
141
|
+
bundle exec cap "$@" deploy:lock deploy:update_code deploy:symlink_next
|
135
142
|
;;
|
136
143
|
|
137
144
|
restart)
|
138
|
-
bundle exec cap "$@" deploy:restart
|
145
|
+
bundle exec cap "$@" deploy:lock deploy:restart
|
139
146
|
;;
|
140
147
|
|
141
148
|
config)
|
142
|
-
bundle exec cap "$@" deploy:config
|
149
|
+
bundle exec cap "$@" deploy:lock deploy:config
|
143
150
|
;;
|
144
151
|
|
145
152
|
build)
|
146
|
-
bundle exec cap "$@" deploy:build
|
153
|
+
bundle exec cap "$@" deploy:lock deploy:build
|
147
154
|
;;
|
148
155
|
|
149
156
|
dist)
|
150
|
-
bundle exec cap "$@" deploy:dist
|
157
|
+
bundle exec cap "$@" deploy:lock deploy:dist
|
151
158
|
;;
|
152
159
|
|
153
160
|
activate)
|
154
|
-
bundle exec cap "$@" deploy:symlink deploy:restart
|
161
|
+
bundle exec cap "$@" deploy:lock deploy:symlink deploy:restart
|
155
162
|
;;
|
156
163
|
|
157
164
|
rollback)
|
158
|
-
bundle exec cap "$@" deploy:rollback
|
165
|
+
bundle exec cap "$@" deploy:lock deploy:rollback
|
159
166
|
;;
|
160
167
|
|
161
168
|
check)
|
162
|
-
bundle exec cap "$@" deploy:check
|
163
|
-
;;
|
164
|
-
|
165
|
-
compare)
|
166
|
-
bundle exec cap "$@" deploy:compare
|
169
|
+
bundle exec cap "$@" deploy:lock deploy:check
|
167
170
|
;;
|
168
171
|
|
169
172
|
plan)
|
170
|
-
bundle exec cap "$@" deploy:plan
|
173
|
+
bundle exec cap "$@" deploy:lock deploy:plan
|
171
174
|
;;
|
172
175
|
|
173
176
|
lock)
|
@@ -182,6 +185,14 @@ case "$(basename $0)" in
|
|
182
185
|
bundle exec cap "$@" shell
|
183
186
|
;;
|
184
187
|
|
188
|
+
compare)
|
189
|
+
bundle exec cap "$@" deploy:compare
|
190
|
+
;;
|
191
|
+
|
192
|
+
migrate)
|
193
|
+
bundle exec cap "$@" deploy:migrate
|
194
|
+
;;
|
195
|
+
|
185
196
|
*)
|
186
197
|
bundle exec cap "$@"
|
187
198
|
;;
|
data/libexec/compare
CHANGED
@@ -1,14 +1,21 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
case "$(basename $0)" in
|
4
|
+
bump)
|
5
|
+
true
|
6
|
+
;;
|
7
|
+
*)
|
8
|
+
hst_this=$(hostname -s)
|
9
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
10
|
+
# unless the .ao_no_proxy file exists
|
11
|
+
if [[ ! -f ".ao_no_proxy" ]]; then
|
12
|
+
# ssh into deploy host and run from there
|
13
|
+
exec bin/proxy $(basename $0) "$@"
|
14
|
+
exit 1
|
15
|
+
fi
|
16
|
+
fi
|
17
|
+
;;
|
18
|
+
esac
|
12
19
|
|
13
20
|
export LOCAL_ONLY=true
|
14
21
|
|
@@ -123,51 +130,47 @@ case "$(basename $0)" in
|
|
123
130
|
fi
|
124
131
|
case "$(basename $0)" in
|
125
132
|
deploy)
|
126
|
-
bundle exec cap "$@" deploy
|
133
|
+
bundle exec cap "$@" deploy:lock deploy
|
127
134
|
;;
|
128
135
|
|
129
136
|
release)
|
130
|
-
bundle exec cap "$@" deploy
|
137
|
+
bundle exec cap "$@" deploy:lock deploy
|
131
138
|
;;
|
132
139
|
|
133
140
|
stage)
|
134
|
-
bundle exec cap "$@" deploy:update_code deploy:symlink_next
|
141
|
+
bundle exec cap "$@" deploy:lock deploy:update_code deploy:symlink_next
|
135
142
|
;;
|
136
143
|
|
137
144
|
restart)
|
138
|
-
bundle exec cap "$@" deploy:restart
|
145
|
+
bundle exec cap "$@" deploy:lock deploy:restart
|
139
146
|
;;
|
140
147
|
|
141
148
|
config)
|
142
|
-
bundle exec cap "$@" deploy:config
|
149
|
+
bundle exec cap "$@" deploy:lock deploy:config
|
143
150
|
;;
|
144
151
|
|
145
152
|
build)
|
146
|
-
bundle exec cap "$@" deploy:build
|
153
|
+
bundle exec cap "$@" deploy:lock deploy:build
|
147
154
|
;;
|
148
155
|
|
149
156
|
dist)
|
150
|
-
bundle exec cap "$@" deploy:dist
|
157
|
+
bundle exec cap "$@" deploy:lock deploy:dist
|
151
158
|
;;
|
152
159
|
|
153
160
|
activate)
|
154
|
-
bundle exec cap "$@" deploy:symlink deploy:restart
|
161
|
+
bundle exec cap "$@" deploy:lock deploy:symlink deploy:restart
|
155
162
|
;;
|
156
163
|
|
157
164
|
rollback)
|
158
|
-
bundle exec cap "$@" deploy:rollback
|
165
|
+
bundle exec cap "$@" deploy:lock deploy:rollback
|
159
166
|
;;
|
160
167
|
|
161
168
|
check)
|
162
|
-
bundle exec cap "$@" deploy:check
|
163
|
-
;;
|
164
|
-
|
165
|
-
compare)
|
166
|
-
bundle exec cap "$@" deploy:compare
|
169
|
+
bundle exec cap "$@" deploy:lock deploy:check
|
167
170
|
;;
|
168
171
|
|
169
172
|
plan)
|
170
|
-
bundle exec cap "$@" deploy:plan
|
173
|
+
bundle exec cap "$@" deploy:lock deploy:plan
|
171
174
|
;;
|
172
175
|
|
173
176
|
lock)
|
@@ -182,6 +185,14 @@ case "$(basename $0)" in
|
|
182
185
|
bundle exec cap "$@" shell
|
183
186
|
;;
|
184
187
|
|
188
|
+
compare)
|
189
|
+
bundle exec cap "$@" deploy:compare
|
190
|
+
;;
|
191
|
+
|
192
|
+
migrate)
|
193
|
+
bundle exec cap "$@" deploy:migrate
|
194
|
+
;;
|
195
|
+
|
185
196
|
*)
|
186
197
|
bundle exec cap "$@"
|
187
198
|
;;
|
data/libexec/config
CHANGED
@@ -1,14 +1,21 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
case "$(basename $0)" in
|
4
|
+
bump)
|
5
|
+
true
|
6
|
+
;;
|
7
|
+
*)
|
8
|
+
hst_this=$(hostname -s)
|
9
|
+
if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
|
10
|
+
# unless the .ao_no_proxy file exists
|
11
|
+
if [[ ! -f ".ao_no_proxy" ]]; then
|
12
|
+
# ssh into deploy host and run from there
|
13
|
+
exec bin/proxy $(basename $0) "$@"
|
14
|
+
exit 1
|
15
|
+
fi
|
16
|
+
fi
|
17
|
+
;;
|
18
|
+
esac
|
12
19
|
|
13
20
|
export LOCAL_ONLY=true
|
14
21
|
|
@@ -123,51 +130,47 @@ case "$(basename $0)" in
|
|
123
130
|
fi
|
124
131
|
case "$(basename $0)" in
|
125
132
|
deploy)
|
126
|
-
bundle exec cap "$@" deploy
|
133
|
+
bundle exec cap "$@" deploy:lock deploy
|
127
134
|
;;
|
128
135
|
|
129
136
|
release)
|
130
|
-
bundle exec cap "$@" deploy
|
137
|
+
bundle exec cap "$@" deploy:lock deploy
|
131
138
|
;;
|
132
139
|
|
133
140
|
stage)
|
134
|
-
bundle exec cap "$@" deploy:update_code deploy:symlink_next
|
141
|
+
bundle exec cap "$@" deploy:lock deploy:update_code deploy:symlink_next
|
135
142
|
;;
|
136
143
|
|
137
144
|
restart)
|
138
|
-
bundle exec cap "$@" deploy:restart
|
145
|
+
bundle exec cap "$@" deploy:lock deploy:restart
|
139
146
|
;;
|
140
147
|
|
141
148
|
config)
|
142
|
-
bundle exec cap "$@" deploy:config
|
149
|
+
bundle exec cap "$@" deploy:lock deploy:config
|
143
150
|
;;
|
144
151
|
|
145
152
|
build)
|
146
|
-
bundle exec cap "$@" deploy:build
|
153
|
+
bundle exec cap "$@" deploy:lock deploy:build
|
147
154
|
;;
|
148
155
|
|
149
156
|
dist)
|
150
|
-
bundle exec cap "$@" deploy:dist
|
157
|
+
bundle exec cap "$@" deploy:lock deploy:dist
|
151
158
|
;;
|
152
159
|
|
153
160
|
activate)
|
154
|
-
bundle exec cap "$@" deploy:symlink deploy:restart
|
161
|
+
bundle exec cap "$@" deploy:lock deploy:symlink deploy:restart
|
155
162
|
;;
|
156
163
|
|
157
164
|
rollback)
|
158
|
-
bundle exec cap "$@" deploy:rollback
|
165
|
+
bundle exec cap "$@" deploy:lock deploy:rollback
|
159
166
|
;;
|
160
167
|
|
161
168
|
check)
|
162
|
-
bundle exec cap "$@" deploy:check
|
163
|
-
;;
|
164
|
-
|
165
|
-
compare)
|
166
|
-
bundle exec cap "$@" deploy:compare
|
169
|
+
bundle exec cap "$@" deploy:lock deploy:check
|
167
170
|
;;
|
168
171
|
|
169
172
|
plan)
|
170
|
-
bundle exec cap "$@" deploy:plan
|
173
|
+
bundle exec cap "$@" deploy:lock deploy:plan
|
171
174
|
;;
|
172
175
|
|
173
176
|
lock)
|
@@ -182,6 +185,14 @@ case "$(basename $0)" in
|
|
182
185
|
bundle exec cap "$@" shell
|
183
186
|
;;
|
184
187
|
|
188
|
+
compare)
|
189
|
+
bundle exec cap "$@" deploy:compare
|
190
|
+
;;
|
191
|
+
|
192
|
+
migrate)
|
193
|
+
bundle exec cap "$@" deploy:migrate
|
194
|
+
;;
|
195
|
+
|
185
196
|
*)
|
186
197
|
bundle exec cap "$@"
|
187
198
|
;;
|