mirror of
https://github.com/project-zot/zot.git
synced 2025-04-01 02:42:32 -05:00
test: do not use the clustering feature in case of redis + s3 storage
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
parent
8438c83a23
commit
88ad384506
3 changed files with 0 additions and 8 deletions
|
@ -32,7 +32,6 @@ function launch_zot_server() {
|
|||
local zot_log_file="${ZOT_LOG_DIR}/zot-${zot_server_address}-${zot_server_port}.log"
|
||||
|
||||
create_zot_cloud_redis_config_file ${zot_server_address} ${zot_server_port} ${zot_root_dir} ${zot_config_file} ${zot_log_file} ${redis_url}
|
||||
update_zot_cluster_member_list_in_config_file ${zot_config_file} ${ZOT_CLUSTER_MEMBERS_PATCH_FILE}
|
||||
|
||||
echo "launching zot server ${zot_server_address}:${zot_server_port}" >&3
|
||||
echo "config file: ${zot_config_file}" >&3
|
||||
|
@ -55,7 +54,6 @@ function setup() {
|
|||
|
||||
# setup S3 bucket and DynamoDB tables
|
||||
setup_cloud_services
|
||||
generate_zot_cluster_member_list ${NUM_ZOT_INSTANCES} ${ZOT_CLUSTER_MEMBERS_PATCH_FILE}
|
||||
|
||||
for ((i=0;i<${NUM_ZOT_INSTANCES};i++)); do
|
||||
launch_zot_server 127.0.0.1 $(( 10000 + $i )) ${redis_url}
|
||||
|
|
|
@ -32,7 +32,6 @@ function launch_zot_server() {
|
|||
local zot_log_file="${ZOT_LOG_DIR}/zot-${zot_server_address}-${zot_server_port}.log"
|
||||
|
||||
create_zot_cloud_redis_config_file ${zot_server_address} ${zot_server_port} ${zot_root_dir} ${zot_config_file} ${zot_log_file} ${redis_url}
|
||||
update_zot_cluster_member_list_in_config_file ${zot_config_file} ${ZOT_CLUSTER_MEMBERS_PATCH_FILE}
|
||||
|
||||
echo "launching zot server ${zot_server_address}:${zot_server_port}" >&3
|
||||
echo "config file: ${zot_config_file}" >&3
|
||||
|
@ -55,7 +54,6 @@ function setup() {
|
|||
|
||||
# setup S3 bucket and DynamoDB tables
|
||||
setup_cloud_services
|
||||
generate_zot_cluster_member_list ${NUM_ZOT_INSTANCES} ${ZOT_CLUSTER_MEMBERS_PATCH_FILE}
|
||||
|
||||
for ((i=0;i<${NUM_ZOT_INSTANCES};i++)); do
|
||||
launch_zot_server 127.0.0.1 $(( 10000 + $i )) ${redis_url}
|
||||
|
|
|
@ -272,10 +272,6 @@ function create_zot_cloud_redis_config_file() {
|
|||
"address": "${zot_server_address}",
|
||||
"port": "${zot_server_port}"
|
||||
},
|
||||
"cluster": {
|
||||
"members": [],
|
||||
"hashKey": "loremipsumdolors"
|
||||
},
|
||||
"log": {
|
||||
"level": "debug",
|
||||
"output": "${zot_log_file}"
|
||||
|
|
Loading…
Add table
Reference in a new issue