2
當我嘗試創建部署控制檯SSH亞軍我有這樣的錯誤:Gitlab CI,SSH亞軍
Running with gitlab-ci-multi-runner 1.7.1 (f896af7)
Using SSH executor...
ERROR: Preparation failed: open ~/.ssh/id_rsa.pub: no such file or directory
Will be retried in 3s ...
Using SSH executor...
ERROR: Preparation failed: open ~/.ssh/id_rsa.pub: no such file or directory
Will be retried in 3s ...
Using SSH executor...
ERROR: Preparation failed: open ~/.ssh/id_rsa.pub: no such file or directory
Will be retried in 3s ...
ERROR: Build failed (system failure): open ~/.ssh/id_rsa.pub: no such file or directory
在我的服務器我創建SSH密鑰,這關鍵是目錄的〜/ .ssh/id_rsa的.pub。 我.gitlab-ci.yml文件:
stages:
- deploy
before_script:
- whoami
mate-finder:
stage: deploy
script:
- sudo apt-get update -qy
- sudo apt-get install -y nodejs
- sudo npm install
- sudo ng build
- sudo ng serve
我如何部署我的服務器應用程序?我想在我的angular2應用程序上部署時,如何在服務器上配置我的跑步者?
我看到你做了一個「WHOAMI」在那裏。我的首先想到的是主目錄不排隊。 – louahola
@louahola當我移動id_rsa.pub到另一個目錄,問題並沒有得到解決。 – srzeppa
https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/202;我會給那一槍 – louahola