File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,12 @@ jobs:
2323 run : |
2424 uv sync --all-extras
2525
26- - name : Authenticate with GCP
26+ - name : Setup Environment Variables
2727 env :
2828 GCP_SERVICE_ACCOUNT_KEY : ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
2929 run : |
30+ echo "EVIDENTLY_PROJECT_ID=${{ secrets.EVIDENTLY_PROJECT_ID }}" >> $GITHUB_ENV
31+ echo "EVIDENTLY_API_TOKEN=${{ secrets.EVIDENTLY_API_TOKEN }}" >> $GITHUB_ENV
3032 echo "$GCP_SERVICE_ACCOUNT_KEY" > gcp-key.json
3133 gcloud auth activate-service-account --key-file=gcp-key.json
3234 export GOOGLE_APPLICATION_CREDENTIALS=gcp-key.json
Original file line number Diff line number Diff line change 11import logging
2- import sys
32from datetime import datetime , timedelta
43
54import yaml
3029 data_checker .validate_schema (config .green_taxi_raw_schema )
3130 gcs_connector .upload (data , file_name )
3231 except Exception as e :
33- logger .error (f"Data might not exist yet for { year } -{ month :02d} . Error: { e } " )
34- sys . exit ( 1 )
32+ logger .error (f"Data might not exist yet for { year } -{ month :02d} . Skipping " )
33+ raise e
You can’t perform that action at this time.
0 commit comments