drone windows ssh git
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
ae081e9a3b
commit
2dd797bf4d
14
.drone.yml
14
.drone.yml
|
@ -166,15 +166,15 @@ clone:
|
|||
|
||||
steps:
|
||||
- name: clone
|
||||
environment:
|
||||
buildbot_key_b64:
|
||||
from_secret: buildbot_key_b64
|
||||
commands:
|
||||
- # force by pass of ssh host key check, less secure
|
||||
# - ssh-keyscan -H git.openprivacy.ca >> ~/.ssh/known_hosts
|
||||
- echo $DRONE_UI_USERNAME
|
||||
- echo $Env:DRONE_UI_USERNAME
|
||||
- echo %userprofile%
|
||||
- echo %username%
|
||||
- whoami
|
||||
- dir
|
||||
- ssh-keyscan -H git.openprivacy.ca >> ..\known_hosts
|
||||
- echo $buildbot_key_b64 > ..\id_rsa.b64
|
||||
- certutil -decode .\id_rsa.b64 ..\id_rsa
|
||||
- git config core.sshCommand "ssh -o UserKnownHostsFile=..\known_hosts -i ..\id_rsa"
|
||||
- git clone gogs@git.openprivacy.ca:flutter/flutter_app.git .
|
||||
- git checkout $DRONE_COMMIT
|
||||
|
||||
|
|
Loading…
Reference in New Issue