-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontainer-boot.gitlab-ci.yml
More file actions
136 lines (129 loc) · 3.55 KB
/
container-boot.gitlab-ci.yml
File metadata and controls
136 lines (129 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
.container:boot:
extends:
- .dind
- .default-retry
tags:
- c0-$PLATFORM
stage: container:boot
image: ghcr.io/code0-tech/build-images/reticulum-builder:227.1-ruby-3.4.7-$PLATFORM
variables:
COMPOSE_FILE: support/docker-compose.yml
parallel:
matrix:
- PLATFORM:
- amd64
- arm64
.container:boot:sagittarius:
extends:
- .container:boot
needs:
- generate-environment
- manifest:sagittarius
parallel:
matrix:
- SAGITTARIUS_VARIANT:
- ce
- ee
PLATFORM:
- amd64
- arm64
before_script:
- docker compose up postgres -d
- docker compose up sagittarius-$SAGITTARIUS_SERVICE -d
- docker ps --all
- docker compose logs sagittarius-$SAGITTARIUS_SERVICE -f &
container:boot:sagittarius:rails-web:
extends:
- .container:boot:sagittarius
variables:
SAGITTARIUS_SERVICE: rails-web
script:
- docker compose run curl-sagittarius-rails-web
container:boot:sagittarius:grpc:
extends:
- .container:boot:sagittarius
variables:
SAGITTARIUS_SERVICE: grpc
before_script:
- bundle install
- !reference [.container:boot:sagittarius, before_script]
script:
- support/grpc_check_health --host docker:50051 --service liveness --retries 20
- support/grpc_check_health --host docker:50051 --service readiness --retries 20
container:boot:aquila:
extends:
- .container:boot
needs:
- generate-environment
- manifest:aquila
- manifest:sagittarius
variables:
SAGITTARIUS_VARIANT: ce
script:
- bundle install
- docker compose up postgres -d
- docker compose up nats -d
- docker compose up sagittarius-grpc -d
- docker ps --all
- docker compose logs sagittarius-grpc -f &
- support/grpc_check_health --host docker:50051 --service readiness --retries 20
- >
docker compose exec sagittarius-grpc bin/rails runner 'Runtime.create!(name: "Boot Test Runtime", token: "runtime_token")'
- docker compose up aquila -d
- docker compose logs aquila -f &
- support/grpc_check_health --host docker:8081 --service liveness --retries 20
- support/grpc_check_health --host docker:8081 --service readiness --retries 20
container:boot:taurus:
extends:
- .container:boot
needs:
- generate-environment
- manifest:taurus
script:
- bundle install
- docker compose up nats -d
- docker compose up taurus -d
- docker compose logs taurus -f &
- support/grpc_check_health --host docker:8082 --service liveness --retries 20
- support/grpc_check_health --host docker:8082 --service readiness --retries 20
container:boot:draco:
extends:
- .container:boot
needs:
- generate-environment
- manifest:draco
parallel:
matrix:
- DRACO_VARIANT:
- rest
- cron
PLATFORM:
- amd64
- arm64
script:
- bundle install
- docker compose up nats -d
- docker compose up draco -d
- docker compose logs draco -f &
- support/grpc_check_health --host docker:8083 --service liveness --retries 20
- support/grpc_check_health --host docker:8083 --service readiness --retries 20
container:boot:sculptor:
extends:
- .container:boot
needs:
- generate-environment
- manifest:sculptor
parallel:
matrix:
- SCULPTOR_VARIANT:
- ce
- ee
- cloud
PLATFORM:
- amd64
- arm64
script:
- docker compose up sculptor -d
- docker ps --all
- docker compose logs sculptor -f &
- docker compose run curl-sculptor