Skip to content

Commit 02594f9

Browse files
committed
test
1 parent e760764 commit 02594f9

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
variables:
1818
SAGITTARIUS_IMAGE: ghcr.io/code0-tech/reticulum/ci-builds/sagittarius:${CI_PIPELINE_ID}-${VARIANT}
1919
CURL_IMAGE: curlimages/curl:8.5.0
20+
DOCKER_ARGS: ""
2021
before_script:
2122
- docker network create boot
2223
- >
@@ -37,6 +38,7 @@
3738
--network boot
3839
--network-alias sagittarius
3940
--volume $(pwd)/container/sagittarius/sagittarius.yml:/sagittarius/config/sagittarius.yml
41+
$DOCKER_ARGS
4042
$SAGITTARIUS_IMAGE
4143
$SAGITTARIUS_CMD &
4244
@@ -63,11 +65,12 @@ container:boot:sagittarius:grpc:
6365
extends:
6466
- .container:boot:sagittarius
6567
variables:
66-
SAGITTARIUS_CMD: "bin/grpc_server"
68+
SAGITTARIUS_CMD: "bin/rake db:prepare db:seed_fu FILTER=01_application_settings && bin/grpc_server"
69+
DOCKER_ARGS: "--publish 50051:50051"
6770
before_script:
6871
- apk add libc6-compat
6972
- bundle install
7073
- !reference [.container:boot:sagittarius, before_script]
7174
script:
72-
- scripts/grpc_check_health --host sagittarius:50051 --service liveness --retries 20
73-
- scripts/grpc_check_health --host sagittarius:50051 --service readiness --retries 20
75+
- scripts/grpc_check_health --host 127.0.0.1:50051 --service liveness --retries 20
76+
- scripts/grpc_check_health --host 127.0.0.1:50051 --service readiness --retries 20

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ GEM
66
google-protobuf (4.31.1)
77
bigdecimal
88
rake (>= 13)
9-
google-protobuf (4.31.1-x86-linux-gnu)
9+
google-protobuf (4.31.1-x86_64-linux-gnu)
1010
bigdecimal
1111
rake (>= 13)
12-
google-protobuf (4.31.1-x86-linux-musl)
12+
google-protobuf (4.31.1-x86_64-linux-musl)
1313
bigdecimal
1414
rake (>= 13)
1515
googleapis-common-protos-types (1.20.0)
1616
google-protobuf (>= 3.18, < 5.a)
1717
grpc (1.73.0)
1818
google-protobuf (>= 3.25, < 5.0)
1919
googleapis-common-protos-types (~> 1.0)
20-
grpc (1.73.0-x86-linux)
20+
grpc (1.73.0-x86_64-linux)
2121
google-protobuf (>= 3.25, < 5.0)
2222
googleapis-common-protos-types (~> 1.0)
2323
optparse (0.6.0)
2424
rake (13.3.0)
2525

2626
PLATFORMS
2727
ruby
28-
x86-linux-gnu
29-
x86-linux-musl
28+
x86_64-linux-gnu
29+
x86_64-linux-musl
3030

3131
DEPENDENCIES
3232
erb

0 commit comments

Comments
 (0)