opendevstack / ods-pipeline

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

ods-start may be unable to cleanup workspace due to changes in ods-package-image #672

Closed michaelsauter closed 1 year ago

michaelsauter commented 1 year ago

The container image used by ods-package-image changed quite a bit in #663. The image now does not run under uid 1001, which can result in the created artefacts not being deleteable by the ods-start task. Whether or not this happens depends on how the storage is implemented.

A workaround is to delete the PVC and then add e.g. chown -R 1001:0 .ods/artifacts/image-digests .ods/artifacts/sboms at the end of the package-image step.