John Kang
04/07/2023, 2:45 PMJohn Kang
04/07/2023, 2:46 PMstorage = GCS.load("gcs-site-analytics-code")
docker_infrastructure = DockerContainer.load("site-analytics-cert-pull")
generic_wholesale_cert_update_deployment = Deployment.build_from_flow(
flow=generic_cert_data_update_function,
name="Generic_Wholesale_Cert",
work_queue_name="default",
infrastructure=docker_infrastructure,
storage=storage,
path="generic_wholesale_cert_folder",
schedule=(
CronSchedule(cron="0 1/8 * * *", timezone="America/New_York")
), # At minute 0 past Every 8 hours starting at 1am
)
John Kang
04/07/2023, 2:46 PMJohn Kang
04/07/2023, 2:47 PMJohn Kang
04/07/2023, 2:48 PM