buildbarn/bb-clientd

deliver script with tarball to re-run a action locally

Closed this issue · 3 comments

Hi,

when I want to re-run a action locally, downloaded as a tarball from bb-browser, I have to

  • download&extract the tarball
  • set all environment variables
  • copy and run the command

this means a back and forth between bb-browser and my shell.

How about delivering a script inside the tarball which sets the env vars and runs the command?

That would be nice to have indeed. We should also make sure to create output directories as well, as those are not explicitly defined in the input root.

I think that if we want a feature like this, it should be implemented as part of bb_clientd. The advantage of doing this inside bb_clientd is that the user won't need to download anything. They can just 'cd' into the right spot and rerun an action there.

Marking this as closed, as bb_clientd and bb_browser nowadays have decent facilities for this. Be sure to read the bb_clientd readme for details.