Skip to content

Commit

Permalink
ci: removes arb one from retryable monitor (#1857)
Browse files Browse the repository at this point in the history
Co-authored-by: Fionna Chan <[email protected]>
  • Loading branch information
douglance and fionnachan authored Aug 22, 2024
1 parent e27c4f7 commit 8c9ff2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Generate chains JSON
run: yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }}
env:
BATCH_POSTER_MONITORING: ${{ inputs.monitor == 'batch-poster' }}
INCLUDE_ARB_ONE_AS_CORE_CHAIN: ${{ inputs.monitor != 'retryable' }}

- name: Copy chains JSON to Arbitrum Monitoring
run: cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ async function generateCoreChainsToMonitor() {
}

// don't need to monitor arbOne chain in case of retryable-monitoring
const chains = process.env.BATCH_POSTER_MONITORING
? [arbOneChain, novaChain]
: [novaChain]
const chains =
process.env.INCLUDE_ARB_ONE_AS_CORE_CHAIN === 'true'
? [arbOneChain, novaChain]
: [novaChain]

// make the chain data compatible with that required by the monitoring script
const coreChainsToMonitor = chains.map(coreChain =>
Expand Down

0 comments on commit 8c9ff2e

Please sign in to comment.