diff --git a/.env.disabled b/.env.disabled deleted file mode 100644 index 429896ce590a..000000000000 --- a/.env.disabled +++ /dev/null @@ -1,31 +0,0 @@ -NEW_EXPENSIFY_URL=https://new.expensify.com/ -SECURE_EXPENSIFY_URL=https://secure.expensify.com.dev/ -EXPENSIFY_URL=https://www.expensify.com.dev -EXPENSIFY_PARTNER_NAME=chat-expensify-com -EXPENSIFY_PARTNER_PASSWORD=e21965746fd75f82bb66 -PUSHER_APP_KEY=ac6d22b891daae55283a -SECURE_NGROK_URL=https://secure-expensify-jasper.ngrok.io/ -NGROK_URL=https://expensify-jasper.ngrok.io/ -USE_NGROK=false -USE_WEB_PROXY=false -USE_WDYR=false -CAPTURE_METRICS=false -ONYX_METRICS=false - -EXPENSIFY_ACCOUNT_ID_ACCOUNTING=-1 -EXPENSIFY_ACCOUNT_ID_ADMIN=-1 -EXPENSIFY_ACCOUNT_ID_BILLS=-1 -EXPENSIFY_ACCOUNT_ID_CHRONOS=-1 -EXPENSIFY_ACCOUNT_ID_CONCIERGE=-1 -EXPENSIFY_ACCOUNT_ID_CONTRIBUTORS=-1 -EXPENSIFY_ACCOUNT_ID_FIRST_RESPONDER=-1 -EXPENSIFY_ACCOUNT_ID_HELP=-1 -EXPENSIFY_ACCOUNT_ID_INTEGRATION_TESTING_CREDS=-1 -EXPENSIFY_ACCOUNT_ID_PAYROLL=-1 -EXPENSIFY_ACCOUNT_ID_QA=-1 -EXPENSIFY_ACCOUNT_ID_QA_TRAVIS=-1 -EXPENSIFY_ACCOUNT_ID_RECEIPTS=-1 -EXPENSIFY_ACCOUNT_ID_REWARDS=-1 -EXPENSIFY_ACCOUNT_ID_STUDENT_AMBASSADOR=-1 -EXPENSIFY_ACCOUNT_ID_SVFG=-1 -PUSHER_DEV_SUFFIX=-9e209c8d6c6e4422be8ded6b3d86da87 diff --git a/checkalldeploychecklistPRs.js b/checkalldeploychecklistPRs.js deleted file mode 100644 index 117c95d500a2..000000000000 --- a/checkalldeploychecklistPRs.js +++ /dev/null @@ -1,47 +0,0 @@ -/* eslint-disable */ -const readline = require('readline'); -const rl = readline.createInterface({ - input: process.stdin, - output: process.stdout, -}); -const {spawn} = require('child_process'); - -rl.question('Enter App deploy checklist URL: ', (deployChecklistURL) => { - console.log('Fetching PR numbers...'); - fetch(deployChecklistURL) - .then((response) => response.text()) - .then((deployChecklistHtml) => { - const prListStartDelineator = '

This release contains changes from the following pull requests:

'; - const prListEndDelineator = '

Deploy Blockers:

'; - - // Fetch all the strings with the pattern `href="https://github.com/Expensify/App/pull/"` - const prListHtml = deployChecklistHtml.substring(deployChecklistHtml.indexOf(prListStartDelineator) + 1, deployChecklistHtml.indexOf(prListEndDelineator)); - const regex = /href="https:\/\/github.com\/Expensify\/App\/pull\/(\d+)"/g; - let match; - const prNumbers = []; - while ((match = regex.exec(prListHtml)) !== null) { - prNumbers.push(match[1]); - } - - console.log(`Got PR numbers (${prNumbers.length}): `, prNumbers); - - // Now fetch the merge commit of each PR in the list - console.log('Fetching merge commmits...'); - const prNumbersToMergeCommits = {}; - - prNumbers.forEach((prNumber) => { - const process = spawn(`gh pr view ${prNumber}`, ['--json', 'mergeCommit', '-q', '.mergeCommit.oid']); - process.stdout.on('data', (data) => { - console.log(`Got merge commit for ${prNumber}: `, data); - prNumbersToMergeCommits[prNumber] = data; - }); - process.stderr.on('data', (data) => { - console.log('problem', data); - }); - - process.on('error', (err) => { - console.log('problem', err); - }); - }); - }); -});