injects secrets with infisical (#7105)

* injects secrets with infisical

* Update package.json

* Adds infisical project config

---------

Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
7608-cal-1205-better-issue-for-no-available-user
Maidul Islam 2023-03-08 14:28:49 -08:00 committed by GitHub
parent 7b169ebfc2
commit 736c30f134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 3 deletions

3
.gitignore vendored
View File

@ -77,9 +77,6 @@ lint-results
#Storybook #Storybook
apps/storybook/build-storybook.log apps/storybook/build-storybook.log
# Infisical
.infisical.json
# Snaplet # Snaplet
.snaplet/snapshots .snaplet/snapshots
.snaplet/structure.d.ts .snaplet/structure.d.ts

8
.infisical.json Normal file
View File

@ -0,0 +1,8 @@
{
"workspaceId": "63ea8121b6e2b0543ba79616",
"defaultEnvironment": "dev",
"gitBranchToEnvironmentMapping": {
"main": "staging",
"production": "prod"
}
}

View File

@ -39,6 +39,10 @@
"docs-start": "turbo run start --scope=\"@calcom/docs\"", "docs-start": "turbo run start --scope=\"@calcom/docs\"",
"build-storybook": "turbo run build --scope=\"@calcom/storybook\"", "build-storybook": "turbo run build --scope=\"@calcom/storybook\"",
"dx": "turbo run dx", "dx": "turbo run dx",
"i-dev": "infisical run -- turbo run dev --scope=\"@calcom/web\"",
"i-dx": "infisical run -- turbo run dx",
"i-gen-web-example-env": "infisical secrets generate-example-env --tags=web > .env.example",
"i-gen-app-store-example-env": "infisical secrets generate-example-env --tags=appstore > .env.appStore.example",
"embed-tests-quick": "turbo run embed-tests-quick", "embed-tests-quick": "turbo run embed-tests-quick",
"embed-tests": "turbo run embed-tests", "embed-tests": "turbo run embed-tests",
"env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore", "env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore",