Davlet Panech 0d599fc608 Set ownership of /localdisk/... to $BUILD_USER
This patch fixes a problem introduced by [1]: the helm chart creates
/localdisk/{designer,loadbuild} implicitly with owner=root. This makes
the directories non-writeable by the builder user, and the creation
of $MY_WORKSPACE and $MY_REPO_ROOT_DIR fails.

[1] https://review.opendev.org/c/starlingx/tools/+/873010

TESTS
=====
* Create a new environment; make sure $BUILD_HOME/localdisk doesn't
  exist
* Start the environment
* Make sure /localdisk/{designer,loadbuild} exist and are owned by
  $BUILD_USER in the builder container

Closes-Bug: 2007161
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: Idf8c7166d0d4bc2f9012b7114b83e24042e2369d
2023-02-13 11:52:41 -05:00
..
2022-07-15 09:37:58 -07:00