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

다운로드 아래 명령을 이용해서 다운로드 할 것인데 ${arch} 부분을 본인 환경에 맞게 수정해주어야 한다. 필자의 경우 amd64이므로 amd64를 입력했다. curl -LJO “https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_${arch}.deb” 설치 다운로드가 완료되면 gitlab-runner_amd64.deb 파일이 생긴다. 아래 명령으로 설치한다. 실행 gitlab-runner에 docker 실행 권한 주기 runner에서 docker 명령을 실행하도록 권한을 설정하려면 아래 명령을 사용한다. 참고 https://docs.gitlab.com/runner/install/linux-manually.html https://nakanara.tistory.com/240 https://not-to-be-reset.tistory.com/326