Add a script to publish records from a given directory #62
@ -64,6 +64,9 @@
|
|||||||
|
|
||||||
# Get the deployment URL(s)
|
# Get the deployment URL(s)
|
||||||
laconic registry record list --all --type WatcherDeploymentRecord watcher $WATCHER_RECORD_ID | jq -r '.[].attributes.url'
|
laconic registry record list --all --type WatcherDeploymentRecord watcher $WATCHER_RECORD_ID | jq -r '.[].attributes.url'
|
||||||
|
|
||||||
|
# Expected output:
|
||||||
|
https://ajna-watcher-endpoint.example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
* Query for `sushiswap-v3-subgraph` deployment(s):
|
* Query for `sushiswap-v3-subgraph` deployment(s):
|
||||||
@ -81,6 +84,9 @@
|
|||||||
|
|
||||||
# Get the deployment URL(s)
|
# Get the deployment URL(s)
|
||||||
laconic registry record list --all --type SubgraphDeploymentRecord subgraph $SUBGRAPH_RECORD_ID | jq -r '.[].attributes.url'
|
laconic registry record list --all --type SubgraphDeploymentRecord subgraph $SUBGRAPH_RECORD_ID | jq -r '.[].attributes.url'
|
||||||
|
|
||||||
|
# Expected output:
|
||||||
|
# https://sushiswap-v3-subgraph-endpoint.example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
* Query for `geth` service deployment(s):
|
* Query for `geth` service deployment(s):
|
||||||
@ -98,4 +104,8 @@
|
|||||||
|
|
||||||
# Get the deployment URL(s)
|
# Get the deployment URL(s)
|
||||||
laconic registry record list --all --type ServiceDeploymentRecord service $SERVICE_RECORD_ID | jq -r '.[].attributes.url'
|
laconic registry record list --all --type ServiceDeploymentRecord service $SERVICE_RECORD_ID | jq -r '.[].attributes.url'
|
||||||
|
|
||||||
|
# Expected output:
|
||||||
|
# https://geth-rpc-endpoint-1.example.com
|
||||||
|
# https://geth-rpc-endpoint-2.example.com
|
||||||
```
|
```
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"request": "",
|
"request": "",
|
||||||
"name": "geth",
|
"name": "geth",
|
||||||
"service": "<service-record-id>",
|
"service": "<service-record-id>",
|
||||||
"url": "https://geth-rpc-endpoint.example.com",
|
"url": "https://geth-rpc-endpoint-2.example.com",
|
||||||
"needs_auth": false,
|
"needs_auth": false,
|
||||||
"meta": {
|
"meta": {
|
||||||
"machine_name": "gibbon",
|
"machine_name": "gibbon",
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"request": "",
|
"request": "",
|
||||||
"name": "geth",
|
"name": "geth",
|
||||||
"service": "<service-record-id>",
|
"service": "<service-record-id>",
|
||||||
"url": "https://geth-rpc-endpoint.example.com",
|
"url": "https://geth-rpc-endpoint-1.example.com",
|
||||||
"needs_auth": false,
|
"needs_auth": false,
|
||||||
"meta": {
|
"meta": {
|
||||||
"machine_name": "kindred",
|
"machine_name": "kindred",
|
||||||
|
Loading…
Reference in New Issue
Block a user