Open andrii-kasparevych opened 2 years ago
Hey @andrii-kasparevych Thanks for submitting another proposal we appreciate it. 🚀
We usually review PRs every Tuesday but I will keep you up to date if anything changes.
Hi everyone, any updates (planned) here?
As a Dev or DevOps I would like to have a possibility to test my template-based pipelines locally using
drone exec
CLI so that its I'm able to develop templates quicker without the need to change the template on the drone server.Sample scenario:
I have a folder containing a
.drone.yml
file (the pipeline) andtemplate.yaml
(the template) like below..drone.yml
template.yaml
I open the command line in that folder (e.g. PowerShell) and run
drone exec
Expected output
Drone should automatically discover the template file in the same folder and apply it. Or there may be some additional parameter added to the CLI to provide the template, e.g.
drone exec --template templateFolder/template.yaml