6

うまく機能する bitbucket パイプラインがありますが、今はプロジェクトで、composer.json に必要なパッケージを含むプライベート リポジトリからプルする必要があります。

パイプラインで composer install を実行すると、このエラーで停止します

Failed to execute git clone --no-checkout 'git@bitbucket.org:company/package.git' [...]
  Cloning into '/opt/atlassian/pipelines/agent/build/vendor/company/package'...                                                                                                                                                                                                                                                                                 
  Permission denied (publickey).                                                                                                                                                                                                                                                                                                                                                
  fatal: Could not read from remote repository.                                                                                                                                                                                                                                                                                                                                 
  Please make sure you have the correct access rights                                                                                                                                                                                                                                                                                                                           
  and the repository exists. 

パイプラインには SSH キーが定義されていないため、プルすることはできませんが、一時的であるため、どのように定義できますか?

それとも、そうでなければ要件を定義する必要がありますか?

4

1 に答える 1