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

Re-add dummy redis job #431

Merged
merged 1 commit into from
Jul 1, 2024
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/cloud_controller_ng/spec
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ properties:
default: false

cc.experimental.use_redis:
description: "Use co-deployed Redis for rate limiting and metrics. If the Puma webserver is enabled, Redis will automatically be used."
description: "Use co-deployed Valkey (Redis fork) for rate limiting and metrics. If the Puma webserver is enabled, Valkey will automatically be used."
default: false

cc.puma.workers:
Expand Down
1 change: 1 addition & 0 deletions jobs/redis/monit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Empty
6 changes: 6 additions & 0 deletions jobs/redis/spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: redis

templates: []

properties: {}
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 @@ -567,9 +567,9 @@ module Test
end
end

describe 'redis config' do
describe 'valkey config' do
context 'when the puma webserver is used' do
it 'renders the redis socket into the ccng config' do
it 'renders the valkey socket into the ccng config' do
merged_manifest_properties['cc']['experimental'] = { 'use_puma_webserver' => true }
template_hash = YAML.safe_load(template.render(merged_manifest_properties, consumes: links))
expect(template_hash['redis']['socket']).to eq('/var/vcap/data/valkey/valkey.sock')
Expand Down