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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e33a980bcbf5e4f6f7af770faea07c96e9c342e3d5a6a88bdca9bb2a9c8d705
4
- data.tar.gz: bd446bb0c717a5bca09cef209c26b688da50e9652367e9f7d03be784ddd3a183
3
+ metadata.gz: 3506c0e4ae752fd7925c65913df56c068a1118471fc8cdcb5b9bdf4006170412
4
+ data.tar.gz: ffd8f79655ce7025781fbf9d6edca70692351a1ef5f190899b9228ca43d8ff34
5
5
  SHA512:
6
- metadata.gz: 213ff902bce52c0059b5e380e4a8d20175d6695562e0859eceb53bb29772ec4ec07963446c31620bf0f69315bd530602db8033e420625bbbe8a7420c41ebda97
7
- data.tar.gz: 8b7f272ef20ffca74c3798420ea6b410dd31d3c6990cc2428123838ab114b0d6aab94c8bff74314aa81c92b4a76f6518ffb3e12ce269b38603fed1c23ad3a548
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
- ].join
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('git_repo_remote', name).to_s)
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)
@@ -1,4 +1,4 @@
1
1
  module Dapp
2
- VERSION = '0.21.4'.freeze
2
+ VERSION = '0.21.5'.freeze
3
3
  BUILD_CACHE_VERSION = 24
4
4
  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.21.4
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-04 00:00:00.000000000 Z
11
+ date: 2017-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout