devops - drone test
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Mahdi Abu Yasmine 2023-12-14 01:06:40 +01:00
parent e98b104683
commit 1cd9a09d6e

View File

@ -35,20 +35,16 @@ steps:
- name: deploy code
image: appleboy/drone-ssh
volumes:
- name: ssh_key
path: /root/drone_rsa
- /home/repo/drone/id_rsa.kubehost:/root/ssh/id_rsa.drone
key_path: /root/ssh/id_rsa.drone
settings:
host: bosub-kub-int.metacoaching.pro
username: mtc
port: 21022
key_path: /root/drone_rsa/id_rsa.kubehost
key_path: /root/ssh/id_rsa.drone
script:
- echo "Target host name :\ `hostname`"
volumes:
- name: deps
temp: {}
- name: ssh_key
host:
path: /home/repo/drone