Template:Deployment: Difference between revisions
Template page
More languages
More actions
Content deleted Content added
Re-save to force cargo_declare re-parse (via update-page on MediaWiki MCP Server) |
Replace all-plugins query with arraymap of enabled plugins (via update-page on MediaWiki MCP Server) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 9: | Line 9: | ||
; <code>backend_url</code> : Backend API URL (optional). |
; <code>backend_url</code> : Backend API URL (optional). |
||
; <code>purpose</code> : Description of what this deployment is for. |
; <code>purpose</code> : Description of what this deployment is for. |
||
; <code>plugins</code> : Comma-separated list of deployed plugin names ( |
; <code>plugins</code> : Comma-separated list of deployed plugin names (e.g. <code>care_abdm, care_hcx</code>). |
||
; <code>frontend_detail</code> : Frontend hosting detail (e.g. <code>DigitalOcean Droplet / App Platform</code>). |
|||
; <code>backend_detail</code> : Backend hosting detail (e.g. <code>DigitalOcean Droplet / App Platform</code>). |
|||
; <code>database_detail</code> : Database detail (e.g. <code>Managed PostgreSQL on DigitalOcean</code>). |
|||
; <code>storage_detail</code> : Storage detail (e.g. <code>DigitalOcean Spaces (S3-compatible)</code>). |
|||
; <code>status</code> : <code>active</code>, <code>inactive</code>, or <code>archived</code>. |
; <code>status</code> : <code>active</code>, <code>inactive</code>, or <code>archived</code>. |
||
| Line 21: | Line 25: | ||
|purpose=Production CARE instance |
|purpose=Production CARE instance |
||
|plugins=care_abdm, care_hcx |
|plugins=care_abdm, care_hcx |
||
|frontend_detail=DigitalOcean Droplet / App Platform |
|||
|backend_detail=DigitalOcean Droplet / App Platform |
|||
|database_detail=Managed PostgreSQL on DigitalOcean |
|||
|storage_detail=DigitalOcean Spaces (S3-compatible) |
|||
|status=active |
|status=active |
||
}} |
}} |
||
| Line 33: | Line 41: | ||
|purpose=Text |
|purpose=Text |
||
|plugins=Text |
|plugins=Text |
||
|frontend_detail=Text |
|||
|backend_detail=Text |
|||
|database_detail=Text |
|||
|storage_detail=Text |
|||
|status=String |
|status=String |
||
}} |
}} |
||
| Line 44: | Line 56: | ||
|purpose={{{purpose|}}} |
|purpose={{{purpose|}}} |
||
|plugins={{{plugins|}}} |
|plugins={{{plugins|}}} |
||
|frontend_detail={{{frontend_detail|}}} |
|||
|backend_detail={{{backend_detail|}}} |
|||
|database_detail={{{database_detail|}}} |
|||
|storage_detail={{{storage_detail|}}} |
|||
|status={{{status|active}}} |
|status={{{status|active}}} |
||
}}<div class="ohc-sidebar" style="float: right; width: 320px; margin: 0 0 1em 1em;"> |
}}<div class="ohc-sidebar" style="float: right; width: 320px; margin: 0 0 1em 1em;"> |
||
| Line 60: | Line 76: | ||
<div class="ohc-sidebar__items"><span class="ohc-sidebar__item">{{{purpose}}}</span></div></div> |
<div class="ohc-sidebar__items"><span class="ohc-sidebar__item">{{{purpose}}}</span></div></div> |
||
}} |
}} |
||
</div> |
|||
{{#if:{{{plugins|}}}|<div class="ohc-sidebar__group"> |
|||
{{#if:{{{frontend_detail|}}}{{{backend_detail|}}}{{{database_detail|}}}{{{storage_detail|}}}| |
|||
<div class="ohc-sidebar__group-title">Plugins</div> |
|||
== Infrastructure == |
|||
<div class="ohc-sidebar__items"><span class="ohc-sidebar__item">{{{plugins}}}</span></div></div> |
|||
{| class="wikitable" |
|||
{{#if:{{{frontend_detail|}}}|<tr><th>Frontend</th><td><code>{{{url}}}</code> — {{{frontend_detail}}}</td></tr>}} |
|||
{{#if:{{{backend_detail|}}}|<tr><th>Backend</th><td><code>{{{backend_url}}}</code> — {{{backend_detail}}}</td></tr>}} |
|||
{{#if:{{{database_detail|}}}|<tr><th>Database</th><td>{{{database_detail}}}</td></tr>}} |
|||
{{#if:{{{storage_detail|}}}|<tr><th>Storage</th><td>{{{storage_detail}}}</td></tr>}} |
|||
</table> |
|||
}} |
}} |
||
{{#if:{{{plugins|}}}| |
|||
| ⚫ | |||
== Plugins == |
|||
{{#arraymap:{{{plugins}}}|,|@@@@|[[Plugins/@@@@|@@@@]]|<nowiki> </nowiki>•<nowiki> </nowiki>}} |
|||
| ⚫ | |||
Latest revision as of 16:01, 9 July 2026
Deployment metadata template. Declares and stores the Deployments Cargo table. Use on every deployment page under Deployments/.
Parameters:
name- Deployment slug (e.g.
care.ohc.network). url- Frontend URL.
typeproduction,staging,development, orpreview.hosting_provider- Hosting provider (e.g.
DigitalOcean,AWS,Self-hosted). backend_url- Backend API URL (optional).
purpose- Description of what this deployment is for.
plugins- Comma-separated list of deployed plugin names (e.g.
care_abdm, care_hcx). frontend_detail- Frontend hosting detail (e.g.
DigitalOcean Droplet / App Platform). backend_detail- Backend hosting detail (e.g.
DigitalOcean Droplet / App Platform). database_detail- Database detail (e.g.
Managed PostgreSQL on DigitalOcean). storage_detail- Storage detail (e.g.
DigitalOcean Spaces (S3-compatible)). statusactive,inactive, orarchived.
{{Deployment
|name=care.ohc.network
|url=https://care.ohc.network
|type=production
|hosting_provider=DigitalOcean
|backend_url=https://careapi.ohc.network
|purpose=Production CARE instance
|plugins=care_abdm, care_hcx
|frontend_detail=DigitalOcean Droplet / App Platform
|backend_detail=DigitalOcean Droplet / App Platform
|database_detail=Managed PostgreSQL on DigitalOcean
|storage_detail=DigitalOcean Spaces (S3-compatible)
|status=active
}}
This template defines the table "Deployments". View table.