Commit acdea79d authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

ci: Add devnet timeout (#3167)

`no_output_timeout` wasn't being honored because the deposit command produced output on each poll. Instead, use the `timeout` command to kill the process from within the job itself regardless of output.
parent 406a4fce
...@@ -454,9 +454,8 @@ jobs: ...@@ -454,9 +454,8 @@ jobs:
make devnet-up make devnet-up
- run: - run:
name: Do a deposit name: Do a deposit
no_output_timeout: 5m
command: | command: |
npx hardhat deposit \ timeout 5m npx hardhat deposit \
--to 0xB79f76EF2c5F0286176833E7B2eEe103b1CC3244 \ --to 0xB79f76EF2c5F0286176833E7B2eEe103b1CC3244 \
--amount-eth 1 \ --amount-eth 1 \
--private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \ --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \
...@@ -464,7 +463,7 @@ jobs: ...@@ -464,7 +463,7 @@ jobs:
working_directory: packages/contracts-bedrock working_directory: packages/contracts-bedrock
- run: - run:
name: Deposit ERC20 through the bridge name: Deposit ERC20 through the bridge
command: npx hardhat deposit --network devnetL1 command: timeout 5m npx hardhat deposit --network devnetL1
working_directory: packages/sdk working_directory: packages/sdk
- run: - run:
name: Check the status name: Check the status
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment