MAIA_build_images script#

Script to Build MAIA Docker Images using Kaniko. The specific MAIA configuration is specified by setting the corresponding --maia-config-file, and the cluster configuration is specified by setting the corresponding --cluster-config.

usage: MAIA_build_images [-h] --cluster-config CLUSTER_CONFIG --config-folder
                         CONFIG_FOLDER [--registry-path REGISTRY_PATH]
                         --project-id PROJECT_ID
                         [--build-version-file BUILD_VERSION_FILE]
                         [--cluster-address CLUSTER_ADDRESS] [-v]

Named Arguments#

--cluster-config

YAML configuration file used to extract the cluster configuration.

--config-folder

Configuration Folder where to locate (and temporarily store) the MAIA configuration files.

--registry-path

Optional path to the Docker registry. If not provided, the default is empty.

Default: “”

--project-id

Project ID to use for ArgoCD. This is used to identify the project in the cluster.

--build-version-file

Optional file containing the version of the Docker Images to build. If not provided, the default version is 1.0

Default: “https://raw.githubusercontent.com/minnelab/MAIA/master/MAIA/configs/docker_versions.yaml

--cluster-address

Optional address of the cluster. If not provided, the default is https://kubernetes.default.svc

Default: “https://kubernetes.default.svc

-v, --version

show program’s version number and exit

Example call:

MAIA_build_images --cluster-config /PATH/TO/cluster_config.yaml --config-folder /PATH/TO/config_folder