Repository navigation
Add Blueprints to the multi-resource examples - #36
Merged
Merged
Conversation
Adds a render.yaml to webhook-processing, web-service-api, postgres-backfill, and idempotent-side-effects, and replaces the manual Dashboard steps in each README and template.yaml with Blueprint deploy steps.
R4ph-t
temporarily deployed
to
rt/example-blueprints - web-service-api-py-api-8kdr
December 1, 2026 10:13 — with
Render
Inactive
Wraps each render.yaml in a project with a production environment, so the example's resources are grouped together in the Dashboard.
The examples are for trying out, and three of them use a free database that expires after 30 days, so production was the wrong label.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
render.yamlBlueprint to the four examples that need more than one resource:RENDER_API_KEYRENDER_API_KEYOPENAI_API_KEYEach Blueprint puts its resources in a project named after the example (for example
web-service-api-py), in adevelopmentenvironment.Wires
DATABASE_URLwithfromDatabaseandWORKFLOW_SLUGwithfromService(property: slug). webhook-processing generatesGITHUB_WEBHOOK_SECRET, and the README says where to copy it from.Replaces the manual Dashboard steps in each README and
template.yamlwith Blueprint deploy steps (CLI and Dashboard).The three examples with Postgres note that a workspace can have one free database and that it expires after 30 days, with a link to free Postgres limits.
Motivation
These examples need two or three resources wired together, which took a long list of manual Dashboard steps. A Blueprint creates them in one go.
This follows the pattern from the ai-chat-turns Blueprint PR (#35):
render.yamllives in the example folder, has norepo:line so forks andrender workflows initprojects deploy from their own repo, and service names carry a language suffix so both languages can share a workspace.render workflows initcopiesrender.yamlinto new projects, so the README and template tell users to removerootDirwhen the project is at the repo root.Test plan
render blueprints validate <example>/render.yaml -o jsonreturnsvalid: truefor all four.RENDER_API_KEY:WORKFLOW_SLUGon the API resolved to the workflow's slug (web-service-api-py).productionat the time; renamed todevelopmentsince).RENDER_API_KEYwas missing, as expected.