Skip to content

Commit

Permalink
fix: use Unix domain sockets for devnet processes
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Dec 11, 2024
1 parent c87dffd commit 9ba387f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
17 changes: 10 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -339,31 +339,34 @@ 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

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 <target>"
Expand Down

0 comments on commit 9ba387f

Please sign in to comment.