alpha_omega 0.0.141 → 0.0.142

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.141
1
+ 0.0.142
data/libexec/activate CHANGED
@@ -1,14 +1,21 @@
1
1
  #!/bin/bash -e
2
2
 
3
- hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
- # unless the .ao_no_proxy file exists
6
- if [[ ! -f ".ao_no_proxy" ]]; then
7
- # ssh into deploy host and run from there
8
- exec bin/proxy $(basename $0) "$@"
9
- exit 1
10
- fi
11
- fi
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
- hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
- # unless the .ao_no_proxy file exists
6
- if [[ ! -f ".ao_no_proxy" ]]; then
7
- # ssh into deploy host and run from there
8
- exec bin/proxy $(basename $0) "$@"
9
- exit 1
10
- fi
11
- fi
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
- hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
- # unless the .ao_no_proxy file exists
6
- if [[ ! -f ".ao_no_proxy" ]]; then
7
- # ssh into deploy host and run from there
8
- exec bin/proxy $(basename $0) "$@"
9
- exit 1
10
- fi
11
- fi
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
- hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
- # unless the .ao_no_proxy file exists
6
- if [[ ! -f ".ao_no_proxy" ]]; then
7
- # ssh into deploy host and run from there
8
- exec bin/proxy $(basename $0) "$@"
9
- exit 1
10
- fi
11
- fi
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
- hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
- # unless the .ao_no_proxy file exists
6
- if [[ ! -f ".ao_no_proxy" ]]; then
7
- # ssh into deploy host and run from there
8
- exec bin/proxy $(basename $0) "$@"
9
- exit 1
10
- fi
11
- fi
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
- hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
- # unless the .ao_no_proxy file exists
6
- if [[ ! -f ".ao_no_proxy" ]]; then
7
- # ssh into deploy host and run from there
8
- exec bin/proxy $(basename $0) "$@"
9
- exit 1
10
- fi
11
- fi
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
  ;;