Update demo steps for stack records
This commit is contained in:
parent
008292867a
commit
5d6200a439
@ -17,7 +17,7 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso
|
||||
# laconicd
|
||||
laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd setup-repositories
|
||||
|
||||
# laocnic cli and console
|
||||
# laconic cli and console
|
||||
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console setup-repositories
|
||||
```
|
||||
|
||||
@ -27,7 +27,7 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso
|
||||
# laconicd
|
||||
laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd build-containers
|
||||
|
||||
# laocnic cli and console
|
||||
# laconic cli and console
|
||||
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console build-containers
|
||||
```
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
```bash
|
||||
# Example
|
||||
cp -r /home/user/laconic-testnet-data/records/repo laconic-console-deployment/data/laconic-registry-data/
|
||||
cp -r /home/user/laconic-testnet-data/records/repo laconic-console-deployment/data/laconic-registry-data/repo-records
|
||||
|
||||
rsync -av --exclude 'repo' /home/user/laconic-testnet-data/records laconic-console-deployment/data/laconic-registry-data/
|
||||
```
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
```bash
|
||||
# Publish repository records first
|
||||
laconic-so deployment --dir laconic-console-deployment exec cli "yarn ts-node demo/scripts/publish-records.ts --config config.yml --records /laconic-registry-data/repo"
|
||||
laconic-so deployment --dir laconic-console-deployment exec cli "yarn ts-node demo/scripts/publish-records.ts --config config.yml --records /laconic-registry-data/repo-records"
|
||||
|
||||
# Publish rest of the records
|
||||
laconic-so deployment --dir laconic-console-deployment exec cli "yarn ts-node demo/scripts/publish-records.ts --config config.yml --records /laconic-registry-data/records"
|
||||
@ -83,17 +83,22 @@
|
||||
https://azimuth-watcher-endpoint.example.com
|
||||
```
|
||||
|
||||
* Find the `RepositoryRecord` for `azimuth-watcher-ts` repo:
|
||||
* Query for `bsc-node` stack:
|
||||
|
||||
```bash
|
||||
laconic-so deployment --dir laconic-console-deployment exec cli "laconic registry record list --all --type RepositoryRecord --name azimuth-watcher-ts"
|
||||
* Find the `StackRecord` for `bsc-node` stack:
|
||||
|
||||
# Get the repo URL
|
||||
laconic-so deployment --dir laconic-console-deployment exec cli "laconic registry record list --all --type RepositoryRecord --name azimuth-watcher-ts | jq -r '.[].attributes.url'"
|
||||
```
|
||||
```bash
|
||||
laconic-so deployment --dir laconic-console-deployment exec cli "laconic registry record list --all --type StackRecord --name bsc-node"
|
||||
|
||||
* Find the `StackRecord` for `azimuth` stack:
|
||||
# Get the repo record id
|
||||
STACK_REPO_RECORD_ID=$(laconic-so deployment --dir laconic-console-deployment exec cli "laconic registry record list --all --type StackRecord --name bsc-node | jq -r '.[].attributes.repository'")
|
||||
```
|
||||
|
||||
```bash
|
||||
laconic-so deployment --dir laconic-console-deployment exec cli "laconic registry record list --all --type StackRecord --name azimuth"
|
||||
```
|
||||
* Find the corresponding `RepositoryRecord`:
|
||||
|
||||
```bash
|
||||
laconic-so deployment --dir laconic-console-deployment exec cli "laconic registry record get --id $STACK_REPO_RECORD_ID"
|
||||
|
||||
# Get the repo URL
|
||||
laconic-so deployment --dir laconic-console-deployment exec cli "laconic registry record get --id $STACK_REPO_RECORD_ID | jq -r '.[].attributes.url'"
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user