alpha_omega 1.5.3 → 1.5.4
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/aoh-proxy +1 -1
- data/libexec/remote-helper +3 -10
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.5.
|
|
1
|
+
1.5.4
|
data/libexec/aoh-proxy
CHANGED
|
@@ -56,7 +56,7 @@ function main {
|
|
|
56
56
|
bash_runner="bash $tmp_remote"
|
|
57
57
|
fi
|
|
58
58
|
scp -q $shome/libexec/remote-helper $hst_gateway:$tmp_remote
|
|
59
|
-
ssh -t $hst_gateway $bash_runner "$
|
|
59
|
+
ssh -t $hst_gateway $bash_runner "$USER" "$git_url" "$git_spec" "$@"
|
|
60
60
|
if [[ "${FLAGS_debug:-}" = 1 ]]; then
|
|
61
61
|
ssh $hst_gateway rm -f $tmp_remote
|
|
62
62
|
fi
|
data/libexec/remote-helper
CHANGED
|
@@ -19,13 +19,13 @@ fi
|
|
|
19
19
|
|
|
20
20
|
# entry point
|
|
21
21
|
function main {
|
|
22
|
-
pth_rvmrun=$1; shift
|
|
23
|
-
nm_ruby=$1; shift
|
|
24
22
|
nm_deployer=$1; shift
|
|
25
23
|
git_url=$1; shift
|
|
26
24
|
git_spec=$1; shift
|
|
27
25
|
cmd_deploy=$1; shift
|
|
28
26
|
|
|
27
|
+
export _AO_DEPLOYER="$nm_deployer"
|
|
28
|
+
|
|
29
29
|
git_branch="${git_spec%%:*}"
|
|
30
30
|
git_sha="${git_spec##*:}"
|
|
31
31
|
|
|
@@ -50,14 +50,7 @@ function main {
|
|
|
50
50
|
|
|
51
51
|
git submodule -q update --init --recursive
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
local ruby_loader=""
|
|
55
|
-
if [[ "$pth_rvmrun" != "x" ]]; then
|
|
56
|
-
PATH="$PATH:/usr/local/rvm/bin:$HOME/.rvm/bin"
|
|
57
|
-
ruby_loader="$pth_rvmrun $nm_ruby"
|
|
58
|
-
fi
|
|
59
|
-
$ruby_loader bundle check 2>&1 >/dev/null || { $ruby_loader bundle install --quiet --local --path vendor/bundle || bundle check > /dev/null; }
|
|
60
|
-
$ruby_loader bundle exec ao $cmd_deploy "$@"
|
|
53
|
+
bin/$cmd_deploy "$@"
|
|
61
54
|
}
|
|
62
55
|
|
|
63
56
|
# pass arguments to entry point
|
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: 11
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 1.5.
|
|
9
|
+
- 4
|
|
10
|
+
version: 1.5.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- David Nghiem
|