Files
containers/.vib/mlflow/goss/vars.yaml
Javier J. Salmerón-García 460c70ac6c [bitnami/mlflow] chore: 👷 Add VIB integration (#50293)
* [bitnami/mlflow] chore: 👷 Add VIB integration

This PR adds basic goss tests to the MLflow container. Runs:

- Common tests
- Version test
- User tests
- MLflow tracking server test

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* test:  Improve signal handling and permissions

In the `mlflow-serve` test, the timeout command must be changed to use
SIGINT as `mlflow server` does not behave correctly when using SIGTERM.

In the directory tests, the permissions of the `/opt/bitnami/python`
folder are more restricted

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

---------

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
2023-09-29 11:22:32 +02:00

15 lines
249 B
YAML

binaries:
- python
- mlflow
root_dir: /opt/bitnami
directories:
- mode: "0755"
paths:
- /opt/bitnami/python
- mode: "0775"
paths:
- /app
version:
bin_name: python
flag: "-c 'import mlflow; print(mlflow.__version__)'"