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

Pipeline Run: Add possibility to defile pipeline run results as a list of artefacts on a data storage #3895

Open
SilinPavel opened this issue Feb 5, 2025 · 0 comments
Assignees
Labels
kind/enhancement New feature or request

Comments

@SilinPavel
Copy link
Member

SilinPavel commented Feb 5, 2025

Background
For visibility and common usability it can be very good to have possibility to define results of the runs as an explicitly defined list of objects.

Let's introduce an API for this.

Approach

  • New entity (permissions should be nested from run) PipelineRunResult should be introduced:

    {
       "id": <long, PK>,
       "runId": <long, FK on PipelineRun>
       "name": <string>,
       "pattern": <string>, # pattern to match items for this result object
       "items": [ <data storage link> ]
    }
    
  • DataStorageRule object should be changed:

    • Add flag to mark it as run result
    • Add field name
  • During download_outputs in launch.sh additionally publish file as run result if it matches a run result rule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant