Skip to content

Instantly share code, notes, and snippets.

@douglasmiranda
Created November 26, 2018 22:59
Show Gist options
  • Save douglasmiranda/bb5b72cc5cc11d2d8e0c1a8ab66342fe to your computer and use it in GitHub Desktop.
Save douglasmiranda/bb5b72cc5cc11d2d8e0c1a8ab66342fe to your computer and use it in GitHub Desktop.
Status: how Drone deals with monorepo; dir/file changed conditions

Well there's no builtin way of doing.

The problem is:

We need a way of skipping steps, or conditional pipelines that are triggered when some dir/* files.* were changed since last commit.

Useful if you maintain a:

  • Monorepo
  • Repo of Dockerfiles (or whatever build files)
  • In this issue you can see the use cases: harness/harness#1021

The decision so far: harness/harness#1021 (comment)

There's some effort on creating a plugin to deal with this situation: https://github.com/fbcbarbosa/drone-changeset/

Related links:

@d3r0
Copy link

d3r0 commented Dec 5, 2022

The link to the issue still works, which may still be open, but the developers mentioned some solutions in the last comment.
harness/harness#1021 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment