opendevstack / ods-pipeline

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

Log sub repo context #708

Closed michaelsauter closed 8 months ago

michaelsauter commented 1 year ago

It would be nice to log the context object for subrepos in the start task (similar to how it is done for the main repo, see https://github.com/opendevstack/ods-pipeline/blob/master/cmd/start/main.go#L123). This would write e.g. the commit sha of the sub repo to the log, which can assist in debugging.

Right now this info can be retrieved from the written artefact manifest, but this is a bit cumbersome.