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.
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
Reviewed: https:/ /review. opendev. org/c/starlingx /tools/ +/873617 /opendev. org/starlingx/ tools/commit/ 0d599fc6080c24b d972e9111379d71 09734aae0a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 0d599fc6080c24b d972e9111379d71 09734aae0a
Author: Davlet Panech <email address hidden>
Date: Mon Feb 13 11:45:10 2023 -0500
Set ownership of /localdisk/... to $BUILD_USER
This patch fixes a problem introduced by [1]: the helm chart creates {designer, loadbuild} implicitly with owner=root. This makes
/localdisk/
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 HOME/localdisk doesn't {designer, loadbuild} exist and are owned by
=====
* Create a new environment; make sure $BUILD_
exist
* Start the environment
* Make sure /localdisk/
$BUILD_USER in the builder container
Closes-Bug: 2007161 2f9012b7114b83e 24042e2369d
Signed-off-by: Davlet Panech <email address hidden>
Change-Id: Idf8c7166d0d4bc