Update stage1 deployment directory
This commit is contained in:
parent
d87587cc66
commit
660e715231
@ -1232,6 +1232,9 @@
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console deploy create --spec-file laconic-console-testnet2-spec.yml --deployment-dir laconic-console-testnet2-deployment
|
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console deploy create --spec-file laconic-console-testnet2-spec.yml --deployment-dir laconic-console-testnet2-deployment
|
||||||
|
|
||||||
|
# Place console deployment in the same cluster as stage2 deployment
|
||||||
|
cp ../stage2-deployment/deployment.yml laconic-console-testnet2-deployment/deployment.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
* Update the configuration:
|
* Update the configuration:
|
||||||
@ -1240,6 +1243,9 @@
|
|||||||
cat <<EOF > laconic-console-testnet2-deployment/config.env
|
cat <<EOF > laconic-console-testnet2-deployment/config.env
|
||||||
# Laconicd (hosted) GQL endpoint
|
# Laconicd (hosted) GQL endpoint
|
||||||
LACONIC_HOSTED_ENDPOINT=https://laconicd-sapo.laconic.com
|
LACONIC_HOSTED_ENDPOINT=https://laconicd-sapo.laconic.com
|
||||||
|
|
||||||
|
# laconicd chain id
|
||||||
|
CERC_LACONICD_CHAIN_ID=laconic-testnet-2
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -16,15 +16,17 @@
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# On stage1 deployment machine
|
# On stage1 deployment machine
|
||||||
cd /srv/laconicd
|
STAGE1_DEPLOYMENT=/srv/laconicd/testnet-laconicd-deployment
|
||||||
|
|
||||||
laconic-so deployment --dir stage1-deployment logs laconicd -f --tail 30
|
laconic-so deployment --dir $STAGE1_DEPLOYMENT logs laconicd -f --tail 30
|
||||||
|
|
||||||
|
# Note: stage1 node on deployments VM has been changed to run from /srv/laconicd/testnet-laconicd-deployment instead of /srv/laconicd/stage1-deployment
|
||||||
```
|
```
|
||||||
|
|
||||||
* Stop the stage1 deployment:
|
* Stop the stage1 deployment:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
laconic-so deployment --dir stage1-deployment stop
|
laconic-so deployment --dir $STAGE1_DEPLOYMENT stop
|
||||||
|
|
||||||
# Stopping this deployment marks the end of testnet stage1
|
# Stopping this deployment marks the end of testnet stage1
|
||||||
```
|
```
|
||||||
@ -34,8 +36,6 @@
|
|||||||
* Export the chain state:
|
* Export the chain state:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
STAGE1_DEPLOYMENT=/srv/laconicd/stage1-deployment
|
|
||||||
|
|
||||||
docker run -it \
|
docker run -it \
|
||||||
-v $STAGE1_DEPLOYMENT/data/laconicd-data:/root/.laconicd \
|
-v $STAGE1_DEPLOYMENT/data/laconicd-data:/root/.laconicd \
|
||||||
cerc/laconicd-stage1:local bash -c "laconicd export | jq > /root/.laconicd/stage1-state.json"
|
cerc/laconicd-stage1:local bash -c "laconicd export | jq > /root/.laconicd/stage1-state.json"
|
||||||
|
@ -63,6 +63,8 @@
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
laconic-so fetch-stack git.vdb.to/cerc-io/testnet-laconicd-stack
|
laconic-so fetch-stack git.vdb.to/cerc-io/testnet-laconicd-stack
|
||||||
|
|
||||||
|
# See stack documentation stack-orchestrator/stacks/testnet-laconicd/README.md for more details
|
||||||
```
|
```
|
||||||
|
|
||||||
* Clone required repositories:
|
* Clone required repositories:
|
||||||
|
Loading…
Reference in New Issue
Block a user