You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
901 B
YAML
38 lines
901 B
YAML
name: 'ssh-scp-ssh-pipelines'
|
|
description: 'Pipelines: ssh -> scp -> ssh'
|
|
author: 'Scott Ng'
|
|
inputs:
|
|
host:
|
|
description: 'ssh remote host'
|
|
required: true
|
|
port:
|
|
description: 'ssh remote port'
|
|
default: 22
|
|
user:
|
|
description: 'ssh remote user'
|
|
required: true
|
|
key:
|
|
description: 'content of ssh private key. ex raw content of ~/.ssh/id_rsa'
|
|
required: false
|
|
pass:
|
|
description: 'ssh remote password'
|
|
required: false
|
|
connect_timeout:
|
|
description: 'connection timeout to remote host'
|
|
default: "30s"
|
|
required: false
|
|
first_ssh:
|
|
description: 'execute pre-commands before scp'
|
|
required: false
|
|
scp:
|
|
description: 'scp from local to remote'
|
|
required: false
|
|
last_ssh:
|
|
description: 'execute post-commands after scp'
|
|
required: false
|
|
runs:
|
|
using: 'docker'
|
|
image: 'Dockerfile'
|
|
branding:
|
|
icon: 'terminal'
|
|
color: 'gray-dark' |