Skip to content
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
2 changes: 1 addition & 1 deletion jobs/blobstore_benchmark/spec
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ consumes:

properties:
blobstore_benchmark.mode:
description: "Which blobstore backend to benchmark ('storage-cli' or 'fog')."
description: "Which blobstore backend to benchmark ('storage-cli')."
default: "storage-cli"

blobstore_benchmark.cc_overrides:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
section = cc_cfg[k]
next unless section.is_a?(Hash)

%w[fog_connection connection_config fog_aws_storage_options fog_gcp_storage_options webdav_config].each do |hk|
%w[connection_config webdav_config].each do |hk|
section[hk] = {} if section.key?(hk) && section[hk].nil?
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ if provider == "gcs"
add_optional(options, "encryption_key", l.p("#{scope}.encryption_key", nil))
end

# Support both native storage-cli types (s3) AND legacy fog names (AWS)
# Legacy fog name support to be REMOVED May 2026
if provider == "AWS" || provider == "s3"
if provider == "s3"
options["provider"] = provider
options["bucket_name"] = l.p("#{scope}.bucket_name")
if l.p("#{scope}.use_iam_profile", false)
Expand Down Expand Up @@ -89,9 +87,8 @@ if provider == "alioss"
options["bucket_name"] = l.p("#{scope}.aliyun_oss_bucket")
end

# Support both native storage-cli types (dav) AND legacy fog names (webdav)
# Legacy fog name support to be REMOVED May 2026
if provider == "webdav" || provider == "dav"

if provider == "dav"
options["provider"] = "dav"
options["user"] = l.p("#{scope}.username")
options["password"] = l.p("#{scope}.password")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ if provider == "gcs"
add_optional(options, "encryption_key", l.p("#{scope}.encryption_key", nil))
end

# Support both native storage-cli types (s3) AND legacy fog names (AWS)
# Legacy fog name support to be REMOVED May 2026
if provider == "AWS" || provider == "s3"
if provider == "s3"
options["provider"] = provider
options["bucket_name"] = l.p("#{scope}.bucket_name")
if l.p("#{scope}.use_iam_profile", false)
Expand Down Expand Up @@ -89,9 +87,8 @@ if provider == "alioss"
options["bucket_name"] = l.p("#{scope}.aliyun_oss_bucket")
end

# Support both native storage-cli types (dav) AND legacy fog names (webdav)
# Legacy fog name support to be REMOVED May 2026
if provider == "webdav" || provider == "dav"

if provider == "dav"
options["provider"] = "dav"
options["user"] = l.p("#{scope}.username")
options["password"] = l.p("#{scope}.password")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ if provider == "gcs"
add_optional(options, "encryption_key", l.p("#{scope}.encryption_key", nil))
end

# Support both native storage-cli types (s3) AND legacy fog names (AWS)
# Legacy fog name support to be REMOVED May 2026
if provider == "AWS" || provider == "s3"
if provider == "s3"
options["provider"] = provider
options["bucket_name"] = l.p("#{scope}.bucket_name")
if l.p("#{scope}.use_iam_profile", false)
Expand Down Expand Up @@ -89,9 +87,8 @@ if provider == "alioss"
options["bucket_name"] = l.p("#{scope}.aliyun_oss_bucket")
end

# Support both native storage-cli types (dav) AND legacy fog names (webdav)
# Legacy fog name support to be REMOVED May 2026
if provider == "webdav" || provider == "dav"

if provider == "dav"
options["provider"] = "dav"
options["user"] = l.p("#{scope}.username")
options["password"] = l.p("#{scope}.password")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ if provider == "gcs"
add_optional(options, "encryption_key", l.p("#{scope}.encryption_key", nil))
end

# Support both native storage-cli types (s3) AND legacy fog names (AWS)
# Legacy fog name support to be REMOVED May 2026
if provider == "AWS" || provider == "s3"
if provider == "s3"
options["provider"] = provider
options["bucket_name"] = l.p("#{scope}.bucket_name")
if l.p("#{scope}.use_iam_profile", false)
Expand Down Expand Up @@ -89,9 +87,8 @@ if provider == "alioss"
options["bucket_name"] = l.p("#{scope}.aliyun_oss_bucket")
end

# Support both native storage-cli types (dav) AND legacy fog names (webdav)
# Legacy fog name support to be REMOVED May 2026
if provider == "webdav" || provider == "dav"

if provider == "dav"
options["provider"] = "dav"
options["user"] = l.p("#{scope}.username")
options["password"] = l.p("#{scope}.password")
Expand Down
36 changes: 0 additions & 36 deletions jobs/cc_deployment_updater/templates/cloud_controller_ng.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,6 @@ resource_pool:
blobstore_provider: <%= rp_provider %>
<% end %>
connection_config: <%= link("cloud_controller_internal").p("cc.resource_pool.connection_config", {}).to_json %>
<% link("cloud_controller_internal").if_p("cc.resource_pool.cdn") do %>
cdn:
uri: <%= link("cloud_controller_internal").p("cc.resource_pool.cdn.uri") %>
key_pair_id: <%= link("cloud_controller_internal").p("cc.resource_pool.cdn.key_pair_id") %>
private_key: <%= link("cloud_controller_internal").p("cc.resource_pool.cdn.private_key").inspect %>
<% end %>
fog_connection: <%= link("cloud_controller_internal").p("cc.resource_pool.fog_connection", {}).to_json %>
fog_aws_storage_options: <%= link("cloud_controller_internal").p("cc.resource_pool.fog_aws_storage_options", {}).to_json %>
fog_gcp_storage_options: <%= link("cloud_controller_internal").p("cc.resource_pool.fog_gcp_storage_options", {}).to_json %>

packages:
blobstore_type: <%= link("cloud_controller_internal").p("cc.packages.blobstore_type") %>
Expand All @@ -222,15 +213,6 @@ packages:
<% end %>
connection_config: <%= link("cloud_controller_internal").p("cc.packages.connection_config", {}).to_json %>
max_package_size: <%= link("cloud_controller_internal").p("cc.packages.max_package_size") %>
<% link("cloud_controller_internal").if_p("cc.packages.cdn") do %>
cdn:
uri: <%= link("cloud_controller_internal").p("cc.packages.cdn.uri") %>
key_pair_id: <%= link("cloud_controller_internal").p("cc.packages.cdn.key_pair_id") %>
private_key: <%= link("cloud_controller_internal").p("cc.packages.cdn.private_key").inspect %>
<% end %>
fog_connection: <%= link("cloud_controller_internal").p("cc.packages.fog_connection", {}).to_json %>
fog_aws_storage_options: <%= link("cloud_controller_internal").p("cc.packages.fog_aws_storage_options", {}).to_json %>
fog_gcp_storage_options: <%= link("cloud_controller_internal").p("cc.packages.fog_gcp_storage_options", {}).to_json %>


droplets:
Expand All @@ -249,15 +231,6 @@ droplets:
blobstore_provider: <%= dp_provider %>
<% end %>
connection_config: <%= link("cloud_controller_internal").p("cc.droplets.connection_config", {}).to_json %>
<% link("cloud_controller_internal").if_p("cc.droplets.cdn") do %>
cdn:
uri: <%= link("cloud_controller_internal").p("cc.droplets.cdn.uri") %>
key_pair_id: <%= link("cloud_controller_internal").p("cc.droplets.cdn.key_pair_id") %>
private_key: <%= link("cloud_controller_internal").p("cc.droplets.cdn.private_key").inspect %>
<% end %>
fog_connection: <%= link("cloud_controller_internal").p("cc.droplets.fog_connection", {}).to_json %>
fog_aws_storage_options: <%= link("cloud_controller_internal").p("cc.droplets.fog_aws_storage_options", {}).to_json %>
fog_gcp_storage_options: <%= link("cloud_controller_internal").p("cc.droplets.fog_gcp_storage_options", {}).to_json %>

buildpacks:
blobstore_type: <%= link("cloud_controller_internal").p("cc.buildpacks.blobstore_type") %>
Expand All @@ -275,15 +248,6 @@ buildpacks:
blobstore_provider: <%= bp_provider %>
<% end %>
connection_config: <%= link("cloud_controller_internal").p("cc.buildpacks.connection_config", {}).to_json %>
<% link("cloud_controller_internal").if_p("cc.buildpacks.cdn") do %>
cdn:
uri: <%= link("cloud_controller_internal").p("cc.buildpacks.cdn.uri") %>
key_pair_id: <%= link("cloud_controller_internal").p("cc.buildpacks.cdn.key_pair_id") %>
private_key: <%= link("cloud_controller_internal").p("cc.buildpacks.cdn.private_key").inspect %>
<% end %>
fog_connection: <%= link("cloud_controller_internal").p("cc.buildpacks.fog_connection", {}).to_json %>
fog_aws_storage_options: <%= link("cloud_controller_internal").p("cc.buildpacks.fog_aws_storage_options", {}).to_json %>
fog_gcp_storage_options: <%= link("cloud_controller_internal").p("cc.buildpacks.fog_gcp_storage_options", {}).to_json %>

skip_cert_verify: <%= link("cloud_controller_internal").p("ssl.skip_cert_verify") %>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ if provider == "gcs"
add_optional(options, "encryption_key", l.p("#{scope}.encryption_key", nil))
end

# Support both native storage-cli types (s3) AND legacy fog names (AWS)
# Legacy fog name support to be REMOVED May 2026
if provider == "AWS" || provider == "s3"
if provider == "s3"
options["provider"] = provider
options["bucket_name"] = l.p("#{scope}.bucket_name")
if l.p("#{scope}.use_iam_profile", false)
Expand Down Expand Up @@ -89,9 +87,8 @@ if provider == "alioss"
options["bucket_name"] = l.p("#{scope}.aliyun_oss_bucket")
end

# Support both native storage-cli types (dav) AND legacy fog names (webdav)
# Legacy fog name support to be REMOVED May 2026
if provider == "webdav" || provider == "dav"

if provider == "dav"
options["provider"] = "dav"
options["user"] = l.p("#{scope}.username")
options["password"] = l.p("#{scope}.password")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ if provider == "gcs"
add_optional(options, "encryption_key", l.p("#{scope}.encryption_key", nil))
end

# Support both native storage-cli types (s3) AND legacy fog names (AWS)
# Legacy fog name support to be REMOVED May 2026
if provider == "AWS" || provider == "s3"
if provider == "s3"
options["provider"] = provider
options["bucket_name"] = l.p("#{scope}.bucket_name")
if l.p("#{scope}.use_iam_profile", false)
Expand Down Expand Up @@ -89,9 +87,8 @@ if provider == "alioss"
options["bucket_name"] = l.p("#{scope}.aliyun_oss_bucket")
end

# Support both native storage-cli types (dav) AND legacy fog names (webdav)
# Legacy fog name support to be REMOVED May 2026
if provider == "webdav" || provider == "dav"

if provider == "dav"
options["provider"] = "dav"
options["user"] = l.p("#{scope}.username")
options["password"] = l.p("#{scope}.password")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ if provider == "gcs"
add_optional(options, "encryption_key", l.p("#{scope}.encryption_key", nil))
end

# Support both native storage-cli types (s3) AND legacy fog names (AWS)
# Legacy fog name support to be REMOVED May 2026
if provider == "AWS" || provider == "s3"
if provider == "s3"
options["provider"] = provider
options["bucket_name"] = l.p("#{scope}.bucket_name")
if l.p("#{scope}.use_iam_profile", false)
Expand Down Expand Up @@ -89,9 +87,8 @@ if provider == "alioss"
options["bucket_name"] = l.p("#{scope}.aliyun_oss_bucket")
end

# Support both native storage-cli types (dav) AND legacy fog names (webdav)
# Legacy fog name support to be REMOVED May 2026
if provider == "webdav" || provider == "dav"

if provider == "dav"
options["provider"] = "dav"
options["user"] = l.p("#{scope}.username")
options["password"] = l.p("#{scope}.password")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ if provider == "gcs"
add_optional(options, "encryption_key", l.p("#{scope}.encryption_key", nil))
end

# Support both native storage-cli types (s3) AND legacy fog names (AWS)
# Legacy fog name support to be REMOVED May 2026
if provider == "AWS" || provider == "s3"
if provider == "s3"
options["provider"] = provider
options["bucket_name"] = l.p("#{scope}.bucket_name")
if l.p("#{scope}.use_iam_profile", false)
Expand Down Expand Up @@ -89,9 +87,8 @@ if provider == "alioss"
options["bucket_name"] = l.p("#{scope}.aliyun_oss_bucket")
end

# Support both native storage-cli types (dav) AND legacy fog names (webdav)
# Legacy fog name support to be REMOVED May 2026
if provider == "webdav" || provider == "dav"

if provider == "dav"
options["provider"] = "dav"
options["user"] = l.p("#{scope}.username")
options["password"] = l.p("#{scope}.password")
Expand Down
Loading