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 +1 -1
- data/libexec/activate +0 -10
- data/libexec/build +0 -10
- data/libexec/bump +0 -10
- data/libexec/check +0 -10
- data/libexec/compare +0 -10
- data/libexec/config +0 -10
- data/libexec/debug +0 -10
- data/libexec/deploy +0 -10
- data/libexec/dist +0 -10
- data/libexec/dna +0 -10
- data/libexec/hosts +0 -10
- data/libexec/invoke +0 -10
- data/libexec/lock +0 -10
- data/libexec/migrate +0 -10
- data/libexec/plan +0 -10
- data/libexec/release +0 -10
- data/libexec/repl +0 -10
- data/libexec/restart +0 -10
- data/libexec/rollback +0 -10
- data/libexec/shell +0 -10
- data/libexec/stage +0 -10
- data/libexec/task +0 -10
- data/libexec/unlock +0 -10
- metadata +3 -4
- data/libexec/proxy +0 -25
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.197
|
data/libexec/activate
CHANGED
@@ -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
|
data/libexec/build
CHANGED
@@ -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
|
data/libexec/bump
CHANGED
@@ -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
|
data/libexec/check
CHANGED
@@ -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
|
data/libexec/compare
CHANGED
@@ -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
|
data/libexec/config
CHANGED
@@ -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
|
data/libexec/debug
CHANGED
@@ -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
|
data/libexec/deploy
CHANGED
@@ -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
|
data/libexec/dist
CHANGED
@@ -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
|
data/libexec/dna
CHANGED
@@ -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
|
data/libexec/hosts
CHANGED
@@ -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
|
data/libexec/invoke
CHANGED
@@ -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
|
data/libexec/lock
CHANGED
@@ -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
|
data/libexec/migrate
CHANGED
@@ -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
|
data/libexec/plan
CHANGED
@@ -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
|
data/libexec/release
CHANGED
@@ -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
|
data/libexec/repl
CHANGED
@@ -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
|
data/libexec/restart
CHANGED
@@ -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
|
data/libexec/rollback
CHANGED
@@ -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
|
data/libexec/shell
CHANGED
@@ -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
|
data/libexec/stage
CHANGED
@@ -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
|
data/libexec/task
CHANGED
@@ -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
|
data/libexec/unlock
CHANGED
@@ -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:
|
4
|
+
hash: 405
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
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
|
data/libexec/proxy
DELETED
@@ -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
|