dapp 0.21.4 → 0.21.5
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/dapp/dimg/builder/chef.rb +3 -2
- data/lib/dapp/dimg/git_repo/remote.rb +3 -1
- data/lib/dapp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3506c0e4ae752fd7925c65913df56c068a1118471fc8cdcb5b9bdf4006170412
|
4
|
+
data.tar.gz: ffd8f79655ce7025781fbf9d6edca70692351a1ef5f190899b9228ca43d8ff34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9b92fd573d5d3a9aa7db24df92af823aeea1e4145f395d8ea893bf0b1d0f0dc8f3fb5df2855b8290d5ded79fbf196e7497bbb90c0a79ad5c2795c75a4cd939e
|
7
|
+
data.tar.gz: f52f8bc0ae1d12bf1b524a13df92ea38666a26458b1aa43d631ed961477e31c78dbfa3527578830cfa61e46228b194fd8f9c20deb73a03e042a22904c17135db
|
@@ -192,8 +192,9 @@ module Dapp
|
|
192
192
|
@install_chef_solo_stage_config[stage] ||= true.tap do
|
193
193
|
stage_build_path(stage).join('config.rb').write [
|
194
194
|
"file_cache_path \"/.dapp/chef/cache\"\n",
|
195
|
-
"cookbook_path \"#{container_stage_build_path(stage).join('cookbooks')}\"\n"
|
196
|
-
|
195
|
+
"cookbook_path \"#{container_stage_build_path(stage).join('cookbooks')}\"\n",
|
196
|
+
("log_level :debug\n" if ENV["DAPP_CHEF_DEBUG"]),
|
197
|
+
].compact.join
|
197
198
|
end
|
198
199
|
end
|
199
200
|
|
@@ -2,6 +2,8 @@ module Dapp
|
|
2
2
|
module Dimg
|
3
3
|
module GitRepo
|
4
4
|
class Remote < Base
|
5
|
+
CACHE_VERSION = 1
|
6
|
+
|
5
7
|
attr_reader :url
|
6
8
|
|
7
9
|
def initialize(dimg, name, url:)
|
@@ -39,7 +41,7 @@ module Dapp
|
|
39
41
|
end
|
40
42
|
|
41
43
|
def path
|
42
|
-
Pathname(dimg.build_path(
|
44
|
+
Pathname(dimg.build_path("remote_git_repo", CACHE_VERSION.to_s, name).to_s)
|
43
45
|
end
|
44
46
|
|
45
47
|
def fetch!(branch = nil)
|
data/lib/dapp/version.rb
CHANGED
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.21.
|
4
|
+
version: 0.21.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Stolyarov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|