Skip to content

Commit

Permalink
[tests] expose CRDB port locally for CLI connection (interuss#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shastick authored Aug 5, 2024
1 parent 7ed120c commit 2a2d82e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ test-e2e: down-locally build-dss start-locally probe-locally collect-local-logs
tag:
scripts/tag.sh $(UPSTREAM_OWNER)/dss/v$(VERSION)

.PHONY: restart-all
restart-all: build-dss down-locally start-locally

.PHONY: start-locally
start-locally:
build/dev/run_locally.sh up -d
Expand Down
13 changes: 6 additions & 7 deletions build/dev/docker-compose_dss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ services:
local-dss-crdb:
image: cockroachdb/cockroach:v21.2.7
command: start-single-node --insecure
expose:
- 26257
ports:
- "26257:26257"
- "8080:8080"
restart: always
networks:
- dss_sandbox_default_network
- dss_sandbox_default_network

local-dss-rid-bootstrapper:
build:
Expand All @@ -30,7 +29,7 @@ services:
depends_on:
- local-dss-crdb
networks:
- dss_sandbox_default_network
- dss_sandbox_default_network

local-dss-scd-bootstrapper:
build:
Expand All @@ -44,7 +43,7 @@ services:
depends_on:
- local-dss-crdb
networks:
- dss_sandbox_default_network
- dss_sandbox_default_network

local-dss-core-service:
build:
Expand All @@ -63,7 +62,7 @@ services:
- local-dss-rid-bootstrapper
- local-dss-scd-bootstrapper
networks:
- dss_sandbox_default_network
- dss_sandbox_default_network

local-dss-dummy-oauth:
build:
Expand All @@ -74,7 +73,7 @@ services:
ports:
- "8085:8085"
networks:
- dss_sandbox_default_network
- dss_sandbox_default_network

networks:
dss_sandbox_default_network:
Expand Down

0 comments on commit 2a2d82e

Please sign in to comment.