Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.25 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.25 KB

Drone server Synpse

How to run Drone on Synpse

See webhookrelay sample for Webhookrelay part of the deployment.

  1. Create secret with github credentials configuration. See github docs how to create one.
synpse secret create droneClientID -v DRONE_GITHUB_CLIENT_ID
synpse secret create droneSecret -v DRONE_GITHUB_CLIENT_SECRET

To expose your Drone you can use Webhookrelay

  1. Register and login to WHR

  2. Create bidirectional tunnel with custom domain. Set destination to http://drone:80

  3. Create token to configure your tunnel

  4. Create secrets relaySecret and relayKey:

synpse secret create relaySecret -v RELAYSECRET
synpse secret create relayKey -v RELAYKEY
  1. Change drone-synpse.yaml to point to your tunnel:
    - name: relayd
      image: webhookrelay/webhookrelayd-aarch64:1
      args:
        - --mode
        - tunnel
        - -t
        - <tunnel_name>
  1. Deploy Drone to Synpse!

  2. Create Drone deployments:

synpse deploy -f samples/drone/drone-synpse.yaml
synpse deploy -f samples/drone/drone-runner-synpse.yaml