Skip to content

Commit 92ed277

Browse files
authored
Merge pull request #137 from code0-tech/44-add-boot-tests/draco
Add boot test for draco
2 parents 5aa8454 + 571290a commit 92ed277

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.gitlab/ci/container-boot.gitlab-ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,20 @@ container:boot:taurus:
7575
- docker compose logs taurus -f &
7676
- support/grpc_check_health --host docker:8082 --service liveness --retries 20
7777
- support/grpc_check_health --host docker:8082 --service readiness --retries 20
78+
79+
container:boot:draco:
80+
extends:
81+
- .container:boot
82+
needs:
83+
- container:draco
84+
parallel:
85+
matrix:
86+
- DRACO_VARIANT:
87+
- rest
88+
script:
89+
- bundle install
90+
- docker compose up nats -d
91+
- docker compose up draco -d
92+
- docker compose logs draco -f &
93+
- support/grpc_check_health --host docker:8083 --service liveness --retries 20
94+
- support/grpc_check_health --host docker:8083 --service readiness --retries 20

support/docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,17 @@ services:
7575
ports:
7676
- "8082:8082"
7777

78+
draco:
79+
image: ghcr.io/code0-tech/reticulum/ci-builds/draco:${CI_PIPELINE_ID}-${DRACO_VARIANT}
80+
networks:
81+
- boot
82+
environment:
83+
NATS_URL: nats://nats:4222
84+
WITH_HEALTH_SERVICE: "true"
85+
GRPC_HOST: 0.0.0.0
86+
GRPC_PORT: "8083"
87+
ports:
88+
- "8083:8083"
89+
7890
networks:
7991
boot:

0 commit comments

Comments
 (0)