Murano package repository¶
Murano client and dashboard are both capable of installing packages and
bundles of packages from murano repository. To do so you should set
MURANO_REPO_URL
settings in murano dashboard or MURANO_REPO_URL
env
variable for the CLI client and use the respective command for package import.
These commands would then automatically import all the prerequisites for the
app being installed along with any images, mentioned in said apps.
For more info about importing from repository see Murano client.
Setting up your own repository¶
It’s fairly easy to set up your own murano package repository. To do so you need a web server, that would serve 3 directories:
- /apps/
- /bundles/
- /images/
When importing an app by name client would append any version info, if present
to the app name, .zip
file extension and search for that file in the
apps
directory.
When importing a bundle by name client would append .bundle
file
extension to the bundle name and search it in the bundles
directory.
Bundle file is a json or a yaml file with the following structure:
{"Packages":
[
{"Name": "io.murano.apps.ApacheHttpServer"},
{"Version": "", "Name": "io.murano.apps.Nginx"},
{"Version": "0.0.1", "Name": "io.murano.apps.Lighttpd"}
]
}
Glance images can be auto-imported by client, when mentioned in images.lst
inside the package. Please see Composing application package manual for more info about pakcage
composition.
When importing images from image.lst
file client simply searches for a
file with the same name as the Name
attribute of the image in the
images
directory of the repository.