Skip to content

Commit 83a9b92

Browse files
authored
Merge branch 'main' into brown-bag-fun
2 parents d9ce71d + 01d557a commit 83a9b92

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

k8s-manifests/storedog-app/deployments/frontend.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
image: ${REGISTRY_URL}/frontend:${SD_TAG}
4343
ports:
4444
- containerPort: 3000
45-
command: ["npm", "run", "dev"]
45+
command: ["npm", "run", "prod"]
4646
env:
4747
- name: NEXT_PUBLIC_ADS_ROUTE
4848
valueFrom:
@@ -126,12 +126,13 @@ spec:
126126
httpGet:
127127
path: /
128128
port: 3000
129-
initialDelaySeconds: 180
130-
periodSeconds: 20
129+
initialDelaySeconds: 40
130+
periodSeconds: 30
131131
failureThreshold: 5
132132
readinessProbe:
133133
httpGet:
134134
path: /
135135
port: 3000
136-
initialDelaySeconds: 120
136+
initialDelaySeconds: 30
137137
periodSeconds: 20
138+
timeoutSeconds: 5

k8s-manifests/storedog-app/deployments/worker.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ spec:
8585
memory: "512Mi"
8686
cpu: "250m"
8787
limits:
88-
memory: "1Gi"
89-
cpu: "500m"
88+
memory: "2Gi"
89+
cpu: "1000m"
9090
volumeMounts:
9191
- name: apmsocketpath
9292
mountPath: /var/run/datadog

services/backend/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ ENV PATH="${BUNDLE_BIN}:${PATH}"
4848

4949
COPY . .
5050

51+
# Upgrade RubyGems and Bundler
52+
# When upgrading RubyGems
53+
# * upgrade Bundler to match the new RubyGems version
54+
# * update "BUNDLED WITH" in Gemfile.lock to match the bundler version
55+
RUN gem update --system 3.5.23
56+
RUN gem install bundler -v 2.5.23
57+
5158
RUN bundle install || exit 1
5259
RUN npm install
5360
RUN npm run build

services/backend/Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ gem 'activerecord-nulldb-adapter'
8787
# improved JSON rendering performance
8888
gem 'oj'
8989

90-
# Fix SCSS errors with Ruby 3 on MacOS
91-
gem 'sassc', github: 'sass/sassc-ruby', group: :development
90+
gem 'sassc-rails', '~> 2.1.2'
91+
gem 'sass', '~> 3.7.4' # Dart Sass implementation
9292

9393
# Required for Ruby 3.1.7
9494
gem 'net-smtp'

services/backend/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,4 +740,4 @@ RUBY VERSION
740740
ruby 3.1.7
741741

742742
BUNDLED WITH
743-
2.3.27
743+
2.5.23

services/backend/config/sidekiq.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
:concurrency: 5
2+
:concurrency: 2
33
:max_memory: 512 # MB
44
:gc_interval: 10 # GC every 10 jobs
55
:queues:

0 commit comments

Comments
 (0)