After this change we can access any files under
/localdist/{designer,loadbuild} using an environment variable for the
URL:
curl $BUILDER_FILES_URL/localdisk/designer/some/file
This change is required by docker build scripts in starlingx/root
for projects that use Loci and have MIRROR_LOCAL set to "yes".
This change requires one to restart the environment (stx-init-env).
CHANGES
=======
* New k8s deployment "stx-builder-files-http". Includes a single pod
based on the open source "nginx" image. Serves all files under
/localdisk/{designer,loadbuild} on port 8088.
* k8s.py: fixed problem with distinguishing a pod name that is a prefix
of another pod name, eg "builder" vs "builder-files-http"
TESTS
=====
* Re-build & re-deploy the helm chart using "stx-init-env"
* Create a dummy docker image recipe that uses Loci and MIRROR_LOCAL and
make sure it does not fail when cloning
Story: 2010294
Task: 47307
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I04e5c6237930fb75a8acbfd65a6479bc06fa6194