The docs are pretty bad around this area if not completely incorrect (especially the CLI syntax).
I can create a template and it appears in the organization via the UI but referencing it in the .drone.yml of a repo in that organization results in the template converter: template name given not found error which I did find a nearly 2 year old issue referencing the same thing #3237.
To create the template I am using the examples from this page and correcting the CLI command as that syntax DOES NOT work.
The only logs in the drone server are:
{"commit":"xxx","error":"template converter: template name given not found","event":"push","level":"warning","msg":"trigger: cannot convert yaml","ref":"refs/heads/main","repo":"xxx/xxx","time":"2024-03-06T20:36:35Z"}
The docs are pretty bad around this area if not completely incorrect (especially the CLI syntax).
I can create a template and it appears in the organization via the UI but referencing it in the
.drone.yml
of a repo in that organization results in thetemplate converter: template name given not found
error which I did find a nearly 2 year old issue referencing the same thing #3237.To create the template I am using the examples from this page and correcting the CLI command as that syntax DOES NOT work.
The only logs in the drone server are:
Drone server: v2.22.0 Drone CLI: v1.8.0