diff --git a/.gitea/workflows/mlops-pipeline.yml b/.gitea/workflows/mlops-pipeline.yml index e53233d..2e2da7e 100644 --- a/.gitea/workflows/mlops-pipeline.yml +++ b/.gitea/workflows/mlops-pipeline.yml @@ -35,6 +35,8 @@ jobs: - name: Setup DVC run: | + poetry run dvc remote modify minio access_key_id $AWS_ACCESS_KEY_ID + poetry run dvc remote modify minio secret_access_key $AWS_SECRET_ACCESS_KEY poetry run dvc remote list poetry run dvc pull || echo "DVC pull failed, continuing..." env: @@ -79,6 +81,8 @@ jobs: - name: Setup DVC run: | + poetry run dvc remote modify minio access_key_id $AWS_ACCESS_KEY_ID + poetry run dvc remote modify minio secret_access_key $AWS_SECRET_ACCESS_KEY poetry run dvc remote list poetry run dvc pull || echo "DVC pull failed, continuing..." env: @@ -94,6 +98,8 @@ jobs: - name: Push DVC changes run: | + poetry run dvc remote modify minio access_key_id $AWS_ACCESS_KEY_ID + poetry run dvc remote modify minio secret_access_key $AWS_SECRET_ACCESS_KEY poetry run dvc push || echo "DVC push failed, continuing..." env: AWS_ACCESS_KEY_ID: ${{ secrets.DVC_ID }} diff --git a/.gitignore b/.gitignore index fa15de9..9ff9516 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ data/raw/* data/processed/* models/*.pkl .dvc/cache +.dvc/config.local