ci: build-and-push 워크플로우에 fetch_cli.py 실행 옵션을 추가합니다#891
Merged
Conversation
- workflow_dispatch inputs에 fetch_arguments 선택 옵션 추가 - '--recent --attachments' (기본값) - '--remote --attachments' - Push 완료 후 선택한 인자로 fetch_cli.py를 실행하는 스텝 추가 - workflow_dispatch 실행 시에만 fetch 스텝이 동작하도록 조건 설정 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Run fetch_cli.py 스텝의 workflow_dispatch 전용 조건을 제거합니다
- push/pull_request 트리거 시 inputs.fetch_arguments가 없으므로
'${{ inputs.fetch_arguments || '--recent --attachments' }}' 로 기본값을 보장합니다
- fetch_state.yaml은 Dockerfile Stage 1에서 cache/ → var/ 복사 및 fetch 실행 후
Stage 2에서 COPY --from=builder 로 최종 이미지에 포함됨을 확인하였습니다
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
keIIy-kim
approved these changes
Mar 9, 2026
- fetch_cli.py 실행은 Dockerfile Stage 1에서 이미 처리되므로 워크플로우 스텝 불필요 - 추가한 workflow_dispatch inputs(fetch_arguments) 및 Run fetch_cli.py 스텝을 원복합니다 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Dockerfile Stage 1의 fetch_cli.py 인자를 ARG FETCH_ARGS로 파라미터화합니다 - 기본값: --recent --attachments (증분 수집) - 선택: --remote --attachments (전체 수집) - workflow_dispatch inputs에 fetch_arguments 옵션을 추가합니다 - Build Docker image 스텝에서 --build-arg로 FETCH_ARGS를 전달합니다 - push/pull_request 자동 트리거 시에는 기본값 --recent --attachments가 적용됩니다 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Description
fetch_cli.py인자를ARG FETCH_ARGS로 파라미터화합니다.workflow_dispatch수동 실행 시 fetch 방식을 선택할 수 있습니다.--recent --attachments(기본값) —fetch_state.yaml의 마지막 수집 시점 이후 변경 페이지만 수집--remote --attachments— 전체 페이지 트리를 API로 다시 수집push/pull_request자동 트리거 시에는 기본값--recent --attachments가 적용됩니다.--build-arg "FETCH_ARGS=..."로 Dockerfile에 전달되어 이미지에 결과가 반영됩니다.Added/updated tests?
Additional notes