Replies: 16 comments 1 reply
-
I found this #2669 but that isn't the case for me. |
Beta Was this translation helpful? Give feedback.
-
@rockaut Thanks |
Beta Was this translation helpful? Give feedback.
-
Heja @samdulam , ok thank you for answering. It would be cool if there would be a way to set the git options somehow. There may be occasions where NOT pulling submodules is accepted and better. |
Beta Was this translation helpful? Give feedback.
-
@rockaut Thanks for bringing this up, unfortunately this feature isn't currently on our roadmap right now. |
Beta Was this translation helpful? Give feedback.
-
@mariyam-portainer you mean pulling submodules or the git options? |
Beta Was this translation helpful? Give feedback.
-
What would you be trying to achieve with git options? |
Beta Was this translation helpful? Give feedback.
-
@mariyam-portainer and @huib-portainer - sorry let's reset this: just forget about the "git options" thing, it was just an idea I mixed in. The only thing for me is the submodules support. |
Beta Was this translation helpful? Give feedback.
-
any plans to add this feature. We work a lot with submodules and therefore without this we can't use this git feature on portainer |
Beta Was this translation helpful? Give feedback.
-
+1 for Submodules support, from a Portainer EE customer. It's essential for us to have this integration since almost all of our stacks are created with Git repositories having multiple compose files, using the override/extends method (explained here). Is there any plan on adding this feature in Portainer? |
Beta Was this translation helpful? Give feedback.
-
The lack of this feature is keeping us from using repository deployment as a whole as well. I'd appreciate this feature a lot. |
Beta Was this translation helpful? Give feedback.
-
I would really appreciate this feature as well. |
Beta Was this translation helpful? Give feedback.
-
I've added some notes to our documentation that indicates that submodules aren't supported at present - this doesn't mean we're not going to implement support for this, just that we should pre-warn users of this beforehand. The feature is being tracked internally for potential future implementation.
|
Beta Was this translation helpful? Give feedback.
-
Just adding a quick anecdote on why I want this feature. I'm trying (and failing) to use Portainer to deploy a Minetest server. Lots of mods are distributed via contentdb, Minetest's biggest mod database. These mods can be downloaded as a .zip archive and extracted to a folder. However, many mods aren't on contentdb. For one reason or another, their developer did not or does not want to go through the steps to getting the mod submitted and approved on contentdb and instead, server managers have to acquire those mods from git. In the spirit of keeping things updated over time, I use git submodules for those mods in my minetest server repo. This way I can run Naturally, this workflow is incompatible with Portainer. A big bummer for sure. Submodules is a something I would love to see in the future. Thank you! |
Beta Was this translation helpful? Give feedback.
-
I have been following this for a while now... Wouldn't it be possible to expose a field when creating a new stack from git, called "git args" or something along those lines? It should just be one flag when cloning or pulling if i understand this correctly? This is one of the features that really stop us for using portainer as our primary GitOps tool. It would be awesome to see it solved. |
Beta Was this translation helpful? Give feedback.
-
Allowing the use of submodules would drastically improve our workflow. |
Beta Was this translation helpful? Give feedback.
-
Perhaps my solution will suit you. I turn submodules into regular folders. This is a temporary solution, but it may be useful in this situation. Repo |
Beta Was this translation helpful? Give feedback.
-
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.
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
Beta Was this translation helpful? Give feedback.
All reactions