Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should projects be configured? #52

Open
rtyler opened this issue Nov 28, 2020 · 2 comments
Open

How should projects be configured? #52

rtyler opened this issue Nov 28, 2020 · 2 comments
Assignees
Milestone

Comments

@rtyler
Copy link
Owner

rtyler commented Nov 28, 2020

Related to #39

Now that things are moving far enough along, I need to create the means of defining projects. I'm thinking this should be separate from the main system configuration, and allow for configuration via a directory. For example:

projects.d
├── infra
│   ├── data-tier.yml
│   ├── ecs.yml
│   └── tf-modules.yml
├── mobile
│   ├── android.yml
│   └── ios.yml
├── monolith.yml
├── react
│   ├── frontend.yml
│   ├── lib1.yml
│   └── lib2.yml
└── tools
    ├── migrator.yml
    └── reaper.yml

4 directories, 11 files

I think this would ideally result in different folders for organization in an eventual frontend as well.

Each of these yaml files I think would need:

  • title
  • description
  • source repo
  • source ref/wildcard
@rtyler
Copy link
Owner Author

rtyler commented Nov 28, 2020

It may be worth allowing the projects configuration to explicitly set the ottofile contents inside the YML, that way somebody could forcefully override whatever is defined in the repository (e.g. for deployment or high security use-cases)

@rtyler rtyler added this to the Self-hosted milestone Nov 28, 2020
@rtyler rtyler self-assigned this Mar 3, 2021
@rtyler
Copy link
Owner Author

rtyler commented Mar 3, 2021

I've got a sketch out of this right now, but this will need to be completed with #63

rtyler added a commit that referenced this issue Mar 4, 2021
The `demo/config` directory is eventually what I would expect to live in
`/etc/otto` on Otto hosts.

See #39 and #52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant