diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2e68260..e60a408 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,9 +20,8 @@ variables: - node_modules/ # ──────────────────────────────────────────────────────────────────── -# Docker 기반 검증 잡 — shared Docker runner가 있을 때만 동작. -# MR/default 브랜치에서만 실행. 태그 푸시에서는 건너뜀(실제 배포는 package-windows). -# 사내 GitLab에 Docker runner가 없으면 rules를 `when: manual`로 바꾸거나 비활성화할 것. +# Docker 기반 검증 잡 — 사내 GitLab에 Docker runner가 없으므로 전부 manual. +# 필요 시 UI에서 수동 트리거. Docker runner 붙이면 rules를 auto로 복원. # ──────────────────────────────────────────────────────────────────── lint: stage: check @@ -34,8 +33,11 @@ lint: - npm run lint rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" + when: manual + allow_failure: true - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - allow_failure: true + when: manual + allow_failure: true typecheck: stage: check @@ -47,8 +49,11 @@ typecheck: - npm run typecheck rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" + when: manual + allow_failure: true - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - allow_failure: true + when: manual + allow_failure: true unit-test: stage: test @@ -60,8 +65,11 @@ unit-test: - npm run test:unit rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" + when: manual + allow_failure: true - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - allow_failure: true + when: manual + allow_failure: true # ──────────────────────────────────────────────────────────────────── # Package Windows — 태그 푸시(v*) 또는 default 브랜치 수동 트리거 시 실행.