File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -84,11 +84,11 @@ validate_mode() {
84
84
# Function to validate a env value i.e. prod or staging
85
85
validate_env () {
86
86
local env=" $1 "
87
- if [ " $env " == " prod" ] || [ " $env " == " staging" ]; then
87
+ if [ " $env " == " prod" ] || [ " $env " == " staging" ] || [ " $env " == " preprod " ] ; then
88
88
# echo "Valid mode value"
89
89
echo
90
90
else
91
- echo " Invalid mode value. Please enter either prod or staging."
91
+ echo " Invalid mode value. Please enter either prod or staging or preprod ."
92
92
exit 1
93
93
fi
94
94
}
@@ -431,6 +431,12 @@ optional_params_cli=(
431
431
" nexus_url"
432
432
" cr_event_type"
433
433
" posting_to_pr"
434
+ " custom_rules.configured_ws_ids"
435
+ " custom_rules.aws_access_key_id"
436
+ " custom_rules.aws_secret_access_key"
437
+ " custom_rules.region_name"
438
+ " custom_rules.bucket_name"
439
+ " custom_rules.aes_key"
434
440
)
435
441
436
442
# Parameters that are required/optional in mode server
@@ -460,6 +466,12 @@ optional_params_server=(
460
466
" code_context"
461
467
" nexus_url"
462
468
" cr_event_type"
469
+ " custom_rules.configured_ws_ids"
470
+ " custom_rules.aws_access_key_id"
471
+ " custom_rules.aws_secret_access_key"
472
+ " custom_rules.region_name"
473
+ " custom_rules.bucket_name"
474
+ " custom_rules.aes_key"
463
475
)
464
476
465
477
bee_params=(
You can’t perform that action at this time.
0 commit comments