Skip to content

Commit

Permalink
Fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuthan committed Oct 22, 2023
1 parent 9432138 commit 1a058a9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 30 deletions.
21 changes: 21 additions & 0 deletions toll-application/run-batch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

PROJECT=playground-272019
REGION=europe-west1
DATE=`date +%Y-%m-%d`

gcloud dataflow flex-template run "toll-application-`date +%Y%m%d-%H%M%S`" \
--template-file-gcs-location "gs://$PROJECT-toll-application/templates/toll-application-batch.json" \
--region "$REGION" \
--staging-location="gs://$PROJECT-toll-application/staging/" \
--parameters effectiveDate="$DATE" \
--parameters entryTable="$PROJECT.toll_application.toll-booth-entry" \
--parameters exitTable="$PROJECT.toll_application.toll-booth-exit" \
--parameters vehicleRegistrationTable="$PROJECT.toll_application.vehicle-registration" \
--parameters entryStatsHourlyTable="$PROJECT.toll_application.toll-booth-entry-stats-hourly" \
--parameters entryStatsDailyTable="$PROJECT.toll_application.toll-booth-entry-stats-daily" \
--parameters totalVehicleTimesOneHourGapTable="$PROJECT.toll_application.total-vehicle-times-one-hour-gap" \
--parameters totalVehicleTimesOneHourGapDiagnosticTable="$PROJECT.toll_application.total-vehicle-times-one-hour-gap-diagnostic" \
--parameters vehiclesWithExpiredRegistrationDailyTable="$PROJECT.toll_application.vehicles-with-expired-registration-diagnostic-daily" \
--parameters vehiclesWithExpiredRegistrationDailyDiagnosticTable="$PROJECT.toll_application.vehicles-with-expired-registration-daily-diagnostic" \

Binary file not shown.
30 changes: 0 additions & 30 deletions toll-infrastructure/.terraform/terraform.tfstate

This file was deleted.

0 comments on commit 1a058a9

Please sign in to comment.