lib/dockly/build_cache/base.rb in dockly-1.8.0 vs lib/dockly/build_cache/base.rb in dockly-1.9.0
- old
+ new
@@ -7,17 +7,18 @@
logger_prefix '[dockly build_cache]'
dsl_attribute :s3_bucket, :s3_object_prefix, :use_latest,
:hash_command, :build_command, :parameter_commands,
:base_dir, :command_dir, :output_dir, :tmp_dir,
- :keep_old_files
+ :keep_old_files, :safe_push_cache
default_value :use_latest, false
default_value :parameter_commands, {}
default_value :command_dir, '.'
default_value :output_dir, '.'
default_value :tmp_dir, Dir.tmpdir
default_value :keep_old_files, false
+ default_value :safe_push_cache, false
def execute!
debug "Looking for cache for hash: #{hash_output}"
if up_to_date?
debug "build cache up to date, pulling from s3"