This commit is contained in:
parent
1c07082967
commit
530a353cc8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user