dapp 0.5.10 → 0.5.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91d2dcd059d9a2d2e2da0c199cd3843be6b64e50
4
- data.tar.gz: 4b9b0d03cebcc1f19c5dd53405621119609eb463
3
+ metadata.gz: 1b22d79c413efd4110b588de5fe4314daca06e6c
4
+ data.tar.gz: fcdea90324c3ebdbb6aa88803fe742c8997cb5da
5
5
  SHA512:
6
- metadata.gz: f41ded8f616a4a80f3c40fa900cb92651b50065347e36c802c401890c866c15edf29c4907f77a1b28ba671d748f10366b56df9b2a2e5742a1f96c7952b8b25b3
7
- data.tar.gz: 838792fa11746e2dfa906c7a3582747610868e2560e2f73b5b4de8c34e0a8b48278d43511aed917d7f8c6d81c53a5032e42dc6f1c74cbd5379bfb8185f489508
6
+ metadata.gz: d6f63f947d2a92ee88d1aaeb8458e5405ae18bf1598146937c0744be7325657c8cc4f8ac0a80cfa46e16bc0389579bd648e61ce7ffe6654a6997924c0d523a38
7
+ data.tar.gz: e10bdaa68a350f8081d42fe2c2d80071779a9ef9db2c18d2795ffedb54771e389b277c93d9ab66cb732f6731fdf05970b9bb8963ae93ded87e17348181c426de
@@ -4,7 +4,7 @@ module Dapp
4
4
  # SystemShellout
5
5
  module SystemShellout
6
6
  SYSTEM_SHELLOUT_IMAGE = 'ubuntu:14.04'
7
- SYSTEM_SHELLOUT_VERSION = 3
7
+ SYSTEM_SHELLOUT_VERSION = 4
8
8
 
9
9
  def system_shellout_container_name
10
10
  "dapp_system_shellout_#{hashsum [SYSTEM_SHELLOUT_VERSION,
@@ -29,7 +29,8 @@ module Dapp
29
29
  'mkdir -p /.system_shellout_root/.dapp',
30
30
  'mount --rbind /.dapp /.system_shellout_root/.dapp',
31
31
  # KOSTYL 0.5 only {
32
- 'mount --rbind /usr/bin /.system_shellout_root/usr/bin',
32
+ "mkdir -p /.system_shellout_root/tmp/dapp_system_shellout/usr/bin",
33
+ 'mount --rbind /usr/bin /.system_shellout_root/tmp/dapp_system_shellout/usr/bin',
33
34
  'mount --rbind /.system_shellout_root/sys /sys',
34
35
  'if [ -d /sys/fs/selinux ] ; then mount -o remount,ro,bind /sys/fs/selinux ; fi',
35
36
  'apt-get update -qq',
@@ -52,7 +52,7 @@ module Dapp
52
52
 
53
53
  def git(command, **kwargs)
54
54
  if use_ssh_key && ssh_key_path
55
- cmd = application.shellout_pack("/usr/bin/ssh-agent bash -ec '/usr/bin/ssh-add #{ssh_key_path}; #{application.git_path} #{command}'")
55
+ cmd = application.shellout_pack("/tmp/dapp_system_shellout/usr/bin/ssh-agent bash -ec '/tmp/dapp_system_shellout/usr/bin/ssh-add #{ssh_key_path}; #{application.git_path} #{command}'")
56
56
  application.system_shellout!("bash -ec '#{cmd}'")
57
57
  else
58
58
  super
@@ -1,5 +1,5 @@
1
1
  # Version
2
2
  module Dapp
3
- VERSION = '0.5.10'.freeze
3
+ VERSION = '0.5.11'.freeze
4
4
  BUILD_CACHE_VERSION = 3
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.10
4
+ version: 0.5.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Stolyarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-02 00:00:00.000000000 Z
11
+ date: 2016-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout