I have a pipeline that is running with docker runner ( on drone ).
On of my steps modify the structure of the code ( delete and add some files )
I would like to have the code as it was basically pulled from the beginning.
How Can we do that.
I think there are a couple of options here.
-
run the steps that require un-altered repo code first. check out ‘depends_on’ here: Parallelism | Drone
-
disable automatic cloning and implement custom repo logic: Cloning | Drone