Created
July 20, 2021 21:52
-
-
Save gvyshnya/6aabb6020dc56b699fd8566a29b9d3b9 to your computer and use it in GitHub Desktop.
This is the makefile to automate useful Dataproc-related deployment routines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REGION="europe-west1" | |
ZONE="europe-west1-b" | |
TEMPLATE_ID="download_production_table" | |
dev_dataproc_assets_bucket="gs://your-dataproc-assets-bucket/production/" | |
dev_project=your-gcp-project-id | |
upload_assets: | |
gsutil cp main.py ${dev_dataproc_assets_bucket} --region ${REGION} --project ${dev_project} | |
upload_template: | |
gcloud dataproc workflow-templates import ${TEMPLATE_ID} --region ${REGION} --source workflow-tmpl.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment