-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(recette1new): essai de délpoiement sur l'env recette1new
- Loading branch information
Showing
9 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ on: | |
options: | ||
- production | ||
- recette | ||
- recette1new | ||
- recette2 | ||
app_version: | ||
description: app version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ export interface PublicConfig { | |
host: string; | ||
baseUrl: string; | ||
apiEndpoint: string; | ||
env: "local" | "recette" | "recette2" | "production"; | ||
env: "local" | "recette" | "recette1new" | "recette2" | "production"; | ||
version: string; | ||
productMeta: { | ||
brandName: "orion"; | ||
|
@@ -58,6 +58,26 @@ function getRecettePublicConfig(): PublicConfig { | |
}; | ||
} | ||
|
||
function getRecette1newPublicConfig(): PublicConfig { | ||
const host = "recette-1-new.orion.inserjeunes.incubateur.net"; | ||
|
||
return { | ||
sentry: { | ||
dsn: "https://[email protected]/140", | ||
enabled: true, | ||
}, | ||
crisp: { | ||
token: "no-token", | ||
}, | ||
host, | ||
baseUrl: `https://${host}`, | ||
env: "recette", | ||
apiEndpoint: `https://${host}/api`, | ||
version: getVersion(), | ||
productMeta: getProductMeta(), | ||
}; | ||
} | ||
|
||
function getRecette2PublicConfig(): PublicConfig { | ||
const host = "recette-2.orion.inserjeunes.incubateur.net"; | ||
|
||
|
@@ -142,6 +162,8 @@ function getPublicConfig(): PublicConfig { | |
return getProductionPublicConfig(); | ||
case "recette": | ||
return getRecettePublicConfig(); | ||
case "recette1new": | ||
return getRecette1newPublicConfig(); | ||
case "recette2": | ||
return getRecette2PublicConfig(); | ||
case "local": | ||
|