fix: use Unix domain sockets for devnet processes

This commit is contained in:
Prad Nukala 2024-12-11 16:25:58 -05:00
parent c87dffd6da
commit 9ba387f2e4
2 changed files with 12 additions and 9 deletions

View File

@ -26,8 +26,8 @@ jobs:
- name: Stop Devnet - name: Stop Devnet
continue-on-error: true continue-on-error: true
run: | run: |
make stop make stop-uds
- name: Start Devnet - name: Start Devnet
run: | run: |
make start make start-uds

View File

@ -339,7 +339,7 @@ logs-sonr: init-env
### Network Start/Stop ### ### Network Start/Stop ###
############################################################################### ###############################################################################
.PHONY: deploy start start-tui stop restart status .PHONY: deploy start start-tui start-uds stop stop-uds restart status
start: build-hway init-env start: build-hway init-env
bin/process-compose up --port $(PC_PORT_NUM) --log-file $(PC_LOG_FILE) --detached -f deploy/process-compose.yaml bin/process-compose up --port $(PC_PORT_NUM) --log-file $(PC_LOG_FILE) --detached -f deploy/process-compose.yaml
@ -347,23 +347,26 @@ start: build-hway init-env
start-tui: build-hway init-env start-tui: build-hway init-env
bin/process-compose up --port $(PC_PORT_NUM) --log-file $(PC_LOG_FILE) -f deploy/process-compose.yaml bin/process-compose up --port $(PC_PORT_NUM) --log-file $(PC_LOG_FILE) -f deploy/process-compose.yaml
start-uds: build-hway init-env
bin/process-compose up --use-uds --log-file $(PC_LOG_FILE) --detached -f deploy/process-compose.yaml
stop: init-env stop: init-env
bin/process-compose down --port $(PC_PORT_NUM) bin/process-compose down --port $(PC_PORT_NUM)
stop-uds: init-env
bin/process-compose down --use-uds
restart: stop clean start restart: stop clean start
status: init-env status: init-env
bin/process-compose project state --port $(PC_PORT_NUM) bin/process-compose project state --port $(PC_PORT_NUM)
deploy:
cd ./proto && bunx buf dep update && bunx buf build && bunx buf push
sh ./.github/scripts/upload_cdn.sh
############################################################################### ###############################################################################
### help ### ### help ###
############################################################################### ###############################################################################
deploy:
cd ./proto && bunx buf dep update && bunx buf build && bunx buf push
sh ./.github/scripts/upload_cdn.sh
help: help:
@echo "Usage: make <target>" @echo "Usage: make <target>"