1
0
Fork 0
Commit graph

129 commits

Author SHA1 Message Date
5e1149d1ff
feat(deploy): add cors ingress headers 2024-06-30 16:36:32 +02:00
df41b45905
feat(training): add fields published and retired 2024-06-30 15:58:34 +02:00
79b7567627
chore(deploy): rename httpserver container name 2024-06-30 15:09:40 +02:00
b09cb2aa54
fix(deploy): server targetPort=.Values.service.port.name which is used at Deployment.spec.containers[app].ports[app].name 2024-06-30 15:08:05 +02:00
0904448966
refactor(deploy): mount database_url.txt as file and run migrate command in shell under /bin/ash -c 2024-06-27 21:37:19 +02:00
11cc2027b8
feat(deploy): add automountServiceAccountToke=false to migrations job 2024-06-27 21:13:44 +02:00
70ef8933a9
feat(deploy): add imagePullSecret to migrations job 2024-06-27 21:13:16 +02:00
31a2fa9c9d
chore(Makefile): add target to lint and template helm chart 2024-06-27 21:02:07 +02:00
68436545be
feat(deploy): add job to run migrations 2024-06-27 21:01:55 +02:00
72bcaf4b32
refactor(deploy): set cert-manager cluster-issuser for test values to letsencrypt-staging 2024-06-27 20:59:28 +02:00
d04359aa58
style(deploy): delete empty lines in yaml 2024-06-27 20:58:49 +02:00
e0505665ca
fix(deploy): check if replicas > 1 to create PDB 2024-06-27 20:57:32 +02:00
002f6ce4c4
chore(Makefile): fix build-docker-* paths to Dockerfiles 2024-06-27 20:36:48 +02:00
ef8b2fac2f
build: move httpserver main.go to ./cmd/httpserver 2024-06-27 20:35:32 +02:00
0c9cbc9d7a
test(server): repeating slug in test caused race conditions: segfault: nil ptr dereference 2024-06-27 19:20:40 +02:00
f2bab62e08
test(server): check for returned vars being not empty on list trainings 2024-06-27 09:15:39 +02:00
7c4c42f1b2
fix(server): return slug when listing all trainings 2024-06-27 09:15:06 +02:00
36230f02e5
fix(server): do not overlay idx var 2024-06-27 09:14:59 +02:00
aee7cbc526
feat(server): implement training by slug endpoint 2024-06-27 09:14:15 +02:00
e0594892d5
feat(training): add Repository.FindBySlug() method 2024-06-27 09:08:04 +02:00
fe38dd6683
feat(api): add get training by slug endpoint 2024-06-27 09:06:43 +02:00
6c2da08375
fix(Makefile): moved migrations to db/migrations/ dir 2024-06-26 22:39:41 +02:00
91adc7f414
feat!(migrations): init migration has unique constraint on column slug 2024-06-26 22:38:57 +02:00
278c1ffd32
fix(migrations): rename table training.attendees 2024-06-26 22:38:32 +02:00
7500fcb3f5
chore(Makefile): add targets to build docker images 2024-06-26 22:28:26 +02:00
d1a3420390
refactor(migrations): move migrations to db/migrations dir 2024-06-26 22:28:05 +02:00
2d32c80182
feat!: add slug to training
BREAKING CHANGE: update init migration
2024-06-26 22:24:36 +02:00
556b4f4e79
style(migrations): lowecase for column names 2024-06-26 20:44:03 +02:00
6a38994190
chore(build): copy openapi.yaml file to the built image 2024-06-25 07:57:16 +02:00
daedf8af04
refactor(deploy): use external (hand-made) image pull secret 2024-06-25 07:33:35 +02:00
b0437179d0
fix(deploy): add explicit helm hook-delete-policy 2024-06-25 07:21:39 +02:00
72ae193d3c
refactor(deploy): use dns clusterissuer for certificates 2024-06-24 19:47:00 +02:00
9be1b5db3c
fix(deploy): ingress annotation for cert-manager.io/cluster-issuer=letsencrypt-production 2024-06-24 19:35:39 +02:00
b99b07b647
fix(deploy): rename image pull secret 2024-06-24 19:29:45 +02:00
d803ba643f
ci: add deploy stage and deploy to k8s staging environment 2024-06-24 19:04:20 +02:00
3ebc8f2637
ci: replace image for helm:test job, using ghcr.io/vojtechmares/toolkit 2024-06-24 10:01:27 +02:00
bb1a9403bb
feat: add helm chart for deployment to k8s 2024-06-24 08:44:41 +02:00
917376899c
ci: fix location of Dockerfiles: build/package/, not build/packageS/ 2024-06-23 13:36:06 +02:00
92191814e4
ci: update location of Dockerfile and build image for migrations 2024-06-23 13:30:24 +02:00
4c7f1c2aec
build: move Dockerfile for httpserver to build/ dir 2024-06-23 13:30:06 +02:00
4814883454
build: create Dockerfile for migrations 2024-06-23 13:29:47 +02:00
c3795dba6a
refactor(training): use golang style of naming (do not repeat pacakge name in struct/func names) 2024-06-23 13:13:44 +02:00
e0f401f0a9
feat(Makefile): pretty test output with tparse 2024-06-23 13:13:21 +02:00
370531a9a5
refactor: use serial as id instead of uuid 2024-06-23 12:40:55 +02:00
18b033add1
chore(Makefile): add target to run tests 2024-06-23 10:57:02 +02:00
a9fd693da2
chore(deps): bump all deps 2024-06-23 10:38:51 +02:00
8aeef510a5
chore(.gitignore): move postgres_url to secrets/ 2024-06-23 10:37:03 +02:00
ff7e320481
feat: add postgres repository for training 2024-06-23 10:35:38 +02:00
8c277ef692
chore(server): bump generated api 2024-06-05 10:15:31 +02:00
69b60032f9
chore(deps): bump oapi-codegen/fiber-middleware 2024-06-05 10:14:38 +02:00