8000 Project Manager support for Workflows · Issue #4338 · OSC/ondemand · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Project Manager support for Workflows #4338
Open
@harshit-soora

Description

@harshit-soora

This Epic is to track a new feature in PM that will allow users to specify Pre-processing, Post-processing scripts. Workflows will be added inside Launchers via SmartAttributes.

  • Add new SmarAttribute that will be similar to auto_environment_variable to allow user to choose key (ie, what type of script it is -- after, afterok, afternook) and in value user has to select any script from the dropdown list.

  • In Launchers.rb:submit(), add the driver code to make it work. It will have if-else statement to submit preprocessing scripts before then gathering the job-ids and appending those to the main script. Post-processing scripts will include the job-id of the main script.

  • Unlike other existing SmartAttributes, this SmartAttribute can be added more than once. Allowing it to be populated once for now and then in a separate PR will make it appendable multiple times.

  • Other attributes, such as cores / nodes will all be part of the main script. Newly added scripts can either follow these or not (in that case, the user needs to specify the resources inside the script). Add a checkbox in the SmartAttribute to describe this functionality.

  • Handle errors from all kinds of scripts that are being executed and populate them nicely on the UI.

OodCore::Job::Adaptors::submit() already has functionality to specify job-ids of the scripts that the current job is dependent upon, thus we don't have to make any changes there to fulfill this feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0