You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Kind of...
I'm using moon to manage a lot of projects in a monorepo (100+) and differents technologies:
kustomize (kubectl)
nodejs
ansible
bash
markdown
etc.
Each project has a main technology but not only one.
For example, I have a main kustomize project (let's call it my-project for the example) but also containing some bash scripts & some markdown documents.
My first idea is that I'd like to write tests for each technologies & just setup the moon.yml depending on the technology.
For example with my-project:
a global test for all kustomize projects
a global test for all projects containing bash
a global test for all projects containing markdown
Example of test I'd like to turn in global tasks:
kustomize: test that the yaml is built correctly with kubectl kustomize base
bash: test that all dependencies are resolved
markdown: test that all local links are resolved
Problem is that there is only a shallow merged between global tasks and If I want a moon project to inherit the 3 tests, I have to create a tag- for each combinations.
Describe the solution you'd like
What I would like to do is define my 3 global tasks (from tags or languages), for example:
Hello 🙂
Is your feature request related to a problem? Please describe.
Kind of...
I'm using moon to manage a lot of projects in a monorepo (100+) and differents technologies:
kustomize
(kubectl)nodejs
ansible
bash
markdown
Each project has a main technology but not only one.
For example, I have a main
kustomize
project (let's call itmy-project
for the example) but also containing somebash
scripts & somemarkdown
documents.My first idea is that I'd like to write tests for each technologies & just setup the
moon.yml
depending on the technology.For example with
my-project
:kustomize
projectsbash
markdown
Example of test I'd like to turn in global tasks:
kustomize
: test that the yaml is built correctly withkubectl kustomize base
bash
: test that all dependencies are resolvedmarkdown
: test that all local links are resolvedProblem is that there is only a shallow merged between global tasks and If I want a moon project to inherit the 3 tests, I have to create a
tag-
for each combinations.Describe the solution you'd like
What I would like to do is define my 3 global tasks (from tags or languages), for example:
.moon/tasks/kustomize.yml
.moon/tasks/tag-bash.yml
.moon/tasks/tag-markdown.yml
And as a result of all of this, I'd like to have a merge of the
deps
of my tasktest
.Giving this final template:
Maybe by managing the merge option in the
.moon/workspace.yml
like:Describe alternatives you've considered
Today the only solutions I have found are to:
moon.yml
level bytest.<specific-test>
in eachtag-
filesmoon.yml
projectsmoon.yml
even if I have the same 100 timesAdditional context
I have a lot of projects with different pattern and many more coming, I'd like to avoid duplicating this in every of them.
The text was updated successfully, but these errors were encountered: