Skip to content

Commit

Permalink
chore: allow builds
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-t committed Jan 16, 2025
1 parent 8832b09 commit 10e042a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion app/scripts/lib/setupSentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/**
Expand Down
7 changes: 1 addition & 6 deletions development/build/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 10e042a

Please sign in to comment.