Skip to content

Instantly share code, notes, and snippets.

@MarkBennett
Created October 21, 2019 20:58
Show Gist options
  • Save MarkBennett/c5a2e773a6ded54d50a58e8fe05494f0 to your computer and use it in GitHub Desktop.
Save MarkBennett/c5a2e773a6ded54d50a58e8fe05494f0 to your computer and use it in GitHub Desktop.

SETUP ENVIRONMENT, PRIOR TO DEMO

doctl auth init

doctl k8s cluster create --region=tor1 rio-demo

START DEMO

Download and install Rio CLI

curl -sfL https://get.rio.io | sh -

Install Rio into your Kubernetes cluster (6 minutes)

rio install --http-port 80 --https-port 443

Run a project right from GitHub (5 minutes)

rio run --name simple-server https://github.com/MarkBennett/simple-server.git

Use rio ps to watch the default/simple-server spin up. Explain more about Rio and how it works while I wait.

Open GitHub and make a change to the repo. Show rio detecting the change and staging a new verion.

rio revisions default/simple-server

Show off the diagnostics while it runs.

Demo diagnostics

rio ps -a

Setup a vanity url

rio domain register rio-demo.markbennett.ca default/simple-server

NEXT STEPS

Use Webhooks / GitHub Deployment API

GitHub Pull Request Specific Services

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment