Loading…
Topic
Configuration
2 posts about Configuration. Every summary links to the original.
- 2 posts
- 2 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Migrate your custom plug-ins to Red Hat Developer Hub 2.1
Upgrading to Red Hat Developer Hub 2.1 requires migrating custom plug-ins because the old front-end system and Scalprum have been removed; plug-ins relying on Scalprum mount points will fail to mount. Plug-ins must adopt the new front-end system by implementing extension blueprints like PageBlueprint and EntityCardBlueprint, exporting an alpha entry point in package.json, and adding a local dev test harness. Configuration moves from dynamicPlugins.frontend mount points to the app.extensions YAML array, where arrays are replaced completely rather than merged key by key. Plug-ins are now published as standalone OCI container images via Red Hat Konflux pipelines on quay.io, removing wrappers from the core container image. Red Hat provides the rhdh-plugin-nfs-migration skill for automating the 6-step plugin migration and the rhdh-upgrade-helper for configuration, along with the rhdh-local tool for testing on the dev branch using the next image.
How a new branch gets its config, migrations, and functions
Supabase branches are independent projects that require settings, schema, and edge functions to be set up before use. When a branch is created, configuration copies main project settings including Postgres, Auth, and Realtime config, then applies them with a single Postgres restart via walg_enable; Auth secrets do not carry over. Migrations come from the git repo for GitHub-connected branches or from the main project’s migration history for gitless branches; each file runs as one transaction in pipeline mode. Edge functions are copied from the main project at creation in parallel with configuration, and on each push only changed functions are redeployed using Brotli compression and SHA-256 checksums. If a step fails, it shows as DEAD and stops dependent steps, while PAUSED indicates a warning that does not block subsequent steps.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.