Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #493 from findy-network/add-android-params
Browse files Browse the repository at this point in the history
Add android params.
  • Loading branch information
lauravuo authored Jan 24, 2024
2 parents 89b815d + 625c1d1 commit f7a539d
Show file tree
Hide file tree
Showing 4 changed files with 411 additions and 3 deletions.
5 changes: 4 additions & 1 deletion aws-ecs/lib/frontend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ export class Frontend extends Construct {
REACT_APP_AUTH_HOST: bucketName,
REACT_APP_HTTP_SCHEME: 'https',
REACT_APP_WS_SCHEME: 'wss',
ASSOCIATED_APPS: process.env.APPLE_ASSOCIATED_APPS || ''
ASSOCIATED_APPS: process.env.APPLE_ASSOCIATED_APPS || '',
ANDROID_PACKAGE_NAME: process.env.ANDROID_PACKAGE_NAME || '',
ANDROID_PACKAGE_DOMAIN: process.env.ANDROID_PACKAGE_DOMAIN || '',
ANDROID_PACKAGE_FINGERPRINT: process.env.ANDROID_PACKAGE_FINGERPRINT || ''
},
},
});
Expand Down
12 changes: 12 additions & 0 deletions aws-ecs/lib/pipeline-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ const environmentVariables: Record<string, codebuild.BuildEnvironmentVariable> =
type: codebuild.BuildEnvironmentVariableType.PARAMETER_STORE,
value: "/findy-agency/apple-associated-apps",
},
ANDROID_PACKAGE_NAME: {
type: codebuild.BuildEnvironmentVariableType.PARAMETER_STORE,
value: "/findy-agency/android-package-name",
},
ANDROID_PACKAGE_DOMAIN: {
type: codebuild.BuildEnvironmentVariableType.PARAMETER_STORE,
value: "/findy-agency/android-package-domain",
},
ANDROID_PACKAGE_FINGERPRINT: {
type: codebuild.BuildEnvironmentVariableType.PARAMETER_STORE,
value: "/findy-agency/android-package-fingerprint",
},
ADMIN_ID: {
type: codebuild.BuildEnvironmentVariableType.SECRETS_MANAGER,
value: "FindyAgency:findy-agency-admin-id",
Expand Down
Loading

0 comments on commit f7a539d

Please sign in to comment.