-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment and Infra
We use continuous integration and continuous deployment using GitHub actions and Deno Deploy. However, some infrastructure components are set up manually. This page tracks what must be done to recreate all related infra.
-
Buy stellerom.no domain
-
Add environments to GitHub repo settings
- Deno deploy added "Preview" and "Production". Add "Development" manually
-
Create a project on Google Cloud
- Create API key for Google Maps
-
Create project on Deno Deploy with GitHub repo
-
Configure API key for google maps as environment variable
-
Configure URL's for backend services as environment variables
-
Add [www].stellerom.no as custom domain
- Update DNS config with domain registrar accordingly
-
-
Add
AZ_CLIENT_ID
,AZ_TENANT_ID
andAZ_SUBS_ID
to GitHub repo settings, for deploy to Azure -
Set up federated credentials in AzureAD for the app that
AZ_CLIENT_ID
represents to allow GitHub actions to login on its behalf (see https://docs.microsoft.com/en-us/azure/active-directory/develop/workload-identity-federation-create-trust-github)
-
Create a project on cloud.mongodb.com
-
Add a database cluster (currently sharing between environments to be able to use the free tier - m0)
-
Add database users for API's, and add the passwords into GitHub environment secrets
-
Whitelist IP addresses to access DB
-
-