From 9dc8b26c1149fa0f016a704e646e9721ffd8bc44 Mon Sep 17 00:00:00 2001 From: yunchan8804 Date: Wed, 15 Apr 2026 23:11:38 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20lint/typecheck/unit-test=EB=A5=BC=20manua?= =?UTF-8?q?l=20=ED=8A=B8=EB=A6=AC=EA=B1=B0=EB=A1=9C=20=E2=80=94=20Docker?= =?UTF-8?q?=20runner=20=EB=B6=80=EC=9E=AC=EB=A1=9C=20stuck=20=EB=B0=A9?= =?UTF-8?q?=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit main 푸시마다 자동으로 도는 구조였는데 사내 GitLab에 Docker runner 없어서 계속 pending으로 남음. 필요할 때 UI에서 수동 트리거. Docker runner 붙이면 rules 복원. --- .gitlab-ci.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) 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 브랜치 수동 트리거 시 실행.