Commit graph

40 commits

Author SHA1 Message Date
Thomas SAMSON
c2b3d30640
Staging (#63)
* Add/preprod (#61)

* Enable preprod and cd on pr

* Replace bitnami psql with CNPG

* Update env name

* Fix build

* fix CVE-2026-27135

* Fix main condition

* add cleanup

* purge old vars

* Set vars for build

* Add PG_PWD for CNPG

* Fix CVE for caddy

* Fix caddy build

* Fix environment name

* Fix namespace

* fix domain

* Add nonprod domain

* Fix sharded buffer

* Fix secret

* Revert secret

* grant creat db for fixture

---------

Co-authored-by: ThomasSamson <thomas@samson-pro.fr>

* Update storage bucket variables for production and nonprod

* fix nonprod trusted host

---------

Co-authored-by: ThomasSamson <thomas@samson-pro.fr>
2026-05-05 13:32:03 +02:00
ThomasSamson
4b8e0f2a34 Add vars on fixture value 2025-10-07 14:35:07 +02:00
Slim Amamou
32eaf3f0c2 Fix CICD error about wrong namespace "prod-" 2025-08-27 14:24:37 +01:00
Slim Amamou
a94316675c Revert "Fix CICD does not work when merging from another repo (pull requests)"
This reverts commit e841242584.
2025-08-27 13:51:44 +01:00
Slim Amamou
e841242584 Fix CICD does not work when merging from another repo (pull requests) 2025-08-27 10:47:06 +01:00
Slim Amamou
124fe772b5 Fix wrong image registry was mistakenly configured during merge
Now CICD depends on env vars IMAGE_REPO, IMAGE_NAME_PHP, IMAGE_NAME_CADDY and PROJECT_NAME
2025-08-26 11:48:30 +01:00
Slim Amamou
55aac4f39d
Merge branch 'main' into chore/sync-source-migrations 2024-12-05 16:37:20 +01:00
ThomasSamson
85876f17c9 Add security on fixture disabled 2024-12-05 16:29:38 +01:00
ThomasSamson
2cda347665 Fix syntax helm 2024-12-05 16:27:20 +01:00
Slim Amamou
702c4d1830 fix(cd): error when deploying
cannot patch "prod-redis-master" with kind StatefulSet: StatefulSet.apps "prod-redis-master" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
2024-12-05 16:27:20 +01:00
Slim Amamou
1b1c809b80 fix(ci): was not deploying
Error: UPGRADE FAILED: template: plateforme-ebs/templates/fixtures-job.yaml:1:14: executing "plateforme-ebs/templates/fixtures-job.yaml" at <.Values.php.fixtureJob.enabled>: can't evaluate field enabled in type interface {}
2024-12-05 16:27:20 +01:00
ThomasSamson
a3ad5c8649 Add security on fixture disabled 2024-12-05 16:27:20 +01:00
ThomasSamson
391b2860ac Fix deployment 2024-12-05 16:27:20 +01:00
ThomasSamson
771a64d82c Fix deployment 2024-12-05 16:21:41 +01:00
ThomasSamson
776cf64b78 Fix trusted host 2024-12-05 16:20:28 +01:00
ThomasSamson
3f2a73c3ff Edit destination ns 2024-12-05 16:20:28 +01:00
Slim Amamou
f26b849560 fixed(cd): error in prod due to SMS_DSN not set
it was mistakenly unset from it's default value by the github CD. Now
it must be put in Github secrets
2024-12-05 14:13:06 +01:00
ThomasSamson
54b3f14a33 Fix syntax helm 2024-10-28 14:48:41 +01:00
ThomasSamson
fe414dc862 Switch image tag on short sha 2024-10-28 14:48:00 +01:00
Slim Amamou
866abe755b fix(cd): error when deploying
cannot patch "prod-redis-master" with kind StatefulSet: StatefulSet.apps "prod-redis-master" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
2024-10-28 14:28:11 +01:00
Slim Amamou
aa2565697e fix(ci): was not deploying
Error: UPGRADE FAILED: template: plateforme-ebs/templates/fixtures-job.yaml:1:14: executing "plateforme-ebs/templates/fixtures-job.yaml" at <.Values.php.fixtureJob.enabled>: can't evaluate field enabled in type interface {}
2024-10-28 11:47:59 +01:00
ThomasSamson
35f22d9598 Add security on fixture disabled 2024-10-28 10:23:35 +01:00
ThomasSamson
c807e2bc79 Switch image tag on short sha 2024-10-28 10:04:17 +01:00
Slim Amamou
3451099a70 Merge branch 'main' into chore/sync-source-rebased 2024-10-25 18:03:06 +01:00
ThomasSamson
132b786159 Fix deployment 2024-10-25 17:57:28 +01:00
ThomasSamson
3a61d684a1 Fix trusted host 2024-10-25 17:52:07 +01:00
ThomasSamson
558746682f Edit destination ns 2024-10-25 17:52:07 +01:00
ThomasSamson
9c09e9949c Remove SMS for demo 2024-10-11 11:24:12 +02:00
ThomasSamson
4215054302 Remove useless secret import 2024-10-11 11:18:03 +02:00
ThomasSamson
3fd9f79dce Fix deployment 2024-10-11 11:15:47 +02:00
Thomas SAMSON
9344e32cd9
Re activate fixture job (#717)
* Re activate fixture job

* restore dailycron values

* enable fixture

* debug fixture cron

* Enable postgres container on PR
2024-10-08 09:47:01 +02:00
ThomasSamson
619370e9bc Fix deployment 2024-08-07 09:38:01 +02:00
ThomasSamson
1d23948d74 Fix trusted host 2024-07-31 13:39:37 +02:00
ThomasSamson
15ae872bf0 Edit destination ns 2024-07-31 13:12:30 +02:00
ThomasSamson
a32754994a Fix project name 2024-03-29 11:36:08 +01:00
ThomasSamson
0a3329b9b6 Fix mailer dsn 2024-03-07 12:00:19 +01:00
ThomasSamson
411e5c1e54 fix meta 2024-02-27 15:21:25 +01:00
ThomasSamson
499b4e805f Fix meta 2024-02-27 15:11:41 +01:00
ThomasSamson
0023b95830 remove useless secret 2024-02-27 14:25:40 +01:00
ThomasSamson
c38abf69ea Init CICD 2024-02-27 14:13:32 +01:00