Skip to content

Commit

Permalink
usecase for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael95-m committed Aug 13, 2023
1 parent 04bd8b3 commit beee6d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions integration_test/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/bin/bash

echo "Mlflow server and prediction service starting"
if [[ "${GITHUB_ACTIONS}" ]]; then
docker compose up -d mlflow_server
pipenv run python pipeline/training_pipeline.py
docker compose up -d diabetes_service
fi

docker compose up -d mlflow_server diabetes_service

sleep 5
Expand Down

0 comments on commit beee6d8

Please sign in to comment.