Merge branch 'fix/profile-identity-bootstrap-20260813'
This commit is contained in:
@@ -77,6 +77,9 @@ password 24자, game/bootstrap token 32자, 최초 관리자 password 16자입
|
|||||||
`pya`, `hwe`마다 source branch/commit을 독립 선택합니다. `DB 유지 배포`는 현
|
`pya`, `hwe`마다 source branch/commit을 독립 선택합니다. `DB 유지 배포`는 현
|
||||||
시즌을 보존하고, `DB 초기화 배포`는 scenario를 다시 seed합니다. Gateway 자체의
|
시즌을 보존하고, `DB 초기화 배포`는 scenario를 다시 seed합니다. Gateway 자체의
|
||||||
배포와 이전 commit rollback은 같은 화면의 별도 release 영역에서 처리됩니다.
|
배포와 이전 commit rollback은 같은 화면의 별도 release 영역에서 처리됩니다.
|
||||||
|
초기 profile의 `<profile>:default`에서 `default`는 현재 scenario가 아니라 변경되지
|
||||||
|
않는 인스턴스 키입니다. 현재 scenario는 DB 초기화 배포가 성공한 뒤 Gateway DB의
|
||||||
|
별도 필드에 기록됩니다.
|
||||||
|
|
||||||
이미지 서비스 연동에는 서버 간 접근 URL `IMAGE_SERVICE_URL`, 브라우저 공개 URL
|
이미지 서비스 연동에는 서버 간 접근 URL `IMAGE_SERVICE_URL`, 브라우저 공개 URL
|
||||||
`IMAGE_PUBLIC_URL`과 서로 다른 두 secret 파일이 필요합니다. 업로드 secret은
|
`IMAGE_PUBLIC_URL`과 서로 다른 두 secret 파일이 필요합니다. 업로드 secret은
|
||||||
|
|||||||
@@ -64,6 +64,6 @@ const profiles = (process.env.BOOTSTRAP_PROFILES || 'gateway,che,kwe,pwe,twe,nya
|
|||||||
for (const profile of profiles) {
|
for (const profile of profiles) {
|
||||||
const apiPort = profilePorts.get(profile);
|
const apiPort = profilePorts.get(profile);
|
||||||
if (!apiPort) throw new Error(`No reserved API port is defined for profile: ${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.`);
|
||||||
|
|||||||
Reference in New Issue
Block a user