Submodule_override in 1.0

Hi,

I’m working on to migrate from drone 0.5 to 1.0, and I have a question about submodule cloning.

drone 0.5 (and 0.8) supports the feature to override submodule url by the following syntax:

https://0-8-0.docs.drone.io/cloning/

clone:
  git:
    image: plugins/git
    recursive: true
    submodule_override:
      mod1: https://github.com/krtx/mod1

Cloning step changes in 1.0.
Does drone 1.0 still have this syntax?

https://docs.drone.io/user-guide/pipeline/cloning/

check out https://docs.drone.io/user-guide/pipeline/cloning/#recursive

1 Like