Skip to content

quantifyearth/hoke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hoke

Status: WIP and Experimental

When I hoked there, I would find
An acorn and a rusted bolt.

-- Seamus Heaney

A daemon of sorts for obuilder. For now it mainly supports running a remote shell over a capnp endpoint or sending an obuilder build specification (and optional git endpoint) to a remote builder.

You can start the daemon with

hoke daemon --store=zfs:obuilder-zfs --capnp-secret-key-file=secret-key.pem --capnp-listen-address=unix:/tmp/ocurrent2.sock

And then you can get a new submission capability.

hoke add --connect ./secrets/admin.cap alice > secrets/submission.cap

Then it is probably easiest to put an Obuilder specification into a file. For example:

((from debian)
 (run (shell "echo 'hello world'")))

Then send that to the daemon to build.

cat example.spec | hoke build --connect=./secrets/submission.cap

And then connect to the resulting ID with:

hoke shell --connect=./secrets/submission.cap --id=<hash>

About

Obuilder daemon using capnp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published