diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/README.md b/stack-orchestrator/stacks/fixturenet-laconicd/README.md index 8dba1e3..ee1281d 100644 --- a/stack-orchestrator/stacks/fixturenet-laconicd/README.md +++ b/stack-orchestrator/stacks/fixturenet-laconicd/README.md @@ -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 ``` diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/records-demo.md b/stack-orchestrator/stacks/fixturenet-laconicd/records-demo.md index a3075ed..b3a43fb 100644 --- a/stack-orchestrator/stacks/fixturenet-laconicd/records-demo.md +++ b/stack-orchestrator/stacks/fixturenet-laconicd/records-demo.md @@ -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://ajna-watcher-endpoint.example.com ``` -* Find the `RepositoryRecord` for `ajna-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 ajna-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 ajna-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 `ajna` 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 ajna" - ``` + * 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'" + ```