This repository was archived by the owner on Jun 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 90
ScratchOrg Pooling Examples
Vu Ha edited this page Jul 6, 2022
·
8 revisions
JSON Schema for the pool configuration is available at the link
IP ranges have to be relaxed when using tag mode to skip verification emails all Scratch Orgs created will have the creation email set to the user who triggered the pool.
{
"pool": {
"expiry": 1,
"tag":"sfpowerkit",
"max_allocation": 10,
"config_file_path": "config/project-scratch-def.json",
"script_file_path": "scripts/so_script.sh",
"relax_ip_ranges": [
{
"start": "49.0.0.0",
"end": "49.255.255.255"
},
{
"start": "42.0.0.0",
"end": "42.255.255.255"
}
]
}
}
{
"pool": {
"expiry": 1,
"tag":"sfpowerkit",
"max_allocation": 10,
"config_file_path": "config/project-scratch-def.json",
"relax_all_ip_ranges": true,
"script_file_path": "scripts/so_script.sh"
}
}
{
"pool": {
"expiry": 1,
"tag":"sfpowerkit",
"max_allocation": 10,
"config_file_path": "config/project-scratch-def.json",
"script_file_path": "scripts/so_script.sh"
},
"poolUsers": [
{
"max_allocation": 5,
"min_allocation": 2,
"username": "email",
"expiry": 1,
"priority": 1
}
]
}