devops - drone test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mahdi Abu Yasmine 2023-12-14 01:49:38 +01:00
parent efa57aab20
commit 0cadeac9e6

View File

@ -51,10 +51,10 @@ steps:
- name: ssh_key
path: /root/.ssh
commands:
- chmod 0400 /root/.ssh/id_rsa.drone
- ls -lah /root/.ssh/id_rsa.drone
- chmod 0400 /root/.ssh/id_rsa.kubehost
- ls -lah /root/.ssh/id_rsa.kubehost
- apk add --no-cache openssh
- ssh -p21022 -i /root/.ssh/id_rsa.drone mtc@bosub-kub-int.metacoaching.pro "hostname"
- ssh -p21022 -i /root/.ssh/id_rsa.kubehost mtc@bosub-kub-int.metacoaching.pro "hostname"
volumes:
- name: deps