tools/stx/stx-build-tools-chart/stx-builder/dependency_chart/stx-builder-files-http
Davlet Panech 16dd9d0a78 Add new pod for accessing local files over HTTP
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
2023-02-07 15:50:49 -05:00
..
configmap Add new pod for accessing local files over HTTP 2023-02-07 15:50:49 -05:00
templates Add new pod for accessing local files over HTTP 2023-02-07 15:50:49 -05:00
.helmignore Add new pod for accessing local files over HTTP 2023-02-07 15:50:49 -05:00
Chart.yaml Add new pod for accessing local files over HTTP 2023-02-07 15:50:49 -05:00
values.yaml Add new pod for accessing local files over HTTP 2023-02-07 15:50:49 -05:00