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

Add keyDb -TEST PR #3843

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
8 changes: 4 additions & 4 deletions omnibus/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
GIT
remote: https://github.com/chef/omnibus-software.git
revision: e4e5868d0c7cfcc2d66f5cc2e43c6eeb0f495f22
revision: ca4f96b89f63093570b902da0dfa5180b514d19c
branch: main
specs:
omnibus-software (24.4.319)
omnibus-software (24.6.323)
omnibus (>= 9.0.0)

GIT
remote: https://github.com/chef/omnibus.git
revision: 82dae896a066542f1b66dc866186f856f37e518e
revision: 41d5c3bcc0c0c191bc1c85681737315c96946f5d
branch: main
specs:
omnibus (9.0.23)
omnibus (9.0.25)
aws-sdk-s3 (~> 1.116.0)
chef-cleanroom (~> 1.0)
chef-utils (>= 15.4)
Expand Down
46 changes: 46 additions & 0 deletions omnibus/config/software/keydb.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#
# Copyright:: Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name "keydb"

license "BSD-3-Clause"
license_file "COPYING"
skip_transitive_dependency_licensing true

dependency "config_guess"
dependency "openssl"
dependency "curl"

default_version "6.3.4"

source url: "https://github.com/Snapchat/KeyDB/archive/refs/tags/v#{version}.tar.gz"
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
relative_path "KeyDB-#{version}"

# version_list: url=https://github.com/Snapchat/KeyDB/archive/refs/tags/ filter=*.tar.gz
version("6.3.4") { source sha256: "229190b251f921e05aff7b0d2f04b5676c198131e2abbec1e2cfb2e61215e2f3" }

build do
env = with_standard_compiler_flags(with_embedded_path)
env["CFLAGS"] << " -I#{install_dir}/embedded/include"
env["LDFLAGS"] << " -L#{install_dir}/embedded/lib"

update_config_guess

command "make" , env: env
command "make install", env: env
end
1 change: 1 addition & 0 deletions omnibus/config/software/server-complete.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
dependency "postgresql13"
dependency "redis" # dynamic routing controls
dependency "haproxy"
dependency "keydb"
dependency "opensearch" # used by search

# moved earlier because it is external to this repo and pinned, so should change infrequently
Expand Down
Loading