5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 18:26:22 +00:00

fixup! ci: probar conexión a ssh antes de perder tiempo
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
f 2023-03-16 10:00:43 -03:00
parent 5ffbabfa47
commit 3eef6fc1b4

View file

@ -31,7 +31,11 @@ pipeline:
- "apk add python2 dotenv openssh-client" - "apk add python2 dotenv openssh-client"
- "install -d -m 700 ~/.ssh/" - "install -d -m 700 ~/.ssh/"
- "echo \"$${KNOW_HOSTS}\" | base64 -d >> ~/.ssh/known_hosts" - "echo \"$${KNOW_HOSTS}\" | base64 -d >> ~/.ssh/known_hosts"
- "echo \"$${KNOW_HOSTS}\""
- "echo \"$${KNOW_HOSTS}\" | base64 -d"
- "chmod 600 ~/.ssh/known_hosts" - "chmod 600 ~/.ssh/known_hosts"
- "cat ~/.ssh/known_hosts"
- "ls -hal ~/.ssh"
- "echo \"$${ORIGIN}\" | cut -d @ -f 2 | cut -d : -f 1 | xargs ssh-keygen -F" - "echo \"$${ORIGIN}\" | cut -d @ -f 2 | cut -d : -f 1 | xargs ssh-keygen -F"
- "eval $(ssh-agent -s)" - "eval $(ssh-agent -s)"
- "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -" - "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -"