Skip to content

job/resources expiry delete/cleanup or archive #156

@foreveremain

Description

@foreveremain

Slivka installations currently have no automated mechanism for removing files/directories associated with jobs.

Ideally, slivka should offer some form of cleaning up old jobs, with configurable behaviour according to the job's status:

  • jobs that were cancelled can just be deleted
  • jobs that errrored/never completed might be archived for testing/inspection (or simply deleted)
  • jobs that have completed
    • who's results have been collected: delete after x days
    • who's results were used in another job: delete after the youngest job is older than x days (?)
    • who's results were never collected: delete after y days

As an alternative to deletion, it would also be great to be able to archive jobs - ie move their data/etc to a read-only store (ie S3 bucket, etc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions