|
|
ccdc5fb9b6
|
feat(helm): add resource requests and limits to jobs, adjust resources for deployment
|
2023-07-05 16:56:05 +02:00 |
|
|
|
385fa9998b
|
ci: rename jobs to use spaces instead of colon
|
2023-07-04 21:20:55 +02:00 |
|
|
|
595fc73364
|
ci: add deploy dry run and deploy jobs to production
|
2023-07-04 21:20:46 +02:00 |
|
|
|
5e46503a3a
|
feat(helm): Deployment: specify upgrade strategy (RollingUpdate)
|
2023-07-04 21:07:58 +02:00 |
|
|
|
6428d1e346
|
fix(helm): remove Ingress cert-manager.io/issuer annotation (.../cluster-issuer is already set)
|
2023-07-04 21:05:12 +02:00 |
|
|
|
a509c09d75
|
fix(helm): add Deployment's missing .spec.template.metadata.labels
|
2023-07-04 20:48:08 +02:00 |
|
|
|
800f65a5e6
|
refactor(helm): do not specify Job .spec.selector (bast practice)
See: https://kubernetes.io/docs/concepts/workloads/controllers/job/#specifying-your-own-pod-selector
|
2023-07-04 20:44:25 +02:00 |
|
|
|
d09c18f654
|
feat(helm): add and unify labels
|
2023-07-04 20:40:54 +02:00 |
|
|
|
060e5a4f14
|
fix(helm): seed job esbuild output file path to /app/cache/seed.cjs
|
2023-07-04 19:31:28 +02:00 |
|
|
|
22ebadf393
|
refactor(helm): move seed job emptyDir mount to /app/cache (from /cache)
|
2023-07-04 19:28:34 +02:00 |
|
|
|
b73d9e5f48
|
refactor(helm): add emptyDir volume to seed job to write seed.cjs file to (/cache/seed.cjs)
|
2023-07-04 18:59:34 +02:00 |
|
|
|
9b2200afbd
|
fix(dockerfile): copy content/ to build image
- needed to seed the database
|
2023-07-04 18:49:52 +02:00 |
|
|
|
17b341ec7c
|
fix(dockerfile): copy src/content/training.ts to build image
- needed to seed the database
|
2023-07-04 18:48:34 +02:00 |
|
|
|
9b6bc1ba5d
|
chore: ignore seed.cjs
|
2023-07-04 18:48:12 +02:00 |
|
|
|
7ae10b4ecc
|
refactor: move lib/* to src/
|
2023-07-04 18:47:05 +02:00 |
|
|
|
2745bb32c7
|
refactor(package.json): replace tsx with esbuild for seeding database
|
2023-07-04 18:37:42 +02:00 |
|
|
|
f6558172b0
|
refactor(helm): run seed job with esbuild
See: https://github.com/prisma/prisma/issues/7053#issuecomment-851589268
|
2023-07-04 18:29:51 +02:00 |
|
|
|
29b5c1fcae
|
fix(helm): set NODE_ENV to 'production' for staging
|
2023-07-04 18:19:19 +02:00 |
|
|
|
94754910c2
|
fix(dockerfile): copy ./src/server/db.ts and ./src/env.mjs for 'npx prisma db seed'
|
2023-07-04 18:15:14 +02:00 |
|
|
|
6e74ef1810
|
fix(helm): typo
|
2023-07-04 13:17:26 +02:00 |
|
|
|
d914213c08
|
chore(build): copy tsconfig.json to build - required for db seeding
|
2023-07-04 13:14:02 +02:00 |
|
|
|
86d3320673
|
refactor(helm): job-db-seed run npx prisma db seed
|
2023-07-04 13:13:40 +02:00 |
|
|
|
ada27c7284
|
refactor(helm): job-db-seed: run as shell, install tsx, prisma, run directly npm tsx prisma/seed.ts
|
2023-07-04 13:07:17 +02:00 |
|
|
|
d45defffe5
|
revert: "refactor(deps): make tsx dependency (not devDependency anymore)"
This reverts commit 5ad56955da.
|
2023-07-04 13:03:09 +02:00 |
|
|
|
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 |
|