Skip to content

Stack deployment from git repo with submodules #5911

@rockaut

Description

@rockaut

Question:
Heja there,

I can't get my current setup up and running currently and I struggle to understand what I get wrong.

I have multiple public repositories - for each stack one. I also have an private repo which serves as my umbrella repository and combines all the other repositories as submodules - this one contains some secret files and such. This way I can just clone/pull my private repo and keep all the other things open. If I try to get one of this stacks up and running in portainer-ce (v2.9.1) it states that the compose file is not found.

image

As a test I tried to deploy the stack directly from the stack-repo which worked. And also a compose file directly from my private repo worked. So I guess your current implementation doesn't clones/pulls the submodules?
I tried to scrape through the source but my golang-fu is very week ;-)

best
Markus

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions