riotkit-org / riotkit-do

RKD - RiotKit DO. Task executor - balance between Makefile and Gradle. Written in Python. Powerful tool for every DevOps. Automates production tasks as well as local development tasks
Apache License 2.0
10 stars 2 forks source link

Subprojects support #77

Open blackandred opened 3 years ago

blackandred commented 3 years ago

A project is at root level, in subdirectories there could be subprojects that have their own tasks. There should be a possibility to import subprojects from subdirectories into a project.

Implementation details:

The functionality should work like in Gradle project.

Why, use cases:

blackandred commented 3 years ago

Pipelines implementation details

Defining pipelines

:some-task :some-task2 should be for example translated to :dir1:dir2:dir3:some-task :dir1:dir2:dir3:some-task2 - assuming :dir1:dir2:dir3 is the project name due to directories inheritance.

Workdir should point to dir1/dir2/dir3

blackandred commented 3 years ago

Awaiting review.