|
1 | 1 | # Bazel wrapper |
2 | 2 | BAZEL = ./tool/bazel |
3 | 3 |
|
4 | | -# Docker Compose wrapper |
5 | | -COMPOSE = docker-compose |
| 4 | +# Bazel supplies the pinned Docker Compose release for every local stack. |
| 5 | +COMPOSE = $(BAZEL) run @rules_docker_compose//docker_compose -- |
6 | 6 |
|
7 | 7 | # SubmitQueue compose files |
8 | | -COMPOSE_FILE = service/submitqueue/docker-compose.yml |
9 | | -WEB_COMPOSE_FILE = service/submitqueue/docker-compose.web.yml |
10 | | -GATEWAY_COMPOSE_FILE = service/submitqueue/gateway/server/docker-compose.yml |
11 | | -ORCHESTRATOR_COMPOSE_FILE = service/submitqueue/orchestrator/server/docker-compose.yml |
| 8 | +COMPOSE_FILE = $(abspath service/submitqueue/docker-compose.yml) |
| 9 | +GATEWAY_COMPOSE_FILE = $(abspath service/submitqueue/gateway/server/docker-compose.yml) |
| 10 | +ORCHESTRATOR_COMPOSE_FILE = $(abspath service/submitqueue/orchestrator/server/docker-compose.yml) |
| 11 | +WEB_COMPOSE_FILE = $(abspath service/submitqueue/docker-compose.web.yml) |
12 | 12 |
|
13 | 13 | # Fixed project name for local manual testing (tests use unique random names) |
14 | 14 | SUBMITQUEUE_LOCAL_PROJECT = submitqueue |
15 | 15 |
|
16 | 16 | # Stovepipe compose file (single Ping-only service) |
17 | | -STOVEPIPE_COMPOSE_FILE = service/stovepipe/docker-compose.yml |
18 | | -STOVEPIPE_DEBUG_COMPOSE_FILE = service/stovepipe/docker-compose.debug.yml |
| 17 | +STOVEPIPE_COMPOSE_FILE = $(abspath service/stovepipe/docker-compose.yml) |
| 18 | +STOVEPIPE_DEBUG_COMPOSE_FILE = $(abspath service/stovepipe/docker-compose.debug.yml) |
19 | 19 |
|
20 | 20 | # Fixed project name for local manual testing (tests use unique random names) |
21 | 21 | STOVEPIPE_LOCAL_PROJECT = stovepipe |
22 | 22 |
|
23 | 23 | # Runway compose files |
24 | | -RUNWAY_COMPOSE_FILE = service/runway/server/docker-compose.yml |
| 24 | +RUNWAY_COMPOSE_FILE = $(abspath service/runway/server/docker-compose.yml) |
25 | 25 |
|
26 | 26 | # Fixed project name for local manual testing (tests use unique random names) |
27 | 27 | RUNWAY_LOCAL_PROJECT = runway |
@@ -61,9 +61,9 @@ export SQ_PROVIDER_CONFIG_DIR ?= $(REPO_ROOT)/service/submitqueue/demo/provider/ |
61 | 61 | # Which compose overlay each mode needs. This cannot live in the provider |
62 | 62 | # directory: the two config files say how the services are configured, not what |
63 | 63 | # has to be mounted or which credential has to be present for them to start. |
64 | | -PROVIDER_COMPOSE_FILE_fake = service/submitqueue/docker-compose.fake.yml |
65 | | -PROVIDER_COMPOSE_FILE_git = service/submitqueue/docker-compose.git.yml |
66 | | -PROVIDER_COMPOSE_FILE_github = service/submitqueue/docker-compose.provider.yml |
| 64 | +PROVIDER_COMPOSE_FILE_fake = $(abspath service/submitqueue/docker-compose.fake.yml) |
| 65 | +PROVIDER_COMPOSE_FILE_git = $(abspath service/submitqueue/docker-compose.git.yml) |
| 66 | +PROVIDER_COMPOSE_FILE_github = $(abspath service/submitqueue/docker-compose.provider.yml) |
67 | 67 | PROVIDER_COMPOSE_FILE = $(PROVIDER_COMPOSE_FILE_$(PROVIDER)) |
68 | 68 |
|
69 | 69 | # Where PROVIDER=git keeps the bare repository it lands into. Outside the |
|
0 commit comments