alpha_omega 0.0.196 → 0.0.197

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.196
1
+ 0.0.197
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
@@ -1,15 +1,5 @@
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
12
-
13
3
  export LOCAL_ONLY=true
14
4
 
15
5
  case "$(basename $0)" in
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: 407
4
+ hash: 405
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 196
10
- version: 0.0.196
9
+ - 197
10
+ version: 0.0.197
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Nghiem
@@ -131,7 +131,6 @@ files:
131
131
  - libexec/lock
132
132
  - libexec/migrate
133
133
  - libexec/plan
134
- - libexec/proxy
135
134
  - libexec/release
136
135
  - libexec/repl
137
136
  - libexec/restart
@@ -1,25 +0,0 @@
1
- #!/bin/bash -e
2
-
3
- hst_proxy="${GATEWAY:=deploy}"
4
-
5
- # remote arguments
6
- git_url="$(git config --list | grep remote.origin.url | cut -d= -f2-)"
7
-
8
- git_ref=$(cat .git/HEAD)
9
- if echo "$git_ref" | egrep -q "^ref:"; then
10
- git_branch=$(echo "$git_ref" | awk '{print $2}' | cut -d/ -f3-)
11
- git_head=$(git show-ref --hash "$(echo "$git_ref" | awk '{print $2}')")
12
- else
13
- git_branch=""
14
- git_head=$git_ref
15
- fi
16
-
17
- if [[ -z $git_head ]]; then
18
- echo "ERROR: could not find the SHA for HEAD" 1>&2
19
- exit 1
20
- fi
21
-
22
- if ! ssh -q -t $hst_proxy alpha_omega_proxy_helper2 "$USER" "$git_url" "$git_branch:$git_head" "$@"; then
23
- echo "ERROR: could not proxy '$@' to $hst_proxy" 1>&2
24
- exit 1
25
- fi