fix: bootstrap stable default profile instances

This commit is contained in:
2026-08-13 16:03:46 +00:00
parent bba8664714
commit 8a3a520b9e
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -64,6 +64,6 @@ const profiles = (process.env.BOOTSTRAP_PROFILES || 'gateway,che,kwe,pwe,twe,nya
for (const profile of profiles) {
const apiPort = profilePorts.get(profile);
if (!apiPort) throw new Error(`No reserved API port is defined for profile: ${profile}`);
await post('admin.profiles.upsert', { profile, scenario: 'default', apiPort, status: 'STOPPED' }, sessionToken);
await post('admin.profiles.upsert', { profile, instanceKey: 'default', apiPort, status: 'STOPPED' }, sessionToken);
}
console.log(`Registered ${profiles.length} stopped profiles for branch-selectable Admin deployments.`);
console.log(`Registered ${profiles.length} stopped default instances for branch-selectable Admin deployments.`);