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

Rename app or add multiple apps #569

Open
lorenyu opened this issue Feb 28, 2024 · 0 comments · May be fixed by #763 or #589
Open

Rename app or add multiple apps #569

lorenyu opened this issue Feb 28, 2024 · 0 comments · May be fixed by #763 or #589
Assignees

Comments

@lorenyu
Copy link
Contributor

lorenyu commented Feb 28, 2024

The infra template already supports the ability to have multiple apps in a monorepo or to have a single app that isn't named app. Multiple projects already have a multi-app setup. However, how to do this is currently tribal knowledge and not spelled out anywhere. This ticket is to make it possible for an engineer new to the infra template to be able to rename an app or set up multiple apps.

Scope

The scope of this could initially just be a set of instructions for how to rename the app or add a new app.

Open question

Do we want the ability to automate this process? If so, we could potentially include that as part of the scope of this ticket or break it out into a separate ticket.

Notes

Roughly speaking, adding a new app / renaming an app involves:

  1. Renaming or copying infra/app --> infra/<app_name>
  • Optionally adjust any configs in infra/<app_name>/app-config if necessary (environment variables, CPU/memory configs, etc)
  1. Renaming or copying .github/workflows/cd-app.yml --> .github/workflows/cd-<app_name>.yml
  • In the workflow file, update app_name to the new app name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment