aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lambert <clamb...@twopensource.com>
Subject Re: how to copy a package to thermo's working directory and run it
Date Tue, 17 Dec 2013 19:09:17 GMT
It's also worth noting that we're actively working on documentation to
accompany the code.  Stay tuned for that drop in the next couple of weeks.

Chris


On Tue, Dec 17, 2013 at 8:55 AM, Zameer Manji <zmanji@twopensource.com>wrote:

> You need to fetch your package/binary into the sandbox. A sample aurora
> config could look like this:
>
> hello = Process(
>   name = 'hello',
>   cmdline = "./hello")
> fetch_hello = Process(
>   name = 'fetch_hello',
>   cmdline = "wget http://packages.local/hello && chmod +x ./hello")
>
> task = SequentialTask(
>   processes = [fetch_hello, hello],
>   resources = Resources(cpu = 1.0, ram = 128*MB, disk = 128*MB))
>
> jobs = [Service(
>   task = task, cluster = 'example', role = 'www-data', environment =
> 'prod', name = 'hello')]
>
> This of course assumes you can fetch your binary from a server. If you
> can't do that, an alternative would be to copy some file from outside
> of your sandbox into the sandbox.
>
>
>
> On Tue, Dec 17, 2013 at 8:31 AM, Longbin Chen <lbchen@gmail.com> wrote:
>
> > hi,
> >    I packed all the necessary binary into a package and want to run it on
> > thermo's working directory.  I can't find any document on this. Can
> anyone
> > give me some hints?
> >
> > best
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message