forked from matter-labs/zksync
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
435 additions
and
178 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
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 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 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 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,3 @@ | ||
#!/bin/bash | ||
|
||
kubectl cluster-info| grep -E -o "([0-9]{1,3}[\.]){3}[0-9]{1,3}" -m 1 |
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 |
---|---|---|
|
@@ -32,4 +32,4 @@ then | |
else | ||
echo "Contract deployment failed" | ||
exit 1 | ||
fi | ||
fi |
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,4 @@ | ||
#!/bin/bash | ||
|
||
# For more details see service configuration at <project>/etc/kube/minikube/postgres.yaml | ||
echo postgres://postgres@$(bin/cluster-ip):$(kubectl get svc postgres -o=jsonpath='{.spec.ports[0].nodePort}')/plasma |
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,4 @@ | ||
#!/bin/bash | ||
|
||
# For more details see service configuration at <franklink-dir>/etc/kube/minikube/geth.yaml | ||
echo http://$(bin/cluster-ip):$(kubectl get svc geth -o=jsonpath='{.spec.ports[0].nodePort}') |
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,4 @@ | ||
#!/bin/bash | ||
|
||
# For more details see service configuration at <franklink-dir>/etc/kube/minikube/geth.yaml | ||
echo http://$(bin/cluster-ip):$(kubectl get svc tesseracts -o=jsonpath='{.spec.ports[0].nodePort}') |
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,6 @@ | ||
#!/bin/bash | ||
|
||
# Updating server deployments environment variables. Ussually executed on new contract deploy and related changes. | ||
kubectl set env deployments/dev-server CONTRACT_ADDR=$(grep "CONTRACT_ADDR" deploy.log| sed 's/CONTRACT_ADDR=//') | ||
kubectl set env deployments/dev-server GOVERNANCE_ADDR=$(grep "GOVERNANCE_ADDR" deploy.log| sed 's/GOVERNANCE_ADDR=//') | ||
kubectl set env deployments/dev-server PRIORITY_QUEUE_ADDR=$(grep "PRIORITY_QUEUE_ADDR" deploy.log| sed 's/PRIORITY_QUEUE_ADDR=//') |
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,5 @@ | ||
#!/bin/bash | ||
|
||
# When mounting a volume as a `hostPath` minikube containers has access to minikube host filesystem only, | ||
# thus it is required to copy container files into it. | ||
scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -r -i $(minikube ssh-key) ./keys/* docker@$(minikube ip):/home/docker |
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,3 @@ | ||
#!/bin/bash | ||
|
||
echo http://$(bin/cluster-ip):$(kubectl get svc dev-server -o=jsonpath='{.spec.ports[0].nodePort}') |
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,3 @@ | ||
#!/bin/bash | ||
|
||
echo http://$(bin/cluster-ip):$(kubectl get svc dev-nginx -o=jsonpath='{.spec.ports[0].nodePort}')/client/login |
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 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 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 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,24 @@ | ||
# By folder: | ||
|
||
## prover | ||
|
||
KEY_DIR | ||
POD_NAME | ||
|
||
## models | ||
|
||
TX_BATCH_SIZE | ||
CONTRACT_ADDR | ||
MAX_OUTSTANDING_TXS | ||
|
||
## storage | ||
|
||
DATABASE_URL | ||
DB_POOL_SIZE | ||
|
||
|
||
# Vars to dynamically update: None | ||
|
||
|
||
# Vars pointing to external services: | ||
DATABASE_URL |
Oops, something went wrong.