Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import job run outside webapp #79

Closed
sverhoeven opened this issue Feb 12, 2024 · 3 comments
Closed

Import job run outside webapp #79

sverhoeven opened this issue Feb 12, 2024 · 3 comments

Comments

@sverhoeven
Copy link
Member

Is your feature request related to a problem? Please describe.
As a researcher I have run haddock3 on the command line and would like to look at the results using the webapp.

Describe the solution you'd like
For big jobs I would like to point to a location on webapp server where my output is located.
For medium jobs I would like to upload an archive to the webapp.

Describe alternatives you've considered

Additional context

@sverhoeven
Copy link
Member Author

The webapp currently expects a job to have

  1. a worklow.cfg in the root
  2. a output/ directory in the root with the haddock3 output.

The bartender web service to list the jobs, so any imported job should go via bartender.

Possible implementation for archive

We could add an application to bartender webservice that unpacks the archive and does not run anything else.
Then the webapp could have a choice on the upload page to upload either a workflow.cfg with its linked files or an archive with a completed job. Someone can upload a competed job if they have the guru expertise level.

Possbile implementation for outside job

We could add a bartender cli subcommand that would symlink the dir into bartenders job root dir. This way we don't make a copy. The symlinked files will not be owned by web service which breaks running rescore and friends.

@sverhoeven
Copy link
Member Author

In i-VRESSE/bartender#86 a bartender link <somedir> command was added.

@sverhoeven
Copy link
Member Author

In #81 upload run radio was added.

localhost_3000_upload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant