1
0
Fork 0
Commit graph

58 commits

Author SHA1 Message Date
8a3d6b0947
revert: "refactor(deps): move prisma to dependencies (from devDependencies)"
This reverts commit 520f2911d7.
2023-07-04 12:58:29 +02:00
520f2911d7
refactor(deps): move prisma to dependencies (from devDependencies)
- required to run `npx prisma db seed`
2023-07-04 12:29:23 +02:00
5ad56955da
refactor(deps): make tsx dependency (not devDependency anymore)
- tsx is required to run `npx prisma db seed`, this should fix that
2023-07-04 12:20:19 +02:00
7f8bed3483
refactor(helm): set backoffLimit for jobs to 0 2023-07-04 12:11:15 +02:00
d5c7b2cf84
fix(build): copy prisma to prisma/ and keep it in final build
- `prisma/` is required for running migrations and seeding the database
2023-07-03 23:34:04 +02:00
f125d525b9
chore(.dockerignore): add charts/ 2023-07-03 21:38:41 +02:00
e36bdc79cd
fix(helm): set image registry to 'registry.mareshq.com/mareshq/backoffice' 2023-07-03 21:34:20 +02:00
4187512f88
feat(helm): add image pull secret for private registries 2023-07-03 21:30:33 +02:00
38c28dc73f
chore(helm): rename jobs 2023-07-03 21:12:16 +02:00
b00c479496
ci: create extra stage for deploy dry run 2023-07-03 21:00:11 +02:00
1ed5eb3e26
ci: switch from github actions to gitlab ci 2023-07-03 20:58:23 +02:00
ddddf0105a
ci: write kube config to file 2023-07-03 20:03:17 +02:00
e334c06e62
ci: cleanup commented out step for creating imagePullSecret 2023-07-03 19:49:22 +02:00
98e8250eaa
ci: set directly KUBECONFIG environment secret in GitHub Actions 2023-07-03 19:48:47 +02:00
04b47685c5
ci: quote helm --set arguemnt values
Example: helm upgrade --set image.tag="value" release ./path/to/chart
2023-07-03 19:36:04 +02:00
60cf6fdbba
fix(helm): specify secrets' .type (set to opaque) 2023-07-03 19:30:15 +02:00
24a205dc19
chore(helm): add .image.tag to values.dummy.yaml 2023-07-03 19:07:59 +02:00
9d27ab7962
fix(helm): remove lables (set automatically by helm), move annotations from .metadata.labels to .metadata 2023-07-03 19:07:03 +02:00
764824b92b
fix(helm): configmap kind
- kind: kind: ConfigMap won't work...
2023-07-03 18:50:23 +02:00
72ffd68df5
feat(helm): quote values 2023-07-03 18:49:59 +02:00
0fa03a9c18
chore(helm): add values.dummy.yaml (for testing) 2023-07-03 18:49:18 +02:00
6b8302bf4c
fix(helm): .service.portName (not .port.name) 2023-07-03 18:31:22 +02:00
75f9b1cf2d
fix: yaml path to secrets and env
- backoffice.secrets.*
- backoffice.env
2023-07-03 18:16:23 +02:00
f9f22cd7f4
ci: new workflow to build and deploy the app 2023-07-03 17:59:38 +02:00
d454ec8fc9
feat: add helm chart 2023-07-03 17:59:20 +02:00
7d3852150b
chore(build): cleanup Dockerfile 2023-07-03 17:58:50 +02:00
5bc76c66a2
chore(package.json): specify engine (node >=18, <19) 2023-07-03 17:58:04 +02:00
fe29087dd0
ci: add workflow to build the docker image 2023-06-27 14:02:56 +02:00
509316b60b
chore(build): build docker image 2023-06-27 14:02:24 +02:00
44a95cbf1c
fix: eslint errors 2023-06-27 14:01:32 +02:00
1cfdda4e19
chore(deps): add clsx 2023-06-27 14:00:50 +02:00
5a300f9f88
refactor(pages): require authentication to visit pages 2023-06-26 23:10:17 +02:00
019267584a
refactor(Sidebar.tsx): use proper signout link 2023-06-26 23:09:56 +02:00
ebeabbcdbf
refactor(auth): use google provider 2023-06-26 23:09:18 +02:00
b91d83a5d7
feat(pages): add 'training/[slug]' page with detail 2023-06-26 22:27:49 +02:00
be651d1b9f
refactor: remove training property description, add svgIconURL, drop old migration and create new
- since app was not deployed yet, i deleted the migration to keep them clean
2023-06-26 22:26:13 +02:00
f731dd6bcb
refactor(Sidebar.tsx): rename back to 'backoffice' 2023-06-26 20:39:50 +02:00
1f47d29843
refactor(trainings.tsx): link to training page to a singular form 2023-06-26 20:38:19 +02:00
623b018a1b
feat: add /trainings page
- list of trainings
- add button (taken from github: vojtechmares/website)
- add currency formatter
2023-06-25 17:06:17 +02:00
40b68902f7
docs: add project's README and move default README 2023-06-25 16:08:45 +02:00
2b506afb93
feat: add api routes for trainings 2023-06-25 16:02:06 +02:00
9e0e85fbfc
chore: add Makefile 2023-06-25 16:01:10 +02:00
51cd84e7ee
feat(prisma): seed static data from content/ 2023-06-25 16:00:34 +02:00
ce8bb3e8f8
feat: add static content utils, with gray-matter metadata 2023-06-25 15:59:34 +02:00
410ce498c8
refactor: switch from pnpm to npm
- See: https://github.com/pnpm/pnpm/issues/6464
2023-06-25 15:57:02 +02:00
55b334793b
chore: add dummy content 2023-06-25 15:55:57 +02:00
a8b7a0c118
feat(prisma): add Traning model 2023-06-25 15:54:17 +02:00
d765851f29
feat(Sidebar.tsx): real links 2023-06-25 15:52:51 +02:00
abc85211f4
refactor(Sidebar.tsx): use current path to determine current page 2023-06-25 15:52:17 +02:00
5cb95a96fa
refactor(homepage): change title 2023-06-25 11:43:10 +02:00