Skip to content

Commit

Permalink
Merge pull request #2202 from matter-labs/fix-loadtest
Browse files Browse the repository at this point in the history
fix loadtest
  • Loading branch information
dennybaa authored Mar 17, 2022
2 parents 14859e7 + b63237e commit 83da74e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/loadtest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Loadtest
on:
push:
branches:
- fix-loadtest
schedule:
- cron: '17 23 * * *'

Expand Down Expand Up @@ -77,7 +80,7 @@ jobs:
run: |
mkdir -p etc/env/
kubectl get cm -n ${ZKSYNC_ENV} server-env-custom -o json | jq -j '.data | to_entries | .[] | "\(.key)=\(.value)\n"' > etc/env/${ZKSYNC_ENV}.env
kubectl get secret -n ${ZKSYNC_ENV} secretenv-zksync -o go-template='{{range $k, $v := .data}}{{ printf "%s=%s\n" $k ($v | base64decode) }}{{end}}' \
kubectl get secret -n ${ZKSYNC_ENV} secretenv-zksync -o go-template='{{range $k, $v := .data}}{{ printf "%s=\"%s\"\n" $k ($v | base64decode) }}{{end}}' \
>> etc/env/${ZKSYNC_ENV}.env
-
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -123,6 +126,8 @@ jobs:
-
name: Setup loadtest database
run: |
ls -l etc/env || /bin/true
cat etc/env/${ZKSYNC_ENV}.env | grep MNEMONIC || /bin/true
zk
zk run yarn
zk run verify-keys unpack
Expand Down

0 comments on commit 83da74e

Please sign in to comment.