vx-builder 0.5.45 → 0.5.46
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.
- checksums.yaml +4 -4
- data/lib/vx/builder/script_builder/prepare.rb +10 -10
- data/lib/vx/builder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f218880e3d7bec636acf3812cb233051afc371f
|
|
4
|
+
data.tar.gz: b965ce4e4b9dc625839074ca3f7e6a38213098b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 916e80529296c68c5fc7aef7377c3ee2c839a25355692d71c267b3cc675026db80ebb8d686773a75c8e4a6500bff3db56a18fca8c5cbcd5f37dd590e0816a61a
|
|
7
|
+
data.tar.gz: df44aeaffebafc094f85423fe9e684825c649763ac8bed57499908826816541546dd798c1c2d47cdea16f1c75a6c5377b644e57cf1db2878fbd29706fed615fb
|
|
@@ -16,11 +16,11 @@ module Vx
|
|
|
16
16
|
repo_path = "${VX_ROOT}/code/#{name}"
|
|
17
17
|
data_path = "${VX_ROOT}/data/#{name}"
|
|
18
18
|
key_file = "#{data_path}/key"
|
|
19
|
-
git_ssh_file = "#{data_path}/git_ssh"
|
|
19
|
+
#git_ssh_file = "#{data_path}/git_ssh"
|
|
20
20
|
|
|
21
21
|
sha = env.task.sha
|
|
22
22
|
scm = build_scm(env, sha, repo_path)
|
|
23
|
-
git_ssh = scm.git_ssh_content(deploy_key && "#{key_file}")
|
|
23
|
+
#git_ssh = scm.git_ssh_content(deploy_key && "#{key_file}")
|
|
24
24
|
|
|
25
25
|
env.init.tap do |i|
|
|
26
26
|
i << 'export VX_ROOT=$(pwd)'
|
|
@@ -38,22 +38,22 @@ module Vx
|
|
|
38
38
|
i << "chmod 0750 #{dst}"
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
+
i << 'echo "starting SSH Agent"'
|
|
42
|
+
i << 'eval "$(ssh-agent)" > /dev/null'
|
|
43
|
+
|
|
41
44
|
if deploy_key
|
|
42
45
|
i << upload_sh_command(key_file, deploy_key)
|
|
43
46
|
i << "chmod 0600 #{key_file}"
|
|
44
47
|
i << "export VX_PRIVATE_KEY=#{key_file}"
|
|
48
|
+
i << "ssh-add $VX_PRIVATE_KEY 2> /dev/null"
|
|
45
49
|
end
|
|
46
50
|
|
|
47
|
-
i << upload_sh_command(git_ssh_file, git_ssh)
|
|
48
|
-
i << "chmod 0750 #{git_ssh_file}"
|
|
51
|
+
#i << upload_sh_command(git_ssh_file, git_ssh)
|
|
52
|
+
#i << "chmod 0750 #{git_ssh_file}"
|
|
49
53
|
|
|
50
|
-
i << "export GIT_SSH=#{git_ssh_file}"
|
|
54
|
+
#i << "export GIT_SSH=#{git_ssh_file}"
|
|
51
55
|
i << "#{scm.fetch_cmd} || exit 1"
|
|
52
|
-
i << "unset GIT_SSH"
|
|
53
|
-
|
|
54
|
-
i << 'echo "starting SSH Agent"'
|
|
55
|
-
i << 'eval "$(ssh-agent)" > /dev/null'
|
|
56
|
-
i << "ssh-add $VX_PRIVATE_KEY 2> /dev/null"
|
|
56
|
+
#i << "unset GIT_SSH"
|
|
57
57
|
|
|
58
58
|
i << "cd #{repo_path}"
|
|
59
59
|
|
data/lib/vx/builder/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vx-builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.46
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Galinsky
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11-
|
|
11
|
+
date: 2014-11-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: vx-common
|