How to run Drone on Synpse
See webhookrelay sample for Webhookrelay part of the deployment.
- 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
-
Register and login to WHR
-
Create bidirectional tunnel with custom domain. Set destination to
http://drone:80
-
Create token to configure your tunnel
-
Create secrets
relaySecret
andrelayKey
:
synpse secret create relaySecret -v RELAYSECRET
synpse secret create relayKey -v RELAYKEY
- Change
drone-synpse.yaml
to point to your tunnel:
- name: relayd
image: webhookrelay/webhookrelayd-aarch64:1
args:
- --mode
- tunnel
- -t
- <tunnel_name>
-
Deploy Drone to Synpse!
-
Create Drone deployments:
synpse deploy -f samples/drone/drone-synpse.yaml
synpse deploy -f samples/drone/drone-runner-synpse.yaml