fix: default api_base to internal backend URL to bypass OAuth proxy
The public URL (legalpoc.eroomai.com) sits behind a Google OAuth proxy, so CI requests get 302-redirected to the login page. Point api_base at the internal backend (http://localhost:8800, served at root without /api prefix) which the act_runner reaches on the same host. Documents host.docker.internal and Tailscale fallbacks for containerized runners. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,16 @@
|
|||||||
#
|
#
|
||||||
# 요구사항:
|
# 요구사항:
|
||||||
# - 저장소 설정에서 Actions 활성화 + act_runner 등록 (runs-on: ubuntu-latest 라벨)
|
# - 저장소 설정에서 Actions 활성화 + act_runner 등록 (runs-on: ubuntu-latest 라벨)
|
||||||
# - runner 에서 legalpoc.eroomai.com 접근 가능해야 함
|
# - 러너가 백엔드에 내부 주소로 접근 가능해야 함 (아래 api_base 참고)
|
||||||
|
#
|
||||||
|
# 인증 (중요):
|
||||||
|
# 공개 URL(https://legalpoc.eroomai.com)은 Google OAuth 프록시(auth.eroomai.com)
|
||||||
|
# 뒤에 있어서 CI 에서는 302 로 로그인 페이지로 튕긴다. 그래서 api_base 기본값을
|
||||||
|
# 프록시를 거치지 않는 내부 주소(http://localhost:8800)로 둔다.
|
||||||
|
# 내부 백엔드는 /api 접두사 없이 루트로 API 를 제공한다(/upload-agent, /sse/agent/...).
|
||||||
|
# ※ 러너 job 이 컨테이너 안에서 돌아 localhost 로 호스트에 못 닿으면
|
||||||
|
# api_base 를 http://host.docker.internal:8800 또는
|
||||||
|
# http://eroom-server.tailabbfd5.ts.net:8800 로 바꿔서 실행할 것.
|
||||||
#
|
#
|
||||||
# 실행 흐름 (SKILL.md §0.6 경로 A):
|
# 실행 흐름 (SKILL.md §0.6 경로 A):
|
||||||
# upload-agent 등록 → SSE start → stage_complete 자동 confirm → execution_complete
|
# upload-agent 등록 → SSE start → stage_complete 자동 confirm → execution_complete
|
||||||
@@ -52,9 +61,9 @@ on:
|
|||||||
default: '0'
|
default: '0'
|
||||||
type: string
|
type: string
|
||||||
api_base:
|
api_base:
|
||||||
description: 'AgentBackend API base URL'
|
description: 'AgentBackend API base URL (내부 주소, /api 접두사 없음)'
|
||||||
required: false
|
required: false
|
||||||
default: 'https://legalpoc.eroomai.com/api'
|
default: 'http://localhost:8800'
|
||||||
type: string
|
type: string
|
||||||
max_runtime_seconds:
|
max_runtime_seconds:
|
||||||
description: '총 실행 시간 상한(초). Gitea/act_runner 3h 상한보다 짧게'
|
description: '총 실행 시간 상한(초). Gitea/act_runner 3h 상한보다 짧게'
|
||||||
|
|||||||
Reference in New Issue
Block a user