Repository navigation
Conversation
Actions 러너에서 CI 통과 후 GCP OIDC + IAP 터널로 서버 DB에 붙어 수집 배치를 돌린다
yuyeol3
force-pushed
the
yuyeol3/chore/collect
branch
from
October 29, 2026 07:53
7a6e9c3 to
8fb3822
Compare
yuyeol3
marked this pull request as ready for review
October 29, 2026 07:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경점 👍
수집 배치를 GitHub Actions에서 주기적으로 돌려 서버 DB에 씁니다. 서버(e2-micro, 1GB)에는 Chromium 8개를 띄울 여유가 없어서 러너에서 실행합니다.
collect.ymlworkflow_dispatch)할 수 있습니다.main→ dev DB,release→ 운영 DB입니다. 운영은 레포 변수PROD_ENABLED=true일 때만 돕니다(운영 서버 준비 전에는 건너뜀)._collect.yml(재사용 워크플로)ci.yml(테스트)을 먼저 돌립니다. 실패하면 수집하지 않습니다.127.0.0.1:5678)를 러너15432에 연결합니다. DB 포트를 외부에 열지 않습니다../gradlew bootRun으로 배치를 실행합니다. 배치가 FAILED면 #17에서 고친 종료 코드 때문에 단계가 실패합니다.CLAUDE.md: 수집 워크플로 설정, 필요한 Environment 값, 그리고 "엔티티가 새 컬럼을 쓰면 Fin-BE 배포가 먼저"라는 순서 제약을 적었습니다.테스트 💻
머지 전 체크리스트
dev변수·시크릿 등록updated_at확인 (전환 때 dev DB를 비우므로 이 실행이 첫 상품 적재)