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:35:14 +01:00
parent 1c07082967
commit 530a353cc8

View File

@ -51,9 +51,10 @@ steps:
- name: ssh_key - name: ssh_key
path: /root/.ssh path: /root/.ssh
commands: commands:
- chown 0400 /root/.ssh/id_rsa.kubehost - chmod 0400 /root/.ssh/id_rsa.kubehost
- ls -lah /root/.ssh/id_rsa.kubehost - ls -lah /root/.ssh/id_rsa.kubehost
- ssh -p21022 -i /root/.ssh/id_rsa.kubehost mtc@bosub-kub-int.metacoaching.pro "echo \"Target host name :\ `hostname`\"" - apk -U openssh-client
- ssh -p21022 -i /root/.ssh/id_rsa.kubehost mtc@bosub-kub-int.metacoaching.pro "hostname"
volumes: volumes:
- name: deps - name: deps