From 1d182e8fc65beb2b98a127b9826babb099adc5d7 Mon Sep 17 00:00:00 2001 From: chyoo Date: Mon, 6 Jul 2026 10:03:54 +0900 Subject: [PATCH] align launcher source and build handling --- src/pages/launcher/LauncherBuildPage.tsx | 33 +++++++++-------------- src/pages/launcher/LauncherSourcePage.tsx | 17 +++++------- src/pages/operations/UserSessionsPage.tsx | 12 ++++++++- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/pages/launcher/LauncherBuildPage.tsx b/src/pages/launcher/LauncherBuildPage.tsx index 64b20d7..dc4d18f 100644 --- a/src/pages/launcher/LauncherBuildPage.tsx +++ b/src/pages/launcher/LauncherBuildPage.tsx @@ -92,7 +92,6 @@ export function LauncherBuildPage() { const clientSource = source?.client; const artifactName = `autonomy-studio-launcher-${version || activeVersion?.version || '0.0.0'}.deb`; const backendImageName = backendSource?.image || 'localhost:5000/studio-launcher-be'; - const backendImageTag = `${backendImageName.replace(/\/$/, '')}:${version || '0.1.0'}`; const backendDockerfile = backendSource?.dockerfile || 'Dockerfile'; const uploadPath = launcherArtifactKey(version || activeVersion?.version || '0.0.0', branch, commitSha, artifactName); const downloadUrl = r2PublicBaseUrl ? `${r2PublicBaseUrl.replace(/\/$/, '')}/${encodeObjectKey(uploadPath)}` : '백엔드 R2 설정 기준으로 생성됩니다.'; @@ -165,10 +164,10 @@ export function LauncherBuildPage() { repository: isBackend ? backendSource?.repository ?? undefined : clientSource?.repository ?? activeVersion?.repository ?? undefined, branch, commitSha: commitSha.trim() || undefined, - version: isBackend ? version.trim() : undefined, + version: undefined, uploadPath: isBackend ? backendDockerfile : uploadPath, artifact: isBackend ? backendImageName.replace(/^localhost:5000\//, '') : undefined, - downloadUrl: isBackend ? backendImageTag : r2PublicBaseUrl ? downloadUrl : undefined + downloadUrl: isBackend ? undefined : r2PublicBaseUrl ? downloadUrl : undefined }) .then(({ job }) => { setJobs((prev) => [job, ...prev]); @@ -189,7 +188,7 @@ export function LauncherBuildPage() { title="빌드 관리" description="런처 클라이언트 설치 파일과 백엔드 컨테이너 이미지를 구성요소별로 빌드합니다." actions={ - @@ -209,17 +208,10 @@ export function LauncherBuildPage() {
- {isBackend ? ( - - ) : ( -
-

버전

-

빌드 후 package.json 기준으로 자동 확정

-
- )} +
+

버전

+

빌드 후 package.json 기준으로 자동 확정

+