Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/androidBump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
android_bump:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/authorChecklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# Note: PHP specifically looks for the name of this job, "checklist", so if the name of the job is changed,
# then you also need to go into PHP and update the name of this job in the GH_JOB_NAME_CHECKLIST constant
checklist:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: |
github.actor != 'OSBotify'
&& github.actor != 'imgbot[bot]'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/buildAdHoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
deployWebAdHoc:
name: Deploy the PR Worker Preview and web assets
needs: [buildWeb]
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
env:
WRANGLER_SEND_METRICS: false
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
check:
name: Check Contributor+ checklist heading
if: github.actor != 'os-botify[bot]'
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Checkout
uses: useblacksmith/checkout@1c9394c220d293645707b625ba9d79685f093a8f # v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checkSVGCompression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
compress-svg:
name: Compress SVG check
if: ${{ (github.actor != 'OSBotify' || github.event_name == 'workflow_call') && (github.event_name != 'pull_request' || github.actor != 'os-botify[bot]') }}
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Checkout
uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checkValidateCodeTerminology.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
check:
if: github.actor != 'os-botify[bot]'
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Checkout
uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cherryPick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ concurrency:

jobs:
validate:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Validate pull request URL
if: ${{ inputs.PULL_REQUEST_URL != '' }}
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

cherryPick:
needs: createNewVersion
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Check for in-progress deploy on target branch
id: checkInProgressDeploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
validate:
if: ${{ github.event_name == 'pull_request_target' }}
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
outputs:
IS_AUTHORIZED: ${{ steps.gate.outputs.IS_AUTHORIZED }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/claude-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
if: >-
(github.event_name == 'pull_request_target' && github.event.pull_request.draft != true && !contains(github.event.pull_request.title, 'Revert')) ||
(github.event_name == 'issue_comment' && github.event.issue.pull_request && contains(github.event.comment.body, '@claude review'))
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
outputs:
IS_AUTHORIZED: ${{ steps.gate.outputs.IS_AUTHORIZED }}
steps:
Expand All @@ -40,7 +40,7 @@ jobs:
concurrency:
group: claude-review-${{ github.event.pull_request.html_url || github.event.issue.html_url }}
cancel-in-progress: true
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
env:
PR_NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cloudflareWorkerTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
test:
name: Cloudflare Worker tests
if: github.actor != 'OSBotify' && github.actor != 'os-botify[bot]'
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
defaults:
run:
working-directory: web/cloudflare-worker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/createDeployChecklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
createChecklist:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Checkout
uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
spellcheck:
if: github.actor != 'os-botify[bot]'
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0

Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:

jobs:
prep:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
outputs:
APP_VERSION: ${{ steps.getAppVersion.outputs.VERSION }}
TAG: ${{ steps.getTagName.outputs.TAG }}
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
androidUploadGooglePlay:
name: Upload Android to Google Play
needs: [prep, androidBuild]
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ fromJSON(needs.prep.outputs.SHOULD_BUILD_NATIVE) }}
steps:
- name: Checkout
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:
androidSubmit:
name: Submit Android for production rollout
needs: [prep, androidBuild, androidUploadGooglePlay]
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ always() && !cancelled() && needs.prep.outputs.DEPLOY_ENV == 'production' && needs.androidBuild.result != 'failure' && needs.androidUploadGooglePlay.result != 'failure' }}
steps:
- name: Checkout
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
androidUploadBrowserStack:
name: Upload Android to BrowserStack
needs: [prep, androidBuild]
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ fromJSON(needs.prep.outputs.SHOULD_BUILD_NATIVE) }}
continue-on-error: true
steps:
Expand Down Expand Up @@ -383,7 +383,7 @@ jobs:
androidUploadApplause:
name: Upload Android to Applause
needs: [prep, androidBuild]
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ github.repository == 'Expensify/App' && needs.prep.outputs.DEPLOY_ENV == 'staging' && !fromJSON(needs.prep.outputs.IS_CHERRY_PICK) }}
continue-on-error: true
steps:
Expand Down Expand Up @@ -590,7 +590,7 @@ jobs:
iosUploadBrowserStack:
name: Upload iOS to BrowserStack
needs: [prep, iosBuild]
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ fromJSON(needs.prep.outputs.SHOULD_BUILD_NATIVE) }}
continue-on-error: true
steps:
Expand Down Expand Up @@ -640,7 +640,7 @@ jobs:
iosUploadApplause:
name: Upload iOS to Applause
needs: [prep, iosBuild]
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ github.repository == 'Expensify/App' && needs.prep.outputs.DEPLOY_ENV == 'staging' && !fromJSON(needs.prep.outputs.IS_CHERRY_PICK) }}
continue-on-error: true
steps:
Expand Down Expand Up @@ -707,7 +707,7 @@ jobs:
name: Deploy Web to the Cloudflare Worker
needs: [prep, webBuild, buildStorybook]
if: ${{ always() && needs.webBuild.result == 'success' }}
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Checkout
uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0
Expand Down Expand Up @@ -810,7 +810,7 @@ jobs:

postSlackMessageOnFailure:
name: Post a Slack message when any platform fails to build or deploy
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ failure() }}
needs:
[
Expand Down Expand Up @@ -839,7 +839,7 @@ jobs:

postSlackMessageOnCancellation:
name: Post a Slack message when the deploy is cancelled manually
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ cancelled() }}
needs: [androidBuild, androidUploadGooglePlay, androidSubmit, iosBuild, iosUploadTestflight, iosSubmit, webBuild, webDeploy]
steps:
Expand Down Expand Up @@ -872,7 +872,7 @@ jobs:
}

checkDeploymentSuccess:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
outputs:
IS_ALL_PLATFORMS_DEPLOYED: ${{ steps.checkDeploymentSuccessOnAllPlatforms.outputs.IS_ALL_PLATFORMS_DEPLOYED }}
IS_RELEASE_READY: ${{ steps.checkReleaseReady.outputs.IS_RELEASE_READY }}
Expand Down Expand Up @@ -960,7 +960,7 @@ jobs:

autoRetestRequestForCP:
name: File retest request for cherry-picked deploy-blocker fixes
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
# A later staging deploy can supersede a cherry-pick, even if it was not itself a cherry-pick.
# always() lets this run when production-only submit jobs are skipped on staging.
if: ${{ always() && !cancelled() && github.repository == 'Expensify/App' && needs.prep.outputs.DEPLOY_ENV == 'staging' && needs.deployChecklist.result == 'success' && fromJSON(needs.checkDeploymentSuccess.outputs.IS_ALL_PLATFORMS_DEPLOYED) }}
Expand Down Expand Up @@ -1002,7 +1002,7 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

createRelease:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ always() && fromJSON(needs.checkDeploymentSuccess.outputs.IS_RELEASE_READY) }}
needs: [prep, checkDeploymentSuccess, victoryChartRendererBuild]
permissions:
Expand Down Expand Up @@ -1133,7 +1133,7 @@ jobs:
androidUploadSentry:
name: Upload Android build to Sentry for size analysis
needs: [prep, androidBuild, checkDeploymentSuccess]
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: >-
${{ always()
&& needs.prep.outputs.DEPLOY_ENV == 'production'
Expand Down Expand Up @@ -1208,7 +1208,7 @@ jobs:

postSlackMessageOnSuccess:
name: Post a Slack message when all platforms deploy successfully
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ always() && fromJSON(needs.checkDeploymentSuccess.outputs.IS_ALL_PLATFORMS_DEPLOYED) && needs.victoryChartRendererBuild.result == 'success' && needs.createRelease.result == 'success' }}
needs: [prep, androidUploadGooglePlay, androidSubmit, iosUploadTestflight, iosSubmit, webDeploy, checkDeploymentSuccess, victoryChartRendererBuild, createRelease]
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployBlocker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

deployBlocker:
if: github.event.label.name == 'DeployBlockerCash'
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Checkout
uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deployExpensifyHelp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
build:
env:
IS_PR_FROM_FORK: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
Comment thread
roryabraham marked this conversation as resolved.
Resolved
steps:
- name: Checkout
uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:

notifyFailure:
name: Warn deployers if Expensify Help deploy failed
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
needs: build
if: ${{ failure() && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/failureNotifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
notifyFailure:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/finishReleaseCycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
# The updateProduction and createNewDeployChecklist jobs are executed when a deploy checklist is closed.
jobs:
validate:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: contains(github.event.issue.labels.*.name, 'StagingDeployCash')
outputs:
isValid: ${{ fromJSON(steps.isDeployer.outputs.IS_DEPLOYER) && !fromJSON(steps.checkDeployBlockers.outputs.HAS_DEPLOY_BLOCKERS) && (contains(github.event.issue.labels.*.name, 'ForceProductionDeploy') || fromJSON(steps.verifyStagingBuilds.outputs.ALL_NATIVE_BUILDS_SUCCEEDED || 'false')) }}
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
# Remove DeployBlockerCash label from issues that had it since we just deployed production
cleanupDeployBlockers:
needs: updateProduction
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- run: |
gh issue list \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/formatCodeCovComment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
format-codecov-comment:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
if: github.event.issue.pull_request && github.event.comment.user.login == 'codecov[bot]'
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/knip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
knip-compare:
name: Compare knip issues against main
if: github.actor != 'os-botify[bot]'
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
env:
# Use the PR's target branch so staging and production PRs are not compared with main.
BASE_REF: ${{ github.base_ref || 'main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nativeDependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
nativeDependencies:
name: Check for unused native dependencies
if: github.actor != 'os-botify[bot]'
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Checkout
uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postDeployComments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ on:

jobs:
postDeployComments:
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Checkout
uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repackBabelAllowlist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
check-allowlist:
name: Check Re.Pack babel allowlist
if: ${{ github.actor != 'OSBotify' }}
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Checkout
uses: useblacksmith/checkout@1c9394c220d293645707b625ba9d79685f093a8f # v1
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/seedCache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ concurrency:

jobs:
seedStandalone:
name: Seed standalone node_modules (${{ matrix.workspaces }})
runs-on: blacksmith-2vcpu-ubuntu-2404
name: Seed standalone node_modules (${{ matrix.workspaces }}) on ${{ matrix.runner }}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner:
- blacksmith-2vcpu-ubuntu-2404
- blacksmith-2vcpu-ubuntu-2404-arm
workspaces:
- '[]'
- '["web/cloudflare-worker"]'
Expand All @@ -31,8 +34,13 @@ jobs:
WORKSPACES: ${{ matrix.workspaces }}

seedHybrid:
name: Seed hybrid node_modules
runs-on: blacksmith-2vcpu-ubuntu-2404
name: Seed hybrid node_modules (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner:
- blacksmith-2vcpu-ubuntu-2404
- blacksmith-2vcpu-ubuntu-2404-arm
steps:
- name: Checkout
uses: useblacksmith/checkout@0647fdbab2614a5eb86d2971070e325060d91056 # v1.7.0
Expand Down
Loading
Loading