updated DB query and build instructions
This commit is contained in:
@@ -107,6 +107,7 @@ ssh kisfenyo@192.168.0.162 "docker ps --filter name=felhom-controller --format '
|
||||
```
|
||||
|
||||
Then build with the next version (e.g., if current is 0.2.10, use 0.2.11):
|
||||
IMPORTANT!: Build directory is: ~/build/felhom-controller
|
||||
```bash
|
||||
ssh kisfenyo@192.168.0.180 "cd ~/build/felhom-controller && git -C ~/git/deploy-felhom-compose pull && ./build.sh <NEW_VERSION> --push"
|
||||
```
|
||||
@@ -139,7 +140,7 @@ ssh kisfenyo@192.168.0.162 "docker logs felhom-controller --tail 20"
|
||||
| Step | Command | Where |
|
||||
|------|---------|-------|
|
||||
| 1. Commit + push | `git add -A && git commit -m "..." && git push` | Local (this repo) |
|
||||
| 2. Build + push image | `ssh 192.168.0.180 "... ./build.sh <VER> --push"` | Build server |
|
||||
| 2. Build + push image | `ssh 192.168.0.180 "cd ~/build/felhom-controller... ./build.sh <VER> --push"` | Build server |
|
||||
| 3. Deploy | `ssh 192.168.0.162 "... docker compose up -d"` | Demo node |
|
||||
| 4. Verify | `ssh 192.168.0.162 "docker ps ..."` | Demo node |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user