GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cloudpipe/cloudpipe: :wrench: Compute on demand in Docker containers

BranchesTags
Open more actions menu

Latest commit

 

History

227 Commits
227 Commits

Folders and files

NameName
Last commit message
Last commit date
Godeps
Godeps
 
 
certificates
certificates
 
 
script
script
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
api_auth.go
api_auth.go
 
 
api_auth_test.go
api_auth_test.go
 
 
api_job.go
api_job.go
 
 
api_job_test.go
api_job_test.go
 
 
auth.go
auth.go
 
 
auth_service.go
auth_service.go
 
 
auth_service_test.go
auth_service_test.go
 
 
auth_test.go
auth_test.go
 
 
codes.go
codes.go
 
 
context.go
context.go
 
 
context_test.go
context_test.go
 
 
docker-compose.yml
docker-compose.yml
 
 
docker.go
docker.go
 
 
job.go
job.go
 
 
main.go
main.go
 
 
main_test.go
main_test.go
 
 
runner.go
runner.go
 
 
storage.go
storage.go
 
 

Repository files navigation

Cloudpipe

Compute on demand in Docker containers.

Watch the Cloudpipe Prototype Demo

Build Status

Hacking on the Cloudpipe backend server

  1. Install Docker on your platform.
  2. Install compose.
  3. Generate development TLS credentials by running script/genkeys.
  4. Run docker-compose build && docker-compose up -d to build and launch everything locally.

To run the tests, use script/test. You can also use script/mongo to connect to your local MongoDB database.

Running code against the system

For this iteration, we've implemented (some of) multyvac's API allowing you to use multyvac for Python 2. We've created a fork that adapts to our base image and fixes some bugs evident when using the IPython/Jupyter Notebook.

pip install vac

⚠️ If you already had multyvac installed, you'll likely want to delete ~/.multyvac. Note that installing vac does overwrite the multyvac package.

Configure the client to connect to yours (default settings from compose shown here):

>>> import multyvac
>>> api_url = 'http://{}/v1'.format(<your_ip_endpoint>)
>>> multyvac.config.set_key(api_key='admin', api_secret_key='12345', api_url=api_url)

Create a Job

>>> def add(x,y):
...   sum = x + y
...   print("{x} + {y} = {sum}".format(x=x, y=y, sum=sum))
...   return sum
...
>>> job_id = multyvac.submit(add, 2, 3)

Retrieve the results

>>> job = multyvac.get(job_id)
>>> job.get_result()
5
>>> print(job.stdout)
2 + 3 = 5

About

🔧 Compute on demand in Docker containers

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

67 stars

Watchers

7 watching

Forks

10 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.