okd-project / okd-coreos-pipeline

Tekton pipeline for running coreos-assembler builds
Apache License 2.0
13 stars 11 forks source link

tekton tasks: mount workspace to /srv #27

Closed vrutkovs closed 1 year ago

vrutkovs commented 1 year ago

cosa buildextend-live script bind-mounts current directory into the VM, so workdir path must exist in the VM, otherwise it would attempt to create a new dir for it.

This fixes

mkdir: cannot create directory 
'/sysroot/ostree/deploy/scos/deploy/deadbeef//workspace': Read-only file 
system

in cosa-buildextend task