mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 04:48:50 -05:00
[GH-ISSUE #519] Add validation for the template.toml file in CI #14488
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Shrest4647 on GitHub (Nov 10, 2025).
Original GitHub issue: https://github.com/Dokploy/templates/issues/519
FYI: I am not good at toml.
During few of my pull requests, I have noticed this pattern of errors in which the problems in
template.tomlfile syntax would pass undetected throughout my local test, and also the CI. I only notice it when fetching the template to run on a dokploy instance sometimes only after deploy. Although one could say it's a skill issue but I bet even seasoned developers would appreciate these fixes considering the convoluted toml syntax compared to yaml.Some solutions for better experience:
@Siumauricio commented on GitHub (Jul 8, 2026):
This is implemented — the
validate-docker-composeworkflow validates every changed blueprint'stemplate.toml(build-scripts/validate-template.ts) on each PR, and template metadata is now validated per-template viagenerate-meta.js --check(#978). Thanks!