我们如何将CI / CD位存储桶与Centos和PHP脚本集成在一起

时间:2019-06-26 12:26:16

标签: php git continuous-integration bitbucket continuous-deployment

在过去的两天内,我希望将Bitbucket CI / CD集成到我的项目中。但是每次我遇到错误。

如何在不使用Bitbucket密码的情况下使用SSH凭据授予对远程服务器的访问权限?

当我尝试设置服务器配置时,我收到了以下信息:

<1s
+ composer install
Do not run Composer as root/superuser! See https://getcomposer.org/root for details
Composer could not find a composer.json file in /opt/atlassian/pipelines/agent/build
To initialize a project, please create a composer.json file as des

ssh -A -tt -i /root/.ssh/pipelines_id -o StrictHostKeyChecking=no -p 22 root@demo.domain.in Echo 352c4adf-f770-49c1-afb2-debccaddbd7b
Warning: Permanently added the ED25519 host key for IP address '1.1.1.1.1' to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
root@demo.domain.in: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
✖ Execution failed.

0 个答案:

没有答案