Skip to content

Commit

Permalink
feature(sct_config): appendable configuration values
Browse files Browse the repository at this point in the history
introduce new option for appending to string or list configuration values

1) strings: can be appended with adding `++` at the begining of the string:
   `export SCT_APPEND_SCYLLA_ARGS="++ --overprovisioned 1"`

2) list: can be appended by adding `++` as the first item of the list
   `export SCT_SCYLLA_D_OVERRIDES_FILES='["++", "extra_file/scylla.d/io.conf"]'`

Note list would work on every config defiend with `str_or_list_or_eval`
with the expection of `config_files`, `region_name`, `gce_datacenter` and `gce_datacenter`
which can't be appended, and would need to be overriden completly

Ref: #7653
(cherry picked from commit e80f2bf)
  • Loading branch information
fruch committed Dec 31, 2024
1 parent 292fcce commit 7099679
Show file tree
Hide file tree
Showing 4 changed files with 878 additions and 31 deletions.
Loading

0 comments on commit 7099679

Please sign in to comment.