Skip to content

Commit

Permalink
rename flow
Browse files Browse the repository at this point in the history
  • Loading branch information
m-p-esser committed Oct 6, 2023
1 parent d23734f commit 96771bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions make/03_deploy_flow.mk
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ deploy-ingest-photos-napi-gcs: ## Deploy Ingest Photos NAPI GCS Flow as Google C
--timezone 'Europe/Berlin' \
--apply

.PHONY: deploy-ingest-photos-expanded-napi-gcs
deploy-ingest-photos-expanded-napi-gcs: ## Deploy Ingest Photos expanded NAPI GCS Flow as Google Cloud Run
.PHONY: deploy-ingest-photos-expanded-napi-bigquery
deploy-ingest-photos-expanded-napi-bigquery: ## Deploy Ingest Photos expanded NAPI bigquery Flow as Google Cloud Run
make env-init
make push-prefect-runner-image
prefect deployment build src/prefect/ingest_photos_expanded_napi_gcs.py:ingest_photos_expanded_napi_gcs \
--name ingest-photos-expanded-napi-gcs-${ENV} \
prefect deployment build src/prefect/ingest_photos_expanded_napi_bigquery.py:ingest_photos_expanded_napi_bigquery \
--name ingest-photos-expanded-napi-bigquery-${ENV} \
--infra-block cloud-run-job/${GCP_PROJECT_ID}-google-cloud-run-${ENV} \
--storage-block github/${GCP_PROJECT_ID}-github-${ENV} \
--output deployments/ingest-photos-expanded-napi-gcs-${ENV}-deployment.yaml \
--output deployments/ingest-photos-expanded-napi-bigquery-${ENV}-deployment.yaml \
--pool ${ENV}-cloud-run-push-work-pool \
--params='{"gcp_credential_block_name": "unsplash-photo-trends-deployment-sa", "batch_size": 30, "total_record_size": 90 }' \
--timezone 'Europe/Berlin' \
Expand Down
8 changes: 4 additions & 4 deletions make/05_test_flow.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ integration-test-ingest-photos-napi-gcs: ## Integration Test Ingest Photos NAPI
make deploy-ingest-photos-napi-gcs
prefect deployment run ingest-photos-napi-gcs/ingest-photos-napi-gcs-${ENV}

.PHONY: integration-test-ingest-photos-expanded-napi-gcs
integration-test-ingest-photos-expanded-napi-gcs: ## Integration Test Ingest Photos Expanded NAPI GCS Flow (using Backend API)
make deploy-ingest-photos-expanded-napi-gcs
prefect deployment run ingest-photos-expanded-napi-gcs/ingest-photos-expanded-napi-gcs-${ENV}
.PHONY: integration-test-ingest-photos-expanded-napi-bigquery
integration-test-ingest-photos-expanded-napi-bigquery: ## Integration Test Ingest Photos Expanded NAPI bigquery Flow (using Backend API)
make deploy-ingest-photos-expanded-napi-bigquery
prefect deployment run ingest-photos-expanded-napi-bigquery/ingest-photos-expanded-napi-bigquery-${ENV}

0 comments on commit 96771bc

Please sign in to comment.