Template:Deployment: Difference between revisions
Template page
More languages
More actions
Content deleted Content added
Enrich Template:Deployment with infrastructure fields and plugins query (via update-page on MediaWiki MCP Server) |
Replace all-plugins query with arraymap of enabled plugins (via update-page on MediaWiki MCP Server) |
||
| 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>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>backend_detail</code> : Backend hosting detail (e.g. <code>DigitalOcean Droplet / App Platform</code>). |
||
| Line 75: | Line 75: | ||
<div class="ohc-sidebar__group-title">Purpose</div> |
<div class="ohc-sidebar__group-title">Purpose</div> |
||
<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> |
||
}} |
|||
{{#if:{{{plugins|}}}|<div class="ohc-sidebar__group"> |
|||
<div class="ohc-sidebar__group-title">Plugins</div> |
|||
<div class="ohc-sidebar__items"><span class="ohc-sidebar__item">{{{plugins}}}</span></div></div> |
|||
}} |
}} |
||
</div> |
</div> |
||
| Line 90: | Line 86: | ||
</table> |
</table> |
||
}} |
}} |
||
{{#if:{{{plugins|}}}| |
|||
== Plugins == |
== Plugins == |
||
{{#arraymap:{{{plugins}}}|,|@@@@|[[Plugins/@@@@|@@@@]]|<nowiki> </nowiki>•<nowiki> </nowiki>}} |
|||
{{#cargo_query:tables=Plugins |
|||
|fields=_pageName=Page, name=Name, org=Org, type=Type, domain_category=Category |
|||
|format=table |
|||
|where=status!='deprecated' |
|||
|orderBy=domain_category, name |
|||
}}</includeonly> |
}}</includeonly> |
||
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.