Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into ULMS-1896/ban
Browse files Browse the repository at this point in the history
  • Loading branch information
0nkery committed Jul 18, 2023
2 parents 4955f6b + 51359cf commit b76fa29
Show file tree
Hide file tree
Showing 45 changed files with 1,444 additions and 1,344 deletions.
824 changes: 351 additions & 473 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Timofey Martynov <[email protected]>"]
edition = "2021"
name = "event"
version = "0.2.75"
version = "0.2.80"

[dependencies]
anyhow = "1"
Expand Down
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.10
version: 0.2.12
3 changes: 0 additions & 3 deletions chart/templates/sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ spec:
imagePullSecrets:
- name: regcred
initContainers:
- image: "{{ .Values.networkTester.image.repository }}:{{ .Values.networkTester.image.tag }}"
imagePullPolicy: IfNotPresent
name: network-tester
- name: init-{{ .Chart.Name }}-migration
image: "{{ .Values.migrations.image.repository }}:{{ .Values.migrations.image.tag | default .Values.app.image.tag }}"
imagePullPolicy: IfNotPresent
Expand Down
13 changes: 4 additions & 9 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@ replicaCount: 2

minReadySeconds: 5
preStopSleepSeconds: 5
networkTester:
image:
repository: cr.yandex/crp1of6bddata8ain3q5/k8s-network-tester
tag: latest

app:
image:
repository: cr.yandex/crp1of6bddata8ain3q5/event

resources:
requests:
cpu: 0.1
cpu: 0.02
memory: 100Mi
limits:
memory: 200Mi
Expand All @@ -27,12 +23,11 @@ migrations:
repository: cr.yandex/crp1of6bddata8ain3q5/event-migration

resources:
limits:
cpu: 0.1
memory: 100Mi
requests:
cpu: 0.1
cpu: 0.02
memory: 100Mi
limits:
memory: 200Mi

env:
RUST_LOG: warn,event=info,svc_utils=info,svc_utils::metrics=warn
Expand Down
2 changes: 2 additions & 0 deletions migrations/20230704101035_add_kind_to_room.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
create type class_type as enum('webinar', 'p2p', 'minigroup');
alter table room add kind class_type;
4 changes: 4 additions & 0 deletions migrations/20230705112629_set_room_kind_as_not_null.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- Run before migration in all environments
-- update room set kind = '${KIND}' where kind is null;
alter table room
alter column kind set not null;
Loading

0 comments on commit b76fa29

Please sign in to comment.