From 10e042a60f70dd69f1d937f4872f85d8896209ea Mon Sep 17 00:00:00 2001 From: Shane Terence Odlum Date: Thu, 16 Jan 2025 16:22:40 +0000 Subject: [PATCH] chore: allow builds --- app/scripts/lib/setupSentry.js | 1 - builds.yml | 1 + development/build/config.js | 7 +------ 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/app/scripts/lib/setupSentry.js b/app/scripts/lib/setupSentry.js index 76d66eba88d2..51841159137d 100644 --- a/app/scripts/lib/setupSentry.js +++ b/app/scripts/lib/setupSentry.js @@ -25,7 +25,6 @@ const METAMASK_ENVIRONMENT = process.env.METAMASK_ENVIRONMENT; const RELEASE = process.env.METAMASK_VERSION; const SENTRY_DSN = process.env.SENTRY_DSN; const SENTRY_DSN_DEV = process.env.SENTRY_DSN_DEV; -const SENTRY_DSN_MMI = process.env.SENTRY_MMI_DSN; /* eslint-enable prefer-destructuring */ // This is a fake DSN that can be used to test Sentry without sending data to the real Sentry server. diff --git a/builds.yml b/builds.yml index 440ae8e558be..bf61d1e1d74a 100644 --- a/builds.yml +++ b/builds.yml @@ -104,6 +104,7 @@ features: - src: ./app/build-types/flask/images/ dest: images - ./{app,shared,ui}/**/flask/** + build-mmi: keyring-snaps: assets: - ./{app,shared,ui}/**/keyring-snaps/** diff --git a/development/build/config.js b/development/build/config.js index 030b9e04dad0..e5637270f9c2 100644 --- a/development/build/config.js +++ b/development/build/config.js @@ -11,12 +11,7 @@ const VARIABLES_REQUIRED_IN_PRODUCTION = { main: ['INFURA_PROD_PROJECT_ID', 'SEGMENT_PROD_WRITE_KEY', 'SENTRY_DSN'], beta: ['INFURA_BETA_PROJECT_ID', 'SEGMENT_BETA_WRITE_KEY', 'SENTRY_DSN'], flask: ['INFURA_FLASK_PROJECT_ID', 'SEGMENT_FLASK_WRITE_KEY', 'SENTRY_DSN'], - mmi: [ - 'INFURA_MMI_PROJECT_ID', - 'MMI_CONFIGURATION_SERVICE_URL', - 'SEGMENT_MMI_WRITE_KEY', - 'SENTRY_MMI_DSN', - ], + mmi: [], }; async function fromIniFile(filepath) {