Skip to content

Commit

Permalink
add the new field in more required places
Browse files Browse the repository at this point in the history
  • Loading branch information
alonre24 committed May 1, 2024
1 parent 0611958 commit ecfcd59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RAMP/module_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
RUN_COMMAND_LINE_ARGS = None
MIN_REDIS_VERSION = "4.0"
MIN_REDIS_PACK_VERSION = "5.2"
COMPATIBLE_REDIS_VERSION = "7.6"
RAMP_FORMAT_VERSION = 1
CONFIG_COMMAND = ""
OVERIDE_COMMAND = [] # type: List[Dict[str, str]]
Expand Down Expand Up @@ -121,6 +122,7 @@ def create_default_metadata(module_path):
"optional-dependencies": MODULE_OPTIONAL_DEPENDENCIES,
"min_redis_version": MIN_REDIS_VERSION,
"min_redis_pack_version": MIN_REDIS_PACK_VERSION,
"compatible_redis_version": COMPATIBLE_REDIS_VERSION,
"sha256": sha256_checksum(module_path),
"commands": MODULE_COMMANDS,
"ramp_format_version": RAMP_FORMAT_VERSION,
Expand Down
1 change: 1 addition & 0 deletions RAMP/ramp.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def unpack(bundle):
@click.option('--runcmdargs', 'run_command_line_args', default=None, help='if set, use those args when running the redis server')
@click.option('--redis-min-version', '-r', 'min_redis_version', default=None, help='redis minimum version')
@click.option('--redis-pack-min-version', '-R', 'min_redis_pack_version', default=None, help='redis pack minimum version')
@click.option('--compatible_redis_version', '-R', 'compatible_redis_version', default=None, help='redis compatible version')
@click.option('--config-command', '-cc', default=None, help='command used to configure module args at runtime')
@click.option('--os', '-O', default=None, help='build target OS (Darwin/Linux)')
@click.option('--capabilities', '-C', callback=comma_seperated_to_list, help='comma separated list of module capabilities')
Expand Down

0 comments on commit ecfcd59

Please sign in to comment.