Switching from dictionary to list gives compiler error, but no detail on what file(s) #3677
Replies: 3 comments 1 reply
-
Well, the |
Beta Was this translation helpful? Give feedback.
-
I've now completely rewritten all files (Basically deleted everything and copied everything by hand) and the workflow works again... The only notable changes between the files are these:
Based on this can I only assume one of the following causes to be the case:
I'll leave this discussion unanswered since the cause of this problem is not yet found. |
Beta Was this translation helpful? Give feedback.
-
This has been solved, so I guess we can close it? |
Beta Was this translation helpful? Give feedback.
-
I've changed my woodpecker pipeline files from a dictionary-based setup to a list-based one, but now encounter issues.
The error I encounter in the CI is
[compiler] yaml: line 39: did not find expected key
I first thought it could be due to the fact that I set names containing spaces, but removing those did not change the error I'm encountering.
I've sent the files through a YAML validator and they all returned as valid YAML, so I'm at a loss on what the issue could be here exactly.
Also tried to use the cli, but it won't work, probably because the ci isn't installed on my PC (Running windows). Reports it can't find the file, no matter how I try to define it (relative using
./
or absolute withC:...
path).The latest iterations of all the files are found here: https://codeberg.org/Andre601/AdvancedServerList/src/branch/master/.woodpecker
It would be helpful if Woodpecker could tell you what file it found the errors with. Tho, not sure if that is possible with whatever it does to validate and compile the yaml files. If it is, then I hope it can be introduced eventually.
Finally some small info dump:
Beta Was this translation helpful? Give feedback.
All reactions