mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
fix: use Unix domain sockets for devnet processes
This commit is contained in:
parent
c87dffd6da
commit
9ba387f2e4
4
.github/workflows/deploy-net.yml
vendored
4
.github/workflows/deploy-net.yml
vendored
@ -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
|
||||||
|
17
Makefile
17
Makefile
@ -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>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user