# Drone exec starlark support

**URL:** <https://drone.discourse.group/t/drone-exec-starlark-support/13074>\
**Category:** Drone Support\
**Created:** [December 28, 2022, 9:45pm UTC](https://drone.discourse.group/t/drone-exec-starlark-support/13074 "2022-12-28T21:45:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcdiem](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@tcdiem](https://drone.discourse.group/u/tcdiem)\
**Post date:** [December 28, 2022, 9:45pm UTC](https://drone.discourse.group/t/drone-exec-starlark-support/13074/1 "2022-12-28T21:45:31Z")

</div>

Hello,

I’ve been giving a shot to Drone CI and one feature which I missed is the support of starlark to ‘drone exec’ command.

My usercase is the following:  
I have a selfhosted dev environment (k8s, lxc) and the top feature on my list about Drone is the ability to run a pipeline locally (drone exec) so I (as developer) can have the same “build instructions” as my target (prod) environments, without resorting to different scripts that builds my containers locally and something else in prod.

I use starlark to build multi-arch pipelines and having to call “drone starlark convert” that generates a drone.yaml and then calling "drone exec [params]’ is a PITA. would be nice to have the option for exec to read directly the starlark file or something like reading from stdin , so I could pipe the convert into exec.
