Resource Catalog for Wandelbots Nova. Entries can be easily installed via the Nova CLI
nova catalog install jupyter
If you have a service (no matter if it provides a simple UI or some advanced API) you can add an additional entry in the catalog
folder.
Please make sure the secrets are available per default in the nova instance.
Any service you provide should be able to handle a BASE_PATH
environment variable, which gets injected into your container during runtime.
This tells your service the actual URI (e.g. BASE_PATH=cellname/appname
for instance.wandelbots.io/cellname/appname
).
catalog
is the folder, where all available entries are addedcatalog/your-app-name/
is the folder for your appcatalog/your-app-name/manifest.yaml
is the manifest for the entry, which follows schema.jsoncatalog/your-app-name/icon.png
icon which will be shown in graphical app managers
prebuild image is used for yamllint
docker run --rm -it -v $(pwd):/data cytopia/yamllint -d .yamllint .
Validating Against schema.json
running with docker
docker run --rm -it -v $(pwd):/app andiikaa/jsonschema schema.json catalog/jupyter/manifest.yaml
running when golang is installed
go install github.com/santhosh-tekuri/jsonschema/cmd/jv@latest
find catalog/*/manifest.yaml -exec sh -c 'jv schema.json {}' \;
If you want to have your CI to publish new versions to the existing catalog entries, one could use yq
# update the image
$ yq -i -I4 '.app.containerImage.image = "someimage:123"' catalog/doom/manifest.yaml
# update the version
$ yq -i -I4 '.version = "1.2.3"' catalog/doom/manifest.yaml