Register
-
EC2 인스턴스에 깃랩 러너 동작원리 + 등록하기 + SSL 구성Infra/gitlab 2024. 5. 12. 16:51
깃랩 러너란? GitLab Runner는 GitLab CI/CD와 함께 파이프라인에서 작업을 실행하는 애플리케이션이다. 기본적으로 CI/CD 파이프라인이 동작하면 뒤에서깃랩 러너는 프로젝트를 클론하고 .gitlab-ci.yml 파일을 읽는다. 그래서 연관된 task들을 실행시키고 최종적으로 그 실행 결과를 깃랩 인스턴스에게 전달한다. 위와 같이 내부적으로 priviliged 를 받은 러너가 호스트 머신에 docker container 를 동작시키고 있었다. 깃랩 러너들의 동작을 관리하는 것이 깃랩 콘솔이다. Go Language로 작성되어 있는 오픈 소스이다. 한 깃랩 아키텍처에서 여러 러너들을 추가하거나 삭제할 수 있다. Saas 형식으로 제공받을 수도 있고 온디맨드로 직접 깃랩 러너를 운영할 수 있..