From 530a353cc8b1895baf829b1370ed71422354c635 Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 14 Dec 2023 01:35:14 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index d97df4b..d7f6dfa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,9 +51,10 @@ steps: - name: ssh_key path: /root/.ssh commands: - - chown 0400 /root/.ssh/id_rsa.kubehost + - chmod 0400 /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: - name: deps