akauppi / GroundLevel-firebase-es

[ANCHORED] Stencil for operational web apps
https://groundlevel-sep22.web.app/
Other
23 stars 3 forks source link

Command line script to create a new project #112

Open akauppi opened 2 years ago

akauppi commented 2 years ago

This is something to be done after the developer already has worked on their first project, and set up CI/CD.

At that stage, they have gcloud set up. We'll use it and maybe firebase-tools (as in first).

Consider implementing as a Cloud Build script - like CI are.

akauppi commented 1 year ago

Maybe not create the project. Just populate it with the right settings, which really is the repetitive part.

akauppi commented 1 year ago

This should be in the ci folder, a script similar to the first/deploy.sh.

Provides the deployment project's @cloudbuild service account with the rights it needs, to its own resources. Identify as the human Owner of the project, so we can grant such rights (Cloud Build wouldn't be able to, since it's the one needing them..).

Also otherwise, try to reduce the amount of documentation, and manual steps, needed for setting up a new project.