Skip to content

Commit

Permalink
Merge pull request #6 from javAlborz/main
Browse files Browse the repository at this point in the history
DVC in container
  • Loading branch information
javAlborz authored Jan 16, 2024
2 parents f59f827 + 9a04b55 commit c95e6ff
Show file tree
Hide file tree
Showing 12 changed files with 3,873 additions and 3,821 deletions.
2 changes: 1 addition & 1 deletion .dvc/config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[core]
remote = remote_storage
['remote "remote_storage"']
url = gs://mlops-group13-dog-breeds/
url = gs://dogbucko/
version_aware = true
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ create_environment:
requirements:
$(PYTHON_INTERPRETER) -m pip install -U pip setuptools wheel
$(PYTHON_INTERPRETER) -m pip install -r requirements.txt
$(PYTHON_INTERPRETER) -m pip install -e .
$(PYTHON_INTERPRETER)

## Install Developer Python Dependencies
dev_requirements: requirements
Expand All @@ -37,10 +37,12 @@ clean:
#################################################################################

## Fetch and process raw data into processed data
## gcloud auth activate-service-account --quiet --key-file=mlops-group13-data-service-account.json Add this back later?
# gcloud auth revoke --quiet --verbosity="error" [email protected]


data:
gcloud auth activate-service-account --quiet --key-file=mlops-group13-data-service-account.json
dvc pull
gcloud auth revoke --quiet --verbosity="error" [email protected]
python src/data/make_dataset.py

#################################################################################
Expand Down
4 changes: 2 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ steps:
args: [
'build',
'-f',
'dockerfiles/train_model.dockerfile',
'trainer.dockerfile',
'-t',
'gcr.io/$PROJECT_ID/train_model:$COMMIT_SHA',
'.']
Expand All @@ -23,4 +23,4 @@ steps:
# - '--region'
# - 'REGION'
images:
- 'gcr.io/$PROJECT_ID/train_model:$COMMIT_SHA'
- 'gcr.io/$PROJECT_ID/train_model:$COMMIT_SHA'
1 change: 1 addition & 0 deletions data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/raw
Loading

0 comments on commit c95e6ff

Please sign in to comment.