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 - 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