opendevstack / ods-pipeline

Alternative ODS CI/CD pipeline based on Tekton / OpenShift Pipelines
Apache License 2.0
13 stars 5 forks source link

Add artefact browser #709

Open michaelsauter opened 1 year ago

michaelsauter commented 1 year ago

Currently it is tricky to see artifacts as one has to login to Nexus to be able to access them.

To simplify this, we could add an endpoint to the pipeline manager which would allow users to browse artefacts.

It would work something like the following:

The feature should be optional as the OpenShift proxy would not work in plain K8s clusters.

FYI @oalyman

oalyman commented 1 year ago

As a first step it maybe even sufficient to just provide the artifacts as is for proxied download. Later ofc it would be nice if for instances zipped html test reports (e.g the gradle report) would be provided as an html page. A link in the build log to the respective endpoint would be good.

michaelsauter commented 9 months ago

When the endpoint receives a request, it searches for all assets in Nexus and displays them on screen

This is not going to be so easy, as there is no easy way to know in which repository artifacts are stored. The repository depends on the finish task parameters.