Run loadtest
@@ -121,7 +121,7 @@ jobs:
loadtest:
name: Perform loadtest
# runs-on: [CI-worker, FAST]
- runs-on: [k8s, stage, deployer]
+ runs-on: [self-hosted, CI-worker]
needs: deploy
env:
WEB3_URL: ${{secrets.CI_LOADTEST_WEB3_URL}}
@@ -135,7 +135,7 @@ jobs:
-
name: Run loadtest
run: |
- cargo run --bin loadnext
+ docker run -e WEB3_URL -e MASTER_WALLET_PK -e ACCOUNT_AMOUNT -e OPERATIONS_PER_ACCOUNT -e MAIN_TOKEN -e ZKSYNC_RPC_ADDR -e ETH_NETWORK -v ~/matter_labs/zksync-dev:/usr/zksync-dev -w /usr/zksync-dev rust:1.53 cargo run --bin loadnext
# cleanup:
# name: Cleanup loadtest environment
# runs-on: [k8s, stage, deployer]
