Skip to content

Save file after passing a test #485

@MrCyjaneK

Description

@MrCyjaneK

Currently abstruse work very well for me, but I'm wondering if it is possible to make an option to save job artifacts and download them from the ci?
This may be useful when somebody makes a merge request, and I'll not have to build the fork locally to check how the change looks like.

So here is a list of all features that would be cool to have:

  • Storing all the files in simple structure archive directory/user/repo/branch/runid/matrixid (and a special runid called latest should be a symlink to last runid that was green.)
  • Wildcard in list of files to copy, in some cases file name is set dynamically with date/last git commit id.
  • Deleting old builds (keep builds for at least 5 days, and at least 5 latest versions) - and I think that it would be cool to have that feature set in abstruse config, not in abstruse.yml. (If we have 30 builds in 2 days - keep all, if we have 5 very old builds - keep all)
  • An option to keep a build artifact forever would also be cool
  • An option to prune old build from pull requests (timeout + manual)
  • Don't store list of files in database, read it dynamically from the directory
  • Create a global post-archive command that will be run on host machine (also in the config, not in abstruse.yml)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions