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:45:32 +01:00
parent 457f6d7ddd
commit efa57aab20

View File

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