Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 1.59 KB

README.md

File metadata and controls

24 lines (16 loc) · 1.59 KB

Gitpod ready-to-code

Gitpod on Digital Ocean Droplets

This is a proof of concept that installs k3s and Gitpod on 2 VMs (Digtial Ocean Droplets).

Just run ./digitalocean-droplet/setup.sh to setup and ./digitalocean-droplet/teardown.sh to teardown.

The following environement variables are needed:

Environment Variable Explanation
DIGITALOCEAN_ACCESS_TOKEN Access token for Digital Ocean
DIGITALOCEAN_SSH_KEY Base64 encoded SSH key (content of .ssh/id_rsa)
DIGITALOCEAN_SSH_PUBKEY Base64 encoded SSH pub key (content of .ssh/id_rsa.pub)
DIGITALOCEAN_SSH_KEY_FINGERPRINT Fingerprint of SSH key in Digital Ocean
GITPOD_GITHUB_CLIENT_SECRET GitHub Client Secret of the Gitpod app

You also need a Digital Ocean account with a configured domain (here ludmann.name) and SSH key.

How to change/update Gitpod version

  • Change version in gitpod-install/values.yaml.
  • Change GITPOD_COMMIT_ID in digitalociean-droplet/setup.sh