From 9ba387f2e4c4794efdf8ea5df358fcd58fba077e Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Wed, 11 Dec 2024 16:25:58 -0500 Subject: [PATCH] fix: use Unix domain sockets for devnet processes --- .github/workflows/deploy-net.yml | 4 ++-- Makefile | 17 ++++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-net.yml b/.github/workflows/deploy-net.yml index 913b3a142..b25e5dc5b 100644 --- a/.github/workflows/deploy-net.yml +++ b/.github/workflows/deploy-net.yml @@ -26,8 +26,8 @@ jobs: - name: Stop Devnet continue-on-error: true run: | - make stop + make stop-uds - name: Start Devnet run: | - make start + make start-uds diff --git a/Makefile b/Makefile index 0f021375f..b01a14634 100644 --- a/Makefile +++ b/Makefile @@ -339,7 +339,7 @@ logs-sonr: init-env ### 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 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 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 bin/process-compose down --port $(PC_PORT_NUM) +stop-uds: init-env + bin/process-compose down --use-uds + restart: stop clean start status: init-env 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 ### ############################################################################### +deploy: + cd ./proto && bunx buf dep update && bunx buf build && bunx buf push + sh ./.github/scripts/upload_cdn.sh help: @echo "Usage: make "