38 lines
1.3 KiB
YAML
38 lines
1.3 KiB
YAML
# Configuration for setting up profiles for a simulation or test run.
|
|
# This file is used by the `bin/ytops-client setup-profiles` command.
|
|
# It uses a common pool definition to avoid repetition.
|
|
|
|
simulation_parameters:
|
|
# --- Common Redis settings for all tools ---
|
|
# The environment name ('env') is now specified in each setup block below.
|
|
env_file: ".env" # Optional: path to a .env file.
|
|
|
|
# --- Common Pool Definitions ---
|
|
# Define the profile pools once. They will be created in both
|
|
# the auth and download simulation environments.
|
|
# The `setup-profiles` tool must be updated to support this format.
|
|
common_pools:
|
|
- prefixes: ["user31"]
|
|
proxy: "sslocal-rust-1088:1088"
|
|
count: 3
|
|
- prefixes: ["user32"]
|
|
proxy: "sslocal-rust-1085:1085"
|
|
count: 3
|
|
- prefixes: ["user61", "user62"]
|
|
proxy: "sslocal-rust-1084:1084"
|
|
count: 3
|
|
|
|
# --- Profile setup for the AUTHENTICATION simulation ---
|
|
auth_profile_setup:
|
|
env: "sim_auth"
|
|
cleanup_before_run: true
|
|
# The setup tool will use the 'common_pools' defined above.
|
|
use_common_pools: true
|
|
|
|
# --- Profile setup for the DOWNLOAD simulation ---
|
|
download_profile_setup:
|
|
env: "sim_download"
|
|
cleanup_before_run: true
|
|
# The setup tool will also use the 'common_pools' defined above.
|
|
use_common_pools: true
|