Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] test purge cache #2858

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 6 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
27 changes: 27 additions & 0 deletions .github/workflows/purge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Purge Cache (jsDelivr)

on:
pull_request:
paths:
- 'packages/synapse-interface/public/pauses/v1/**'
push:
paths:
- 'packages/synapse-interface/public/pauses/v1/**'

jobs:
purge-cache:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Purge CDN Caches
uses: gacts/purge-jsdelivr-cache@v1
with:
url: |
https://cdn.jsdelivr.net/gh/synapsecns/sanguine@master/packages/synapse-interface/public/pauses/v1/paused-chains.json
https://cdn.jsdelivr.net/gh/synapsecns/sanguine@master/packages/synapse-interface/public/pauses/v1/paused-bridge-modules.json
https://cdn.jsdelivr.net/gh/synapsecns/sanguine@test/maintenance/packages/synapse-interface/public/pauses/v1/paused-chains.json
https://cdn.jsdelivr.net/gh/synapsecns/sanguine@test/maintenance/packages/synapse-interface/public/pauses/v1/paused-bridge-modules.json

71 changes: 61 additions & 10 deletions packages/synapse-interface/public/pauses/v1/paused-chains.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,70 @@
[
{
"id": "doge-chain-pause",
"pausedFromChains": [],
"pausedToChains": [2000],
"id": "base-chain-pause",
"pausedFromChains": [8453],
"pausedToChains": [8453],
"pauseBridge": true,
"pauseSwap": true,
"startTimePauseChain": "2023-01-01T00:00:00Z",
"pauseSwap": false,
"startTimePauseChain": "2024-04-12T17:41:00Z",
"endTimePauseChain": null,
"startTimeBanner": "2023-01-01T00:00:00Z",
"startTimeBanner": "2024-04-12T04:40:00Z",
"endTimeBanner": null,
"inputWarningMessage": "",
"bannerMessage": "",
"progressBarMessage": "",
"disableBanner": true,
"inputWarningMessage": "Base bridging is paused until maintenance is complete.",
"bannerMessage": "Base bridging is paused until maintenance is complete.",
"progressBarMessage": "Base maintenance in progress",
"disableBanner": false,
"disableWarning": false,
"disableCountdown": false
},
{
"id": "arbitrum-chain-pause",
"pausedFromChains": [113],
"pausedToChains": [111],
"pauseBridge": true,
"pauseSwap": false,
"startTimePauseChain": "2024-07-03T22:38:49Z",
"endTimePauseChain": "2024-07-03T23:40:00Z",
"startTimeBanner": "2024-07-03T00:54:46Z",
"endTimeBanner": "2024-07-03T23:40:00Z",
"inputWarningMessage": "Arbitrum bridging is paused until maintenance is complete.",
"bannerMessage": "Arbitrum bridging is paused until maintenance is complete.",
"progressBarMessage": "Arbitrum maintenance in progress",
"disableBanner": false,
"disableWarning": false,
"disableCountdown": false
},
{
"id": "optimism-chain-pause",
"pausedFromChains": [10],
"pausedToChains": [10],
"pauseBridge": true,
"pauseSwap": true,
"startTimePauseChain": "2024-07-03T22:38:49Z",
"endTimePauseChain": "2024-07-03T23:45:00Z",
"startTimeBanner": "2024-07-03T00:54:46Z",
"endTimeBanner": "2024-07-03T23:45:00Z",
"inputWarningMessage": "Optimism bridging is paused until maintenance is complete.",
"bannerMessage": "Optimism bridging is paused until maintenance is complete.",
"progressBarMessage": "Optimism maintenance in progress",
"disableBanner": false,
"disableWarning": true,
"disableCountdown": false
},
{
"id": "blast-chain-pause",
"pausedFromChains": [81457],
"pausedToChains": [],
"pauseBridge": true,
"pauseSwap": false,
"startTimePauseChain": "2024-07-03T01:01:00Z",
"endTimePauseChain": "2024-07-03T23:50:00Z",
"startTimeBanner": "2024-07-03T01:01:00Z",
"endTimeBanner": null,
"inputWarningMessage": "Blast bridging is paused until maintenance is complete.",
"bannerMessage": "Blast bridging is paused until maintenance is complete.",
"progressBarMessage": "Blast maintenance in progress",
"disableBanner": true,
"disableWarning": false,
"disableCountdown": true
}
]
Loading