stack-service-base 0.0.108 → 0.0.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stack-service-base/frontend_template/github/.github/workflows/main.yml +5 -5
- data/lib/stack-service-base/frontend_template/gitlab/.gitlab-ci.yml +2 -2
- data/lib/stack-service-base/frontend_template/gitlab/docker/Dockerfile.build +2 -2
- data/lib/stack-service-base/frontend_template/gitlab-c/.gitlab-ci.yml +1 -1
- data/lib/stack-service-base/frontend_template/gitlab-c/docker/Dockerfile.build +2 -2
- data/lib/stack-service-base/frontend_template/home/README.md +1 -1
- data/lib/stack-service-base/frontend_template/home/docker/frontend/Dockerfile +3 -3
- data/lib/stack-service-base/frontend_template/home/src/package-lock.json +516 -911
- data/lib/stack-service-base/frontend_template/home/src/package.json +9 -9
- data/lib/stack-service-base/mcp/mcp_processor.rb +1 -1
- data/lib/stack-service-base/project_template/github/.github/workflows/main.yml +5 -5
- data/lib/stack-service-base/project_template/gitlab/.gitlab-ci.yml +2 -2
- data/lib/stack-service-base/project_template/gitlab/docker/Dockerfile.build +2 -2
- data/lib/stack-service-base/project_template/gitlab-c/.gitlab-ci.yml +1 -1
- data/lib/stack-service-base/project_template/gitlab-c/docker/Dockerfile.build +2 -2
- data/lib/stack-service-base/project_template/home/docker/ruby/Dockerfile +10 -8
- data/lib/stack-service-base/project_template/home/src/Gemfile +2 -2
- data/lib/stack-service-base/project_template/home/src/Gemfile.lock +63 -41
- data/lib/stack-service-base/project_template/home/src/spec/support/rack_helper.rb +1 -1
- data/lib/stack-service-base/socket_trace.rb +1 -1
- data/lib/stack-service-base/stack_template/github/.github/workflows/deploy.yml +1 -1
- data/lib/stack-service-base/stack_template/gitlab/.gitlab-ci.yml +2 -2
- data/lib/stack-service-base/stack_template/gitlab-c/.gitlab-ci.yml +1 -1
- data/lib/stack-service-base/stack_template/home/stack/Dockerfile.deploy +3 -3
- data/lib/stack-service-base/version.rb +1 -1
- metadata +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "^24.
|
|
7
|
+
"node": "^24.21.0"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "vite --host 0.0.0.0",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"check": "npm run typecheck && npm run lint && npm run test && npm run build"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@eslint/js": "
|
|
22
|
-
"@types/node": "24.
|
|
23
|
-
"eslint": "
|
|
24
|
-
"globals": "
|
|
25
|
-
"typescript": "
|
|
26
|
-
"typescript-eslint": "8.
|
|
27
|
-
"vite": "8.
|
|
28
|
-
"vitest": "
|
|
21
|
+
"@eslint/js": "10.0.1",
|
|
22
|
+
"@types/node": "24.19.1",
|
|
23
|
+
"eslint": "10.12.0",
|
|
24
|
+
"globals": "17.13.0",
|
|
25
|
+
"typescript": "6.0.3",
|
|
26
|
+
"typescript-eslint": "8.71.1",
|
|
27
|
+
"vite": "8.3.3",
|
|
28
|
+
"vitest": "5.0.3"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -7,13 +7,13 @@ jobs:
|
|
|
7
7
|
BUILDX_BAKE_ENTITLEMENTS_FS: '0'
|
|
8
8
|
REGISTRY_HOST: '${{ secrets.DOCKER_HUB_LOGIN }}'
|
|
9
9
|
steps:
|
|
10
|
-
- uses: actions/checkout@
|
|
11
|
-
- uses: docker/login-action@
|
|
10
|
+
- uses: actions/checkout@v7
|
|
11
|
+
- uses: docker/login-action@v4
|
|
12
12
|
with: { username: '${{ secrets.DOCKER_HUB_LOGIN }}', password: '${{ secrets.DOCKER_HUB_PASSWORD }}' }
|
|
13
|
-
- uses: docker/setup-buildx-action@
|
|
13
|
+
- uses: docker/setup-buildx-action@v4
|
|
14
14
|
- uses: ruby/setup-ruby@v1
|
|
15
|
-
with: { ruby-version:
|
|
16
|
-
- run: gem install build-labels:0.0.
|
|
15
|
+
with: { ruby-version: 4.0.7 }
|
|
16
|
+
- run: gem install build-labels:0.0.85
|
|
17
17
|
- run: cd docker && build-labels -n -c docker-compose.yml $(if [ "${GITHUB_REF##*/}" = "release" ]; then echo "--full-version"; fi) github set_version to_dockerfiles to_compose | tee bake.yml
|
|
18
18
|
env:
|
|
19
19
|
GITHUB_RUN_NUMBER: ${{ github.run_number }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
FROM ruby:
|
|
1
|
+
FROM ruby:4.0.7-slim-bookworm AS base
|
|
2
2
|
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends bash git jq ca-certificates curl tar
|
|
3
|
-
RUN gem install build-labels:0.0.
|
|
3
|
+
RUN gem install build-labels:0.0.85
|
|
4
4
|
RUN install-docker-static
|
|
5
5
|
|
|
6
6
|
WORKDIR /build
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
FROM ruby:
|
|
1
|
+
FROM ruby:4.0.7-slim-bookworm AS base
|
|
2
2
|
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends bash git jq ca-certificates curl tar
|
|
3
|
-
RUN gem install build-labels:0.0.
|
|
3
|
+
RUN gem install build-labels:0.0.85
|
|
4
4
|
RUN install-docker-static
|
|
5
5
|
|
|
6
6
|
WORKDIR /build
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
FROM ruby:
|
|
1
|
+
FROM ruby:4.0.7-slim-bookworm AS base
|
|
2
2
|
|
|
3
3
|
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends build-essential pkg-config libpq-dev curl cmake libssl-dev libyaml-dev \
|
|
4
4
|
&& rm -rf /var/lib/apt/lists/*
|
|
@@ -12,9 +12,10 @@ COPY Gemfile* /app/
|
|
|
12
12
|
RUN bundle install --jobs $(nproc) --retry=3 && \
|
|
13
13
|
bundle clean --force && rm -rf /usr/local/bundle/cache/*
|
|
14
14
|
|
|
15
|
-
# The bundle replaces the vulnerable
|
|
16
|
-
RUN rm -
|
|
17
|
-
/usr/local/lib/ruby/gems/
|
|
15
|
+
# The bundle replaces the vulnerable default JSON gem (CVE-2026-33210).
|
|
16
|
+
RUN rm -rf /usr/local/lib/ruby/4.0.0/json* /usr/local/lib/ruby/4.0.0/*-linux/json \
|
|
17
|
+
/usr/local/lib/ruby/gems/4.0.0/gems/json-* \
|
|
18
|
+
/usr/local/lib/ruby/gems/4.0.0/specifications/default/json-*.gemspec
|
|
18
19
|
|
|
19
20
|
COPY . /app
|
|
20
21
|
|
|
@@ -26,15 +27,16 @@ FROM base AS tests
|
|
|
26
27
|
# COPY . . required test fixtures
|
|
27
28
|
CMD bundle exec rspec
|
|
28
29
|
|
|
29
|
-
FROM ruby:
|
|
30
|
+
FROM ruby:4.0.7-slim-bookworm AS deploy
|
|
30
31
|
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends bash curl libssl-dev wget libpq-dev libyaml-0-2 \
|
|
31
32
|
&& rm -rf /var/lib/apt/lists/*
|
|
32
33
|
|
|
33
34
|
COPY --from=base /usr/local/bundle /usr/local/bundle
|
|
34
35
|
|
|
35
|
-
# The bundle replaces the vulnerable
|
|
36
|
-
RUN rm -
|
|
37
|
-
/usr/local/lib/ruby/gems/
|
|
36
|
+
# The bundle replaces the vulnerable default JSON gem (CVE-2026-33210).
|
|
37
|
+
RUN rm -rf /usr/local/lib/ruby/4.0.0/json* /usr/local/lib/ruby/4.0.0/*-linux/json \
|
|
38
|
+
/usr/local/lib/ruby/gems/4.0.0/gems/json-* \
|
|
39
|
+
/usr/local/lib/ruby/gems/4.0.0/specifications/default/json-*.gemspec
|
|
38
40
|
|
|
39
41
|
# Force start & wait test Stage
|
|
40
42
|
# COPY --from=tests /app/src/spec/results /app/src/spec/results
|
|
@@ -2,18 +2,18 @@ GEM
|
|
|
2
2
|
remote: https://rubygems.org/
|
|
3
3
|
specs:
|
|
4
4
|
amazing_print (2.0.0)
|
|
5
|
-
async (2.
|
|
5
|
+
async (2.46.0)
|
|
6
6
|
console (~> 1.29)
|
|
7
7
|
fiber-annotation
|
|
8
8
|
io-event (~> 1.21)
|
|
9
9
|
async-container (0.38.0)
|
|
10
10
|
async (~> 2.44)
|
|
11
|
-
async-http (0.
|
|
11
|
+
async-http (0.105.0)
|
|
12
12
|
async (>= 2.35.1)
|
|
13
13
|
async-pool (~> 0.12)
|
|
14
14
|
io-endpoint (~> 0.18)
|
|
15
15
|
io-stream (~> 0.14)
|
|
16
|
-
protocol-http (~> 0.
|
|
16
|
+
protocol-http (~> 0.72)
|
|
17
17
|
protocol-http1 (~> 0.41)
|
|
18
18
|
protocol-http2 (~> 0.28)
|
|
19
19
|
protocol-url (~> 0.2)
|
|
@@ -39,9 +39,9 @@ GEM
|
|
|
39
39
|
benchmark-malloc (0.2.0)
|
|
40
40
|
benchmark-perf (0.6.0)
|
|
41
41
|
benchmark-trend (0.4.0)
|
|
42
|
-
bigdecimal (4.1.
|
|
42
|
+
bigdecimal (4.1.3)
|
|
43
43
|
concurrent-ruby (1.3.8)
|
|
44
|
-
console (1.
|
|
44
|
+
console (1.38.0)
|
|
45
45
|
fiber-annotation
|
|
46
46
|
fiber-local (~> 1.1)
|
|
47
47
|
json
|
|
@@ -55,7 +55,7 @@ GEM
|
|
|
55
55
|
dotenv (3.2.0)
|
|
56
56
|
ed25519 (1.4.0)
|
|
57
57
|
erb (6.0.7)
|
|
58
|
-
excon (1.7.
|
|
58
|
+
excon (1.7.2)
|
|
59
59
|
logger
|
|
60
60
|
falcon (0.57.0)
|
|
61
61
|
async
|
|
@@ -70,20 +70,28 @@ GEM
|
|
|
70
70
|
protocol-http (~> 0.31)
|
|
71
71
|
protocol-rack (~> 0.7)
|
|
72
72
|
samovar (~> 2.3)
|
|
73
|
+
ffi (1.17.4)
|
|
74
|
+
ffi (1.17.4-aarch64-linux-gnu)
|
|
73
75
|
ffi (1.17.4-x86_64-linux-gnu)
|
|
74
76
|
fiber-annotation (0.2.0)
|
|
75
77
|
fiber-local (1.1.0)
|
|
76
78
|
fiber-storage
|
|
77
79
|
fiber-storage (1.0.1)
|
|
78
|
-
google-protobuf (4.36.
|
|
80
|
+
google-protobuf (4.36.2)
|
|
81
|
+
bigdecimal
|
|
82
|
+
rake (~> 13.3)
|
|
83
|
+
google-protobuf (4.36.2-aarch64-linux-gnu)
|
|
84
|
+
bigdecimal
|
|
85
|
+
rake (~> 13.3)
|
|
86
|
+
google-protobuf (4.36.2-x86_64-linux-gnu)
|
|
79
87
|
bigdecimal
|
|
80
88
|
rake (~> 13.3)
|
|
81
89
|
googleapis-common-protos-types (1.23.0)
|
|
82
90
|
google-protobuf (~> 4.26)
|
|
83
|
-
io-console (0.9.
|
|
84
|
-
io-endpoint (0.
|
|
91
|
+
io-console (0.9.4)
|
|
92
|
+
io-endpoint (0.19.0)
|
|
85
93
|
openssl (>= 3.3.0)
|
|
86
|
-
io-event (1.22.
|
|
94
|
+
io-event (1.22.1)
|
|
87
95
|
io-stream (0.14.0)
|
|
88
96
|
openssl (>= 3.3)
|
|
89
97
|
irb (1.18.0)
|
|
@@ -95,9 +103,10 @@ GEM
|
|
|
95
103
|
localhost (1.8.0)
|
|
96
104
|
bake
|
|
97
105
|
logger (1.7.0)
|
|
106
|
+
mini_portile2 (2.8.9)
|
|
98
107
|
multi_json (1.21.2)
|
|
99
108
|
mustermann (3.1.1)
|
|
100
|
-
nats-pure (2.
|
|
109
|
+
nats-pure (2.6.0)
|
|
101
110
|
base64
|
|
102
111
|
concurrent-ruby (~> 1.0)
|
|
103
112
|
json
|
|
@@ -107,27 +116,29 @@ GEM
|
|
|
107
116
|
base32 (~> 0.3)
|
|
108
117
|
ed25519 (~> 1.2)
|
|
109
118
|
openssl (4.0.2)
|
|
110
|
-
opentelemetry-api (1.11.
|
|
119
|
+
opentelemetry-api (1.11.1)
|
|
111
120
|
logger
|
|
112
|
-
opentelemetry-common (0.25.
|
|
121
|
+
opentelemetry-common (0.25.2)
|
|
113
122
|
opentelemetry-api (~> 1.0)
|
|
114
|
-
opentelemetry-exporter-otlp (0.
|
|
123
|
+
opentelemetry-exporter-otlp (0.37.0)
|
|
115
124
|
google-protobuf (>= 3.18)
|
|
116
125
|
googleapis-common-protos-types (~> 1.3)
|
|
117
126
|
opentelemetry-api (~> 1.1)
|
|
118
127
|
opentelemetry-common (~> 0.20)
|
|
119
|
-
opentelemetry-exporter-otlp-common
|
|
128
|
+
opentelemetry-exporter-otlp-common (~> 0.2)
|
|
120
129
|
opentelemetry-sdk (~> 1.10)
|
|
121
130
|
opentelemetry-semantic_conventions
|
|
122
|
-
opentelemetry-exporter-otlp-common (0.
|
|
131
|
+
opentelemetry-exporter-otlp-common (0.3.0)
|
|
123
132
|
google-protobuf (>= 3.18)
|
|
124
133
|
googleapis-common-protos-types (~> 1.3)
|
|
125
134
|
opentelemetry-api (~> 1.1)
|
|
126
|
-
|
|
135
|
+
opentelemetry-common (~> 0.20)
|
|
136
|
+
opentelemetry-exporter-otlp-logs (0.6.0)
|
|
127
137
|
google-protobuf (>= 3.18)
|
|
128
138
|
googleapis-common-protos-types (~> 1.3)
|
|
129
139
|
opentelemetry-api (~> 1.1)
|
|
130
140
|
opentelemetry-common (~> 0.20)
|
|
141
|
+
opentelemetry-exporter-otlp-common (~> 0.2)
|
|
131
142
|
opentelemetry-logs-api (~> 0.1)
|
|
132
143
|
opentelemetry-logs-sdk (~> 0.1)
|
|
133
144
|
opentelemetry-sdk
|
|
@@ -156,7 +167,7 @@ GEM
|
|
|
156
167
|
opentelemetry-instrumentation-active_support (~> 0.10)
|
|
157
168
|
opentelemetry-instrumentation-active_support (0.12.1)
|
|
158
169
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
159
|
-
opentelemetry-instrumentation-all (0.
|
|
170
|
+
opentelemetry-instrumentation-all (0.97.0)
|
|
160
171
|
opentelemetry-instrumentation-active_model_serializers (~> 0.25.0)
|
|
161
172
|
opentelemetry-instrumentation-anthropic (~> 0.5.0)
|
|
162
173
|
opentelemetry-instrumentation-aws_lambda (~> 0.7.0)
|
|
@@ -176,7 +187,7 @@ GEM
|
|
|
176
187
|
opentelemetry-instrumentation-http_client (~> 0.29.0)
|
|
177
188
|
opentelemetry-instrumentation-httpx (~> 0.8.0)
|
|
178
189
|
opentelemetry-instrumentation-koala (~> 0.24.0)
|
|
179
|
-
opentelemetry-instrumentation-lmdb (~> 0.
|
|
190
|
+
opentelemetry-instrumentation-lmdb (~> 0.27.0)
|
|
180
191
|
opentelemetry-instrumentation-mongo (~> 0.26.0)
|
|
181
192
|
opentelemetry-instrumentation-mysql2 (~> 0.34.0)
|
|
182
193
|
opentelemetry-instrumentation-net_http (~> 0.29.0)
|
|
@@ -200,9 +211,11 @@ GEM
|
|
|
200
211
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
201
212
|
opentelemetry-instrumentation-aws_sdk (0.13.0)
|
|
202
213
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
203
|
-
opentelemetry-instrumentation-base (0.
|
|
214
|
+
opentelemetry-instrumentation-base (0.27.0)
|
|
204
215
|
opentelemetry-api (~> 1.7)
|
|
205
216
|
opentelemetry-common (~> 0.21)
|
|
217
|
+
opentelemetry-logs-api (~> 0.6)
|
|
218
|
+
opentelemetry-metrics-api (~> 0.9)
|
|
206
219
|
opentelemetry-registry (~> 0.1)
|
|
207
220
|
opentelemetry-instrumentation-bunny (0.25.0)
|
|
208
221
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
@@ -234,7 +247,7 @@ GEM
|
|
|
234
247
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
235
248
|
opentelemetry-instrumentation-koala (0.24.0)
|
|
236
249
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
237
|
-
opentelemetry-instrumentation-lmdb (0.
|
|
250
|
+
opentelemetry-instrumentation-lmdb (0.27.0)
|
|
238
251
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
239
252
|
opentelemetry-instrumentation-mongo (0.26.0)
|
|
240
253
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
@@ -243,7 +256,7 @@ GEM
|
|
|
243
256
|
opentelemetry-helpers-sql
|
|
244
257
|
opentelemetry-helpers-sql-processor
|
|
245
258
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
246
|
-
opentelemetry-instrumentation-net_http (0.29.
|
|
259
|
+
opentelemetry-instrumentation-net_http (0.29.1)
|
|
247
260
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
248
261
|
opentelemetry-instrumentation-pg (0.37.0)
|
|
249
262
|
opentelemetry-helpers-sql
|
|
@@ -253,7 +266,7 @@ GEM
|
|
|
253
266
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
254
267
|
opentelemetry-instrumentation-racecar (0.7.0)
|
|
255
268
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
256
|
-
opentelemetry-instrumentation-rack (0.31.
|
|
269
|
+
opentelemetry-instrumentation-rack (0.31.2)
|
|
257
270
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
258
271
|
opentelemetry-instrumentation-rails (0.42.0)
|
|
259
272
|
opentelemetry-instrumentation-action_mailer (~> 0.7)
|
|
@@ -278,7 +291,7 @@ GEM
|
|
|
278
291
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
279
292
|
opentelemetry-instrumentation-sidekiq (0.29.0)
|
|
280
293
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
281
|
-
opentelemetry-instrumentation-sinatra (0.30.
|
|
294
|
+
opentelemetry-instrumentation-sinatra (0.30.1)
|
|
282
295
|
opentelemetry-instrumentation-rack (~> 0.29)
|
|
283
296
|
opentelemetry-instrumentation-trilogy (0.69.0)
|
|
284
297
|
opentelemetry-helpers-mysql
|
|
@@ -286,15 +299,17 @@ GEM
|
|
|
286
299
|
opentelemetry-helpers-sql-processor
|
|
287
300
|
opentelemetry-instrumentation-base (~> 0.25)
|
|
288
301
|
opentelemetry-semantic_conventions (>= 1.8.0)
|
|
289
|
-
opentelemetry-logs-api (0.
|
|
302
|
+
opentelemetry-logs-api (0.6.0)
|
|
290
303
|
opentelemetry-api (~> 1.0)
|
|
291
|
-
opentelemetry-logs-sdk (0.
|
|
304
|
+
opentelemetry-logs-sdk (0.8.0)
|
|
292
305
|
opentelemetry-api (~> 1.2)
|
|
293
|
-
opentelemetry-logs-api (~> 0.
|
|
306
|
+
opentelemetry-logs-api (~> 0.6.0)
|
|
294
307
|
opentelemetry-sdk (~> 1.3)
|
|
308
|
+
opentelemetry-metrics-api (0.9.0)
|
|
309
|
+
opentelemetry-api (~> 1.0)
|
|
295
310
|
opentelemetry-registry (0.6.3)
|
|
296
311
|
opentelemetry-api (~> 1.1)
|
|
297
|
-
opentelemetry-sdk (1.13.
|
|
312
|
+
opentelemetry-sdk (1.13.1)
|
|
298
313
|
logger
|
|
299
314
|
opentelemetry-api (~> 1.1)
|
|
300
315
|
opentelemetry-common (~> 0.20)
|
|
@@ -302,7 +317,9 @@ GEM
|
|
|
302
317
|
opentelemetry-semantic_conventions
|
|
303
318
|
opentelemetry-semantic_conventions (1.44.0)
|
|
304
319
|
opentelemetry-api (~> 1.0)
|
|
305
|
-
pg (1.
|
|
320
|
+
pg (1.7.0)
|
|
321
|
+
pg (1.7.0-aarch64-linux)
|
|
322
|
+
pg (1.7.0-x86_64-linux)
|
|
306
323
|
pp (0.6.4)
|
|
307
324
|
prettyprint
|
|
308
325
|
prettyprint (0.2.0)
|
|
@@ -310,10 +327,10 @@ GEM
|
|
|
310
327
|
prometheus-client (5.0.0)
|
|
311
328
|
base64
|
|
312
329
|
protocol-hpack (1.5.1)
|
|
313
|
-
protocol-http (0.
|
|
330
|
+
protocol-http (0.72.0)
|
|
314
331
|
protocol-http1 (0.41.0)
|
|
315
332
|
protocol-http (~> 0.68)
|
|
316
|
-
protocol-http2 (0.
|
|
333
|
+
protocol-http2 (0.29.1)
|
|
317
334
|
protocol-hpack (~> 1.4)
|
|
318
335
|
protocol-http (~> 0.62)
|
|
319
336
|
protocol-rack (0.23.0)
|
|
@@ -322,7 +339,7 @@ GEM
|
|
|
322
339
|
protocol-http (~> 0.58)
|
|
323
340
|
rack (>= 1.0)
|
|
324
341
|
protocol-url (0.19.0)
|
|
325
|
-
rack (3.
|
|
342
|
+
rack (3.2.7)
|
|
326
343
|
rack-protection (4.2.1)
|
|
327
344
|
base64 (>= 0.1.0)
|
|
328
345
|
logger (>= 1.6.0)
|
|
@@ -332,21 +349,21 @@ GEM
|
|
|
332
349
|
rack (>= 3.0.0)
|
|
333
350
|
rack-test (2.2.0)
|
|
334
351
|
rack (>= 1.3)
|
|
335
|
-
rackup (2.
|
|
352
|
+
rackup (2.3.1)
|
|
336
353
|
rack (>= 3)
|
|
337
354
|
rake (13.4.2)
|
|
338
355
|
rbs (4.2.0)
|
|
339
356
|
logger
|
|
340
357
|
prism (>= 1.6.0)
|
|
341
358
|
tsort
|
|
342
|
-
rdoc (8.
|
|
359
|
+
rdoc (8.1.0)
|
|
343
360
|
erb
|
|
344
361
|
prism (>= 1.6.0)
|
|
345
362
|
rbs (>= 4.0.0)
|
|
346
363
|
tsort
|
|
347
364
|
reline (0.7.0)
|
|
348
365
|
io-console (~> 0.5)
|
|
349
|
-
resolv (0.
|
|
366
|
+
resolv (0.8.0)
|
|
350
367
|
rspec (3.13.2)
|
|
351
368
|
rspec-core (~> 3.13.0)
|
|
352
369
|
rspec-expectations (~> 3.13.0)
|
|
@@ -379,9 +396,9 @@ GEM
|
|
|
379
396
|
sassc (2.4.0)
|
|
380
397
|
ffi (~> 1.9)
|
|
381
398
|
securerandom (0.4.1)
|
|
382
|
-
sequel (5.
|
|
399
|
+
sequel (5.109.0)
|
|
383
400
|
bigdecimal
|
|
384
|
-
simplecov (1.2
|
|
401
|
+
simplecov (1.3.2)
|
|
385
402
|
sinatra (4.2.1)
|
|
386
403
|
logger (>= 1.6.0)
|
|
387
404
|
mustermann (~> 3.0)
|
|
@@ -392,8 +409,11 @@ GEM
|
|
|
392
409
|
slim (5.2.2)
|
|
393
410
|
temple (~> 0.10.0)
|
|
394
411
|
tilt (>= 2.1.0)
|
|
412
|
+
sqlite3 (2.9.6)
|
|
413
|
+
mini_portile2 (~> 2.8.0)
|
|
414
|
+
sqlite3 (2.9.6-aarch64-linux-gnu)
|
|
395
415
|
sqlite3 (2.9.6-x86_64-linux-gnu)
|
|
396
|
-
stack-service-base (0.0.
|
|
416
|
+
stack-service-base (0.0.109)
|
|
397
417
|
async
|
|
398
418
|
debug
|
|
399
419
|
dotenv
|
|
@@ -421,6 +441,8 @@ GEM
|
|
|
421
441
|
yard (0.9.45)
|
|
422
442
|
|
|
423
443
|
PLATFORMS
|
|
444
|
+
aarch64-linux
|
|
445
|
+
ruby
|
|
424
446
|
x86_64-linux
|
|
425
447
|
|
|
426
448
|
DEPENDENCIES
|
|
@@ -428,9 +450,9 @@ DEPENDENCIES
|
|
|
428
450
|
async-rspec
|
|
429
451
|
falcon
|
|
430
452
|
pg
|
|
431
|
-
rack (~> 3.
|
|
453
|
+
rack (~> 3.2.7)
|
|
432
454
|
rack-test
|
|
433
|
-
rackup (~> 2.
|
|
455
|
+
rackup (~> 2.3.1)
|
|
434
456
|
resolv (>= 0.7.2)
|
|
435
457
|
rspec
|
|
436
458
|
rspec-benchmark
|
|
@@ -447,4 +469,4 @@ DEPENDENCIES
|
|
|
447
469
|
yard
|
|
448
470
|
|
|
449
471
|
BUNDLED WITH
|
|
450
|
-
|
|
472
|
+
4.0.22
|
|
@@ -33,7 +33,7 @@ RSpec.configure do |config|
|
|
|
33
33
|
db_url = ENV['TEST_DB_URL']
|
|
34
34
|
if db_url.nil?
|
|
35
35
|
pg_container = Testcontainers::DockerContainer
|
|
36
|
-
.new("postgis/postgis:
|
|
36
|
+
.new("postgis/postgis:18-3.6")
|
|
37
37
|
.with_exposed_port(5432)
|
|
38
38
|
.with_env("POSTGRES_USER", "test")
|
|
39
39
|
.with_env("POSTGRES_PASSWORD", "test")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module StackServiceBase
|
|
2
2
|
module SocketTrace
|
|
3
3
|
def bind(local_sockaddr)
|
|
4
|
-
addr = Addrinfo.new(local_sockaddr)
|
|
4
|
+
addr = local_sockaddr.is_a?(Addrinfo) ? local_sockaddr : Addrinfo.new(local_sockaddr)
|
|
5
5
|
# LOGGER.debug "Socket Bind: http://#{addr.ip_address}:#{addr.ip_port}"
|
|
6
6
|
super
|
|
7
7
|
end
|
|
@@ -5,7 +5,7 @@ stages:
|
|
|
5
5
|
deploy:
|
|
6
6
|
stage: deploy
|
|
7
7
|
tags: [deploy]
|
|
8
|
-
image: docker:
|
|
8
|
+
image: docker:29.8.2
|
|
9
9
|
script:
|
|
10
10
|
- docker build -t deploy/${CI_PROJECT_NAME} -f stack/Dockerfile.deploy stack
|
|
11
11
|
- docker run --rm --env-file <(env | grep -E '^CI_') -v /var/run/docker.sock:/var/run/docker.sock -v /root/.docker:/root/.docker -v ssh-agent-socket:/run/ssh-agent:ro deploy/${CI_PROJECT_NAME}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
FROM ruby:
|
|
1
|
+
FROM ruby:4.0.7-slim-bookworm AS base
|
|
2
2
|
RUN apt update && apt install -y --no-install-recommends openssh-client ca-certificates
|
|
3
|
-
RUN gem install build-labels:0.0.
|
|
4
|
-
RUN install-docker-static #
|
|
3
|
+
RUN gem install build-labels:0.0.85 dry-stack:0.1.60
|
|
4
|
+
RUN install-docker-static # 29
|
|
5
5
|
|
|
6
6
|
WORKDIR /build
|
|
7
7
|
RUN mkdir -p /root/.ssh && mkdir -pv /root/.ssh/sockets
|