drone convert is what you should use as well, but I had an issue with that as it didn’t work with proper yaml anchors (it just removed the line).
we are just switching to a new Drone 1.0 and to ease the migration, we created a very simple script which helped us to do at least the basic stuff automatically.
Here is the repo, PRs welcome, it definitely doesn’t work for all cases and you need to post-check it manually. But it worked for us with simple but not trivial pipelines.
Hey there, Drone 1.0 is able to read 0.8 yaml configuration files. It will detect and convert them on-the-fly. You can also use the
drone convert command to manually convert configuration files. The automatic conversion is not perfect but it should work just fine for most projects. Sorry if we did a poor job communicating this
Heh! Hey, thanks for the answer! Will add it to the description and the github README. Writing that mini script took less than an hour, so no big harm.
I didn’t find this anywhere and actually, the automatic conversion didn’t work in our case.
drone convert works! Thanks a lot!