Update record type
This commit is contained in:
parent
155fecc060
commit
5d253615fb
@ -48,6 +48,7 @@
|
|||||||
### gor-deploy
|
### gor-deploy
|
||||||
|
|
||||||
* Deploy `gor-deploy` App:
|
* Deploy `gor-deploy` App:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# In gor-deploy/deploy dir
|
# In gor-deploy/deploy dir
|
||||||
docker run -it \
|
docker run -it \
|
||||||
@ -61,7 +62,7 @@
|
|||||||
|
|
||||||
* Visit deployed app: <https://gor-deploy.apps.vaasl.io>
|
* Visit deployed app: <https://gor-deploy.apps.vaasl.io>
|
||||||
|
|
||||||
### remove deployment
|
### Remove deployment
|
||||||
|
|
||||||
* Remove deployment:
|
* Remove deployment:
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
record:
|
record:
|
||||||
type: ApplicationDeploymentCostRecord
|
type: PricingRecord
|
||||||
|
for: "webapp-deployment"
|
||||||
amount: "5"
|
amount: "5"
|
||||||
currency: "USD"
|
currency: "USD"
|
||||||
version: 1.0.0
|
version: 1.0.0
|
@ -1,4 +1,4 @@
|
|||||||
# publish-deployment-cost
|
# publish-pricing
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
@ -18,10 +18,10 @@
|
|||||||
nano config.yml
|
nano config.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
- Update `cost` and `currency` in [deployment-cost.yml](./deployment-cost.yml) file as required:
|
- Update `cost` and `currency` in [pricing.yml](./pricing.yml) file as required:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nano deployment-cost.yml
|
nano pricing.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
## Create Bond
|
## Create Bond
|
||||||
@ -43,7 +43,7 @@
|
|||||||
- Publish a record
|
- Publish a record
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
laconic registry record publish --filename deployment-cost.yml --bond-id <bond-id> --gas 250000 --fees 250alnt
|
laconic registry record publish --filename pricing.yml --bond-id <bond-id> --gas 250000 --fees 250alnt
|
||||||
|
|
||||||
{ id: 'bafyreic3auqajv...' }
|
{ id: 'bafyreic3auqajv...' }
|
||||||
```
|
```
|
||||||
@ -89,3 +89,11 @@
|
|||||||
```bash
|
```bash
|
||||||
laconic registry auction bid reveal <auction-id> ./out/bafyreiay2rccax64yn4ljhvzvm3jkbebvzheyucuma5jlbpzpzd5i5gjuy.json
|
laconic registry auction bid reveal <auction-id> ./out/bafyreiay2rccax64yn4ljhvzvm3jkbebvzheyucuma5jlbpzpzd5i5gjuy.json
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Set Record Name
|
||||||
|
|
||||||
|
- Set name:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
laconic registry name set lrn://<authority>/pricing/webapp-deployment <record-id>
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user