You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
broker/
├── deploy/
│ ├── configs-template.yaml # env.yaml becomes this.
│ ├ # Modules will use it to define all resources and their
│ ├ # they rely on, including all required configurations.
│ ├── deploy.sh # Current classify_snn/deploy.sh generalizes to this.
│ ├ # Should be able to accept any cloud run module's configs.yaml as input.
│ ├── cloudbuild.cloud-run.yaml # Every cloud run module will use this.
│ ├── cloudbuild.consumer.yaml # For example.
│ ├── _create-ancillaries.sh # Called by deploy.sh.
│ ├ # Should be able to iterate over entries found in
│ ├ # configs.yaml of a given type (eg, pubsub topic)
│ ├ # and create or delete them, agnostic to the details.
│ ├── _construct_name.sh # Called by deploy.sh and others.
├── cloud_run/lsst/classify_snn/
│ ├── configs.yaml # Define all needed resources with their configs.
│ └── main.py ... etc.
├── cloud_run/lsst/ps_to_storage/
│ ├── configs.yaml # Define all needed resources with their configs.
│ └── main.py ... etc.
# ... etc...
Terraform can take the 'cloudbuild*.yaml' files and execute them. To do that, we'll need to write a Terraform script that will replace 'deploy.sh'. I gave 'deploy.sh' to Google Gemini and asked it to convert it to a Terraform script and it gave me what looked like a reasonable start. See also, #152. (If/when anyone's ready to actually implement Terraform, you can either use that PR directly or else close it and open your own.)
Similar to our current setup, an individual module could then be deployed by "applying" its Terraform script. We could also write a "main.tf" Terraform script that could be used to deploy all modules at once. Terraform could then be used in combination with, e.g., GitHub Actions to create automatic deployments for both test and production purposes.
The text was updated successfully, but these errors were encountered:
This is "Future work" that could follow #256.
Directory structure
Could look something like this:
Steps
All of these are 'classify_snn/' --> 'deploy/':
How this could be used with Terraform
Terraform can take the 'cloudbuild*.yaml' files and execute them. To do that, we'll need to write a Terraform script that will replace 'deploy.sh'. I gave 'deploy.sh' to Google Gemini and asked it to convert it to a Terraform script and it gave me what looked like a reasonable start. See also, #152. (If/when anyone's ready to actually implement Terraform, you can either use that PR directly or else close it and open your own.)
Similar to our current setup, an individual module could then be deployed by "applying" its Terraform script. We could also write a "main.tf" Terraform script that could be used to deploy all modules at once. Terraform could then be used in combination with, e.g., GitHub Actions to create automatic deployments for both test and production purposes.
The text was updated successfully, but these errors were encountered: