teller icon indicating copy to clipboard operation
teller copied to clipboard

✨ FR: Multiple projects in one

Open sschneider-ihre-pvs opened this issue 3 years ago • 4 comments

Use case, if you have a frontend and a backend project and the frontend one has the backend url/port as env var and the backend has an env var vor its port also both would need a teller file and the teller file needs to be in the project folder. Instead, an option for having a central teller file for multiple possibly overlapping project that don't have to be checked in at all and can reside in the home directory would be nice.

sschneider-ihre-pvs avatar Feb 23 '22 10:02 sschneider-ihre-pvs

Got it. So to re-iterate, a single config file, that outline multiple projects. Lets say we have a monorepo:

backend/
frontend/
some.json
other.json
teller.yml <--- this is a single config

And our yaml file will map:


projects:
  backend:
    [...]
  frontend:
   [...]

and somehow, let Teller via CLI pick which project you want.

Is that accurate?

jondot avatar Feb 23 '22 11:02 jondot

yes pretty much, but maybe also that teller looks for a .tellery.yaml in the home folder also if it doesn't find one and the projects need to have some kind of path set to it

sschneider-ihre-pvs avatar Feb 23 '22 11:02 sschneider-ihre-pvs

And do you foresee some settings/secrets that are common to both backend and frontend as well?

jondot avatar Feb 23 '22 12:02 jondot

port settings for example. backend running on port and frontend accessing port of said backend

sschneider-ihre-pvs avatar Feb 23 '22 13:02 sschneider-ihre-pvs