mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
clean up code
This commit is contained in:
parent
f0a5e55178
commit
2a5b2f1409
1 changed files with 14 additions and 6 deletions
20
.github/workflows/VerifyModelOperational.yml
vendored
20
.github/workflows/VerifyModelOperational.yml
vendored
|
|
@ -8,27 +8,35 @@ on:
|
|||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
Verify-Model:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build the Docker image
|
||||
- name: Install packages to retrieve artifacts
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }}
|
||||
run: |
|
||||
cd modules/ml-pipeline/src/pipeline/
|
||||
|
||||
pip install --upgrade pip
|
||||
pip install dvc dvc_s3
|
||||
# pip install -r src/requirements/predictions/requirements-dev.txt
|
||||
|
||||
cd src/
|
||||
- name: Retrieve artifacts (dvc.lock)
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }}
|
||||
run: |
|
||||
cd modules/ml-pipeline/src/pipeline/src
|
||||
dvc pull -r experiments
|
||||
|
||||
cd ..
|
||||
|
||||
- name: Build Prediction docker Image
|
||||
run: |
|
||||
docker build . --file Prediction.Dockerfile --tag prediction_test
|
||||
docker run prediction_test
|
||||
|
||||
- name: Run Prediction docker container
|
||||
run: |
|
||||
docker run prediction_test
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue