Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Latest commit

 

History

History
38 lines (27 loc) · 1.15 KB

CONTRIBUTING.md

File metadata and controls

38 lines (27 loc) · 1.15 KB

Test Catalog Installation Locally

In order to test whether the installation script works or not for a new catalog or catalog version without publishing the catalog chart, you can follow the following steps:

Deploy a local chart repository:

Deploy a local chart repository as shown below:

# create a directory where we will store the charts
$ mkdir local-repo

# run chart server
$ docker run --rm -it \
  -p 8080:8080 \
  -v $HOME/local-repo:/charts \
  -e STORAGE=local \
  -e STORAGE_LOCAL_ROOTDIR=/charts \
  chartmuseum/chartmuseum

Publish catalog chart to the local repository:

Publish the catalog chart to the local repository. An example of publishing stash-postgres chart for stashed/postgres repository is shown below.

$ helm package charts/stash-postgres
$ mv ./stash-postgres-11.2.tgz $HOME/local-repo/
$ helm repo index $HOME/local-repo/

Set APPSCODE_CHART_REGISTRY_URL env to point your local repository:

export APPSCODE_CHART_REGISTRY_URL=http://localhost:8080

Now, you can use the installation scripts to install catalogs from your local repository.