Page MenuHomePhabricator

Blubber should fetch git submodules of its project if it has them
Closed, InvalidPublic

Event Timeline

Can you elaborate on your use case a bit? Blubber doesn't have any git-specific features currently (though you can run any ad hoc builder command you like). It sort of assumes the same context as does a docker build command, namely that you have some filesystem hierarchy already prepared locally and wish to copy files in and run commands against them to build artifacts and configure stuff.

PipelineLib, however, has more options around git fetches. If that's what you'll use to drive the CI workflows, then you can set fetch.submodules: true in your .pipeline/config.yaml to ensure that submodules are checked out—this is, however, the default behavior.

I did not know about builder commands; that may actually address our use case. I will respond here again if that's not true.

Thanks, Dan; I think that PipelineLib's innate functionality works! Quick question: is there a way I can run PipelineLib locally the way I can run the Blubber binary? I'd like to be able to build a Docker image identical to the one that will be built in the pipeline.

Thanks, Dan; I think that PipelineLib's innate functionality works! Quick question: is there a way I can run PipelineLib locally the way I can run the Blubber binary? I'd like to be able to build a Docker image identical to the one that will be built in the pipeline.

Unfortunately that's not possible since PipelineLib is currently implemented as a library used by Jenkins Workflow. I'm hoping this will change in the future, however, if we migrate to a different platform and port PipelineLib.