Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix legacy_md5_buildpack_paths_enabled param #371

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ credential_references:

# App staging parameters
staging:
legacy_md5_buildpack_paths_enabled: <%= p("cc.legacy_md5_buildpack_paths_enabled") %>
timeout_in_seconds: <%= p("cc.staging_timeout_in_seconds") %>
minimum_staging_memory_mb: <%= p("dea_next.staging_memory_limit_mb") %>
minimum_staging_disk_mb: <%= p("dea_next.staging_disk_limit_mb") %>
Expand Down Expand Up @@ -522,5 +523,3 @@ threadpool_size: <%= p("cc.experimental.thin_server.thread_pool_size") %>
default_app_lifecycle: buildpack
custom_metric_tag_prefix_list: <%= p("cc.custom_metric_tag_prefix_list") %>
update_metric_tags_on_rename: <%= p("cc.update_metric_tags_on_rename") %>

legacy_md5_buildpack_paths_enabled: <%= p("cc.legacy_md5_buildpack_paths_enabled") %>
4 changes: 2 additions & 2 deletions spec/cloud_controller_ng/cloud_controller_ng_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ module Test

it 'renders the correct value into the ccng config' do
template_hash = YAML.safe_load(template.render(merged_manifest_properties, consumes: links))
expect(template_hash['legacy_md5_buildpack_paths_enabled']).to be(true)
expect(template_hash['staging']['legacy_md5_buildpack_paths_enabled']).to be(true)
end
end

Expand All @@ -628,7 +628,7 @@ module Test

it 'renders the correct value into the ccng config' do
template_hash = YAML.safe_load(template.render(merged_manifest_properties, consumes: links))
expect(template_hash['legacy_md5_buildpack_paths_enabled']).to be(false)
expect(template_hash['staging']['legacy_md5_buildpack_paths_enabled']).to be(false)
end
end
end
Expand Down