Gitlab CI/CD 설정과 .gitlab-ci.yml 작성 step 2

지난 글에 이어 Gitlab CI/CD 활용 방법을 포스팅 하겠습니다. https://vlee.kr/5033 지난 글에서는 Gitlab에 구성된 gitlab-runner를 이용해서 간단한 script 동작을 수행해보았습니다. 여러 stage에 걸쳐 파이프라인이 동작하는 걸 확인했는데요. 이번 포스트에서는 개발하면서…

0 Comments

Gitlab CI/CD 설정과 .gitlab-ci.yml 작성

Gitlab Registry 설정 gitlab registry는 build한 docker image를 업로드하기 위한 저장소입니다. 기본 Gitlab 패키지에 포함되어 있어 별도의 설치는 필요 없으나 본인 웹서버 환경에 맞게 설정이 필요합니다. 저는 Nginx를 웹서버로 쓰고…

0 Comments

Gitlab runner 설치와 실행 방법(with Ubuntu)

다운로드 아래 명령을 이용해서 다운로드 할 것인데 ${arch} 부분을 본인 환경에 맞게 수정해주어야 한다. 필자의 경우 amd64이므로 amd64를 입력했다. curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_${arch}.deb" curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_amd64.deb" 설치 다운로드가 완료되면 gitlab-runner_amd64.deb 파일이…

0 Comments