Remove build containers step for webapp ui
This commit is contained in:
parent
ea368e888b
commit
43b6268d7b
@ -9,7 +9,7 @@ Follow steps from <https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/servic
|
||||
* webapp deployer UI: https://webapp-deployer-ui.pwa.laconic.com
|
||||
|
||||
|
||||
## Update webapp deployer after code changes
|
||||
## Update webapp deployer
|
||||
|
||||
* Stop the deployer
|
||||
|
||||
@ -19,7 +19,7 @@ Follow steps from <https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/servic
|
||||
laconic-so deployment --dir webapp-ui stop
|
||||
```
|
||||
|
||||
* Fetch and build webapp deployer backend if the source code has changed
|
||||
* Fetch and build webapp deployer backend
|
||||
|
||||
```bash
|
||||
# Update code for webapp-deployer backend
|
||||
@ -35,23 +35,6 @@ Follow steps from <https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/servic
|
||||
laconic-so --stack webapp-deployer-backend build-containers --force-rebuild
|
||||
```
|
||||
|
||||
* Fetch and build webapp-ui if the source code has changed
|
||||
|
||||
```bash
|
||||
# Update code for webapp-deployer backend
|
||||
cd ~/cerc/webapp-deployment-status-ui
|
||||
|
||||
# Pull latest changes, or checkout to the required branch
|
||||
git pull
|
||||
|
||||
# Confirm the latest commit hash
|
||||
git log
|
||||
|
||||
# Rebuild the containers
|
||||
laconic-so build-webapp --source-repo ~/cerc/webapp-deployment-status-ui --force-rebuild
|
||||
cd <path-to-deployments>
|
||||
```
|
||||
|
||||
* Push images to the container registry
|
||||
|
||||
* login to the container registry
|
||||
@ -77,7 +60,6 @@ Follow steps from <https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/servic
|
||||
|
||||
```bash
|
||||
laconic-so deployment --dir webapp-deployer push-images
|
||||
laconic-so deployment --dir webapp-ui push-images
|
||||
```
|
||||
|
||||
* Update `webapp-deployer/data/config/laconic.yml` with the new endpoints
|
||||
@ -90,8 +72,7 @@ Follow steps from <https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/servic
|
||||
userKey: "<userKey>"
|
||||
bondId: "<bondId"
|
||||
chainId: laconic-testnet-2
|
||||
gas: 200000
|
||||
fees: 200000alnt
|
||||
gasPrice: 0.001alnt
|
||||
```
|
||||
Note: Same `userKey` and `bondId` can be used since they are carried over from laconicd stage1 to testnet2
|
||||
|
||||
@ -336,8 +317,7 @@ Follow the steps given below to connect the webapp-deployer to testnet2
|
||||
|
||||
# laconicd chain id
|
||||
chainId: laconic_9000-2
|
||||
gas: 200000
|
||||
fees: 500000alnt
|
||||
gasPrice: 0.001alnt
|
||||
```
|
||||
|
||||
* Publish the webapp deployer record on the chain
|
||||
|
Loading…
Reference in New Issue
Block a user