Skip to content

Experimental Drone runner that executes a pipeline on a remote machine

License

Notifications You must be signed in to change notification settings

drone-runners/drone-runner-ssh

Repository files navigation

drone-runner-ssh

The ssh runner executes pipelines on a remote server using the ssh protocol. This runner is intended for workloads that are not suitable for running inside containers. Posix and Windows workloads supported. Drone server 1.2.1 or higher is required.

Community and Support

Harness Community Slack - Join the #drone slack channel to connect with our engineers and other users running Drone CI.

Harness Community Forum - Ask questions, find answers, and help other users.

Report A Bug - Find a bug? Please report in our forum under Drone Bugs. Please provide screenshots and steps to reproduce.

Events - Keep up to date with Drone events and check out previous events here.

Developer resources

Testing locally

Running an ssh server locally is easy.

docker run -it --rm \      
  --name=openssh-server \ 
  --hostname=openssh  \
  -e PUID=1000 \
  -e PGID=1000 \
  -e PASSWORD_ACCESS=true \
  -e USER_PASSWORD=secret  \
  -e USER_NAME=user \
  -p 2222:2222 \
  lscr.io/linuxserver/openssh-server:latest

You can then reference the server in your pipeline.

kind: pipeline
type: ssh
name: default

server:
  host: 0.0.0.0:2222
  user: user
  password: secret

clone:
  disable: true

steps:
  - name: test
    commands:
      - echo "hello world"

About

Experimental Drone runner that executes a pipeline on a remote machine

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published