Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working example of YAML templates? #3483

Open
jwetzell opened this issue Mar 6, 2024 · 0 comments
Open

Working example of YAML templates? #3483

jwetzell opened this issue Mar 6, 2024 · 0 comments
Labels

Comments

@jwetzell
Copy link

jwetzell commented Mar 6, 2024

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"}

Drone server: v2.22.0
Drone CLI: v1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants