1
디지털 오션에서 웹 사이트를 호스팅하고 gitlab에서 내 리포지토리를 호스팅하고 있습니다. Digital Ocean Server에 gitlab 인스턴스가 설치되어 있지 않습니다. .gitlab-ci.yml 파일을 사용하고 있습니다.Gitlab과 디지털 오션이있는 CI
내 CI 스크립트에서 디지털 바다, CD로 프로젝트에 들어가서 최신 코드를 가져 오려고합니다.
또한 디지털 바다 서버에서 ssh 키를 생성하고이를 Gitlab의 ssh-keys에 추가했습니다.
나는 과거 나 무언가를 얻을 수없는 방화벽이 있는지 잘 모르겠습니다.
이 오류로 인해 오류가 발생합니다.
Running with gitlab-ci-multi-runner 1.9.0 (82714ae)
Using Docker executor with image ruby:2.1 ...
Pulling docker image ruby:2.1 ...
Running on runner-4e4528ca-project-1209495-concurrent-0 via runner- 4e4528ca-machine-1484021348-29523945-digital-ocean-4gb...
Cloning repository...
Cloning into '/builds/Rchampin/ryan_the_developer_django'...
Checking out b3783fbf as master...
$ ssh [email protected]
Pseudo-terminal will not be allocated because stdin is not a terminal.
Host key verification failed.
ERROR: Build failed: exit code 1
여기 내 CI 스크립트입니다.
before_script:
- ssh [email protected]
- cd /home/rchampin/ryan_the_developer_django
pull:
script:
- git pull