drone custom ssh git clone: force ssh host key insertion at run time from host...
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
ac14ed9102
commit
0ed1ce2a48
|
@ -16,7 +16,8 @@ steps:
|
|||
commands:
|
||||
- mkdir ~/.ssh
|
||||
- echo $buildbot_key > ~/.ssh/id_rsa
|
||||
- echo "|1|mqCLMcY21CQ9Mxzg2NJNwEg5ggU=|Kh5fkC0dDTEKYk9VhpWNyks53ag= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDd52T38o5Q7mSSf2WHnBCIwinDxBZnx30ZjzSRdj2juIkPULOyuW7NIKdTvpyf8JfTKQ9BaM8EUD5NyJ9dIbjU=" >> ~/.ssh/known_hosts
|
||||
# force by pass of ssh host key check, less secure
|
||||
- ssh-keyscan -H build.openprivacy.ca >> ~/.ssh/known_hosts
|
||||
- git clone gogs@git.openprivacy.ca:flutter/flutter_app.git .
|
||||
- git checkout $DRONE_COMMIT
|
||||
|
||||
|
|
Loading…
Reference in New Issue