-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ci/add-rollup-frontend-deployment-workflow-M…
…GX-944
- Loading branch information
Showing
118 changed files
with
73,575 additions
and
39,101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
# SEQUENCER | ||
ROLLUP_SEQUENCER_MANGATA_NODE_URL=ws://node-alice:9944 | ||
ROLLUP_SEQUENCER_ETH_CHAIN_URL=ws://anvil:8545 | ||
ROLLUP_SEQUENCER_MNEMONIC="//Bob" | ||
ROLLUP_SEQUENCER_MNEMONIC="0x8075991ce870b93a8870eca0c0f91913d12f47948ca0fd25b49c6fa7cdbeee8b" | ||
ROLLUP_SEQUENCER_BLOCK_NUMBER_DELAY=0 | ||
|
||
# UPDATER | ||
ROLLUP_UPDATER_MANGATA_NODE_URL=ws://node-alice:9944 | ||
ROLLUP_UPDATER_ETH_CHAIN_URL=ws://anvil:8545 | ||
# one of anvil default accounts private key | ||
ROLLUP_UPDATER_WALLET_PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 | ||
ROLLUP_UPDATER_FINALIZATION_SOURCE="relay" | ||
# ROLLUP_UPDATER_FINALIZATION_SOURCE="eth" | ||
ROLLUP_UPDATER_FINALIZATION_SOURCE="eth" | ||
|
||
# AGGREGATOR | ||
SUBSTRATE_RPC_URL=ws://node-alice:9944 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Deploy Faucet to App Engine | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- faucet-web-app/** | ||
|
||
permissions: | ||
contents: read | ||
id-token: write | ||
deployments: write | ||
|
||
env: | ||
CI: false | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js and yarn | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "18" | ||
|
||
- name: Install dependencies | ||
working-directory: faucet-web-app | ||
run: npm install | ||
|
||
- name: Build React app | ||
working-directory: faucet-web-app | ||
run: npm run build | ||
|
||
- name: Google auth | ||
uses: 'google-github-actions/auth@v2' | ||
with: | ||
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} | ||
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }} | ||
|
||
- name: Upload folder | ||
uses: 'google-github-actions/upload-cloud-storage@v2' | ||
with: | ||
path: 'faucet-web-app/build' | ||
destination: 'holesky-faucet.gasp.xyz' | ||
parent: false | ||
process_gcloudignore: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.