16dd9d0a78
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
42 lines
1.6 KiB
YAML
42 lines
1.6 KiB
YAML
---
|
|
apiVersion: v2
|
|
name: stx-builder
|
|
description: A Helm chart for Starlingx Building Kubernetes
|
|
|
|
# A chart can be either an 'application' or a 'library' chart.
|
|
#
|
|
# Application charts are a collection of templates that can be packaged into versioned archives
|
|
# to be deployed.
|
|
#
|
|
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
|
# a dependency of application charts to inject those utilities and functions into the rendering
|
|
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
|
type: application
|
|
|
|
# This is the chart version. This version number should be incremented each time you make changes
|
|
# to the chart and its templates, including the app version.
|
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
|
version: 0.1.0
|
|
|
|
# This is the version number of the application being deployed. This version number should be
|
|
# incremented each time you make changes to the application. Versions are not expected to
|
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
|
appVersion: 1.16.0
|
|
|
|
dependencies:
|
|
- name: stx-pkgbuilder
|
|
version: "0.1.0"
|
|
repository: "file://dependency_chart/stx-pkgbuilder"
|
|
- name: stx-lat-tool
|
|
version: "0.1.0"
|
|
repository: "file://dependency_chart/stx-lat-tool"
|
|
- name: stx-repomgr
|
|
version: "0.1.0"
|
|
repository: "file://dependency_chart/stx-aptly/stx-repomgr"
|
|
- name: stx-docker
|
|
version: "0.1.0"
|
|
repository: "file://dependency_chart/stx-docker"
|
|
- name: stx-builder-files-http
|
|
version: "0.1.0"
|
|
repository: "file://dependency_chart/stx-builder-files-http"
|