当社の現在のワークフローの設定は以下の通りです: のDevサーバー - >レポ/ CIサーバー(この場合はGitlab/Gitlab-CI) - >プロダクションサーバ開発へのリポジトリの展開。
私は本番サーバーに私の現在のプロジェクトを展開します。今、私は非常に単純なCIファイルを持っています。
私の問題は次のとおりです。
image: php56
before_script:
- bash server.sh
job1:
script:
- php -v
sudo: unable to resolve host vagrant
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
clonando
sudo: unable to resolve host vagrant
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
マイ.gitlab-ci.ymlファイルは以下のとおりです。
これは私のbashのファイルです:
echo -e "Logging to server \n"
sshpass -p Password ssh -T [email protected]
cd /var/www
sudo git init
sudo git clone http://gitlab.panoramalife.com/cpadilla/PruebaDeploy.git
と私はこの
は、君たちはこの1つを考え出すに私を助けることができる私は、このエラーを与えますか?前もって感謝します。
多くのコードで説明する必要はありません –