본문 바로가기

CICD/GITLAB3

[Gitlab] Mirror 적용 구조 Mirror를 통한 Repository가 자동으로 복제되는 작업작업 절차레포지토리 Mirror용 계정 생성하기 – 패스생성한 계정으로 Access key 발급하기 – 패스전체 그룹 및 프로젝트에 강제 푸쉬 설정원본 서버에서 Outbound 설정하기원본 서버에서 mirror 설정하기모니터링1. Gitlab Mirror를 위한 레포지토리 생성하기원본 GITLAB에 프로젝트 정보 확인Mirror Gitlab 레포지토리 생성2. Gitlab 프로젝트 권한 처리기본적으로 main branch Protected 설정으로 Owner 권한을 부여해도 원본 -> 타겟으로 Mirror 적용시에는 불가능불가능 : 외부에서 직접 main Push 하는 방향이라 차단적용 가능하기 위해서는 전체적인단일 Repository .. 2026. 1. 19.
GITLAB Runner CI/CD 테스트 Gitlab 자체적으로 테스트 .gitlab-ci.yml 로 테스트상세한 테스트 하기 위해서는 구글링을 통해서 찾아봐야 할 듯합니다.stages: # List of stages for jobs, and their order of execution - build - test - deploybuild-job: # This job runs in the build stage, which runs first. stage: build script: - echo "Compiling the code..." - echo "Compile complete."unit-test-job: # This job runs in the test stage. stage: test .. 2024. 8. 20.
Kubernetes GITLAB Runner 설치 가이드 GITLAB CICD를 활용하기 위해서는 GITLAB  Runner가 필요Runner를 통하여 Build . Deploy등을 진행  공식 문서 참고https://docs.gitlab.com/runner/install/kubernetes.html GitLab Runner Helm Chart | GitLabGitLab product documentation.docs.gitlab.com   Gitlab runner 설정 전에 Gitlab에서 Runner 설정 필요Admin area -> CI/CD -> Runners -> New instance runnerTags, Runner description 설정  Helm 설치Helm 버전 3으로 진행설치 및 간단한 테스트는 아래 참고https://monta010.t.. 2024. 8. 20.