devops - drone test
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
e98b104683
commit
1cd9a09d6e
10
.drone.yml
10
.drone.yml
|
@ -35,20 +35,16 @@ steps:
|
||||||
- name: deploy code
|
- name: deploy code
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssh_key
|
- /home/repo/drone/id_rsa.kubehost:/root/ssh/id_rsa.drone
|
||||||
path: /root/drone_rsa
|
key_path: /root/ssh/id_rsa.drone
|
||||||
settings:
|
settings:
|
||||||
host: bosub-kub-int.metacoaching.pro
|
host: bosub-kub-int.metacoaching.pro
|
||||||
username: mtc
|
username: mtc
|
||||||
port: 21022
|
port: 21022
|
||||||
key_path: /root/drone_rsa/id_rsa.kubehost
|
key_path: /root/ssh/id_rsa.drone
|
||||||
script:
|
script:
|
||||||
- echo "Target host name :\ `hostname`"
|
- echo "Target host name :\ `hostname`"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
temp: {}
|
temp: {}
|
||||||
- name: ssh_key
|
|
||||||
host:
|
|
||||||
path: /home/repo/drone
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user