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
587b0f7ca1
Disable CD on pr
2026-05-04 11:06:00 +02:00
ThomasSamson
4b8e0f2a34
Add vars on fixture value
2025-10-07 14:35:07 +02:00
Slim Amamou
1c24088916
Fix disabled CICD for all non pull requests
2025-08-27 16:36:26 +01:00
Slim Amamou
84ba8d0487
Fix disabled CI CD for all non pull requests
2025-08-27 16:32:37 +01:00
Slim Amamou
3df95c8d59
Disabled CI and CD for pull request between repos
2025-08-27 16:29:21 +01:00
Slim Amamou
32eaf3f0c2
Fix CICD error about wrong namespace "prod-"
2025-08-27 14:24:37 +01:00
Slim Amamou
157b94c04d
Fix CICD error saying inputs.IMAGE_REPOSITORY and .IMAGE_NAME are missing
2025-08-27 13:58:13 +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
Paul Andrieux
465ead50e2
Merge branch 'main' into main
2025-08-25 16:34:55 +02:00
Slim Amamou
774c261d1d
Added manual CICD workflow
2025-08-25 15:42:41 +02:00
Slim Amamou
f49933bcd4
repo sync: ported all fixes from Tipimi
2025-01-22 13:01:44 +01:00
Slim Amamou
11dff10306
Added(cicd) trigger deploy manually
2025-01-13 17:55:53 +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
25c90ec212
Make image name shorter
2024-12-05 16:20:28 +01:00
ThomasSamson
776cf64b78
Fix trusted host
2024-12-05 16:20:28 +01:00
ThomasSamson
3ad45ea139
Fix build destination
2024-12-05 16:20:28 +01:00
ThomasSamson
3f2a73c3ff
Edit destination ns
2024-12-05 16:20:28 +01:00
Slim Amamou
42e0dfa523
fixed(cd): was complaining about required secret
2024-12-05 14:18:23 +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
Slim Amamou
6f72b3f3c8
Merge pull request #3 from Tipimi-fr/chore/sync-source-migrations
...
Chore/sync source migrations
2024-12-03 09:49:35 +01:00
ThomasSamson
320073192c
Fix syntax helm
2024-12-02 16:34:03 +01:00
Slim Amamou
9d528f5aee
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-02 16:34:03 +01:00
Slim Amamou
5c6b93459b
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-02 16:34:03 +01:00
ThomasSamson
2d0b592a49
Add security on fixture disabled
2024-12-02 16:34:03 +01:00
ThomasSamson
f449c1b55c
Fix deployment
2024-12-02 16:34:03 +01:00
ThomasSamson
323c16204c
Fix deployment
2024-12-02 16:30:23 +01:00
ThomasSamson
43c62e67e0
Make image name shorter
2024-12-02 16:30:23 +01:00
ThomasSamson
b72dc122a0
Fix trusted host
2024-12-02 16:30:23 +01:00
ThomasSamson
52d122ad22
Fix build destination
2024-12-02 16:30:23 +01:00
ThomasSamson
2a135f4a85
Edit destination ns
2024-12-02 16:30:23 +01:00
JacquesDurand
8443a51619
fix: add doctrine migration ( #756 )
2024-11-29 09:49:26 +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
e6fff0a638
Make image name shorter
2024-10-25 17:52:07 +01:00