File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- COMPOSE_PROJECT_NAME = cmg-test
2-
31MLFLOW_DB_USERNAME = admin
42MLFLOW_DB_PASSWORD = admin
53AWS_ACCESS_KEY_ID = admin
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ def setup(request: pytest.FixtureRequest, cleanup_cms: bool):
2828 mlflow_addr = svc_addr_map ["mlflow-ui" ]["address" ]
2929 mlflow_port = svc_addr_map ["mlflow-ui" ]["port" ]
3030 env = {
31- "CMS_PROJECT_NAME" : "cmg-test" , # set in assets/cms.env
3231 "MLFLOW_TRACKING_URI" : f"http://{ mlflow_addr } :{ mlflow_port } " ,
3332 }
3433 configure_environment (postgres , rabbitmq , minio , extras = env )
Original file line number Diff line number Diff line change 2727COGSTACK_MODEL_SERVE_COMMIT = "a55be7b10a83e3bdbdbd1a9e13248e1557fdb0db"
2828COGSTACK_MODEL_SERVE_LOCAL_PATH = Path ("downloads/CogStack-ModelServe" )
2929COGSTACK_MODEL_SERVE_COMPOSE = "docker-compose.yml"
30+ COGSTACK_MODEL_SERVE_COMPOSE_PROJECT_NAME = "cmg-test"
3031COGSTACK_MODEL_SERVE_COMPOSE_MLFLOW = "docker-compose-mlflow.yml"
3132COGSTACK_MODEL_SERVE_NETWORK = "cogstack-model-serve_cms"
3233
@@ -122,6 +123,7 @@ def configure_environment(
122123 "CMG_OBJECT_STORE_BUCKET_TASKS" : "test-tasks" ,
123124 "CMG_OBJECT_STORE_BUCKET_RESULTS" : "test-results" ,
124125 "CMG_SCHEDULER_MAX_CONCURRENT_TASKS" : "1" ,
126+ "CMS_PROJECT_NAME" : COGSTACK_MODEL_SERVE_COMPOSE_PROJECT_NAME ,
125127 ** (extras or {}),
126128 }
127129 log .debug (env )
@@ -180,6 +182,7 @@ def start_cogstack_model_serve(model_services: list[str]) -> list[DockerCompose]
180182 env_file .write (const_envvars )
181183 env_file .write (f"CMS_UID={ os .getuid ()} \n " )
182184 env_file .write (f"CMS_GID={ os .getgid ()} \n " )
185+ env_file .write (f"COMPOSE_PROJECT_NAME={ COGSTACK_MODEL_SERVE_COMPOSE_PROJECT_NAME } \n " )
183186 env_file .write (f"MODEL_PACKAGE_FULL_PATH={ TEST_CMS_MODEL_PACK .absolute ()} \n " )
184187
185188 log .debug (f"CogStack Model Serve environment file: { env_file_path } " )
You can’t perform that action at this time.
0 commit comments