https://github.com/cppforlife/cloud_runner
https://github.com/cppforlife/cloud_runner
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cppforlife/cloud_runner
- Owner: cppforlife
- Created: 2013-03-19T02:20:19.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-19T16:31:51.000Z (almost 13 years ago)
- Last Synced: 2025-10-07T14:37:24.116Z (5 months ago)
- Language: Ruby
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloud Runner
Cloud Runner creates a new VM somewhere in the cloud and
runs a single script against it.
Exit code correctly propagates.
## Installation
gem install cloud_runner
## DigitalOcean Cloud
Uses `https://www.digitalocean.com/api` for creating new
droplets (VM) and associating ssh keys.
Run script against new droplet:
cr-new \
--client-id CID \
--app-key APP_KEY \
--script something.sh
Run script against existing droplet:
cr-over \
--client-id CID \
--app-key APP_KEY \
--droplet-id DROPLET_ID \
--ssh-key SSH_KEY \
--script something.sh