Commit graph

189 commits

Author SHA1 Message Date
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
Slim Amamou
8ed75b4b53 fix: 500 error in prod
│ {"message":"Uncaught PHP Exception TypeError: \"App\\Repository\\ConfigurationRepository::getServicesParameter(): Return value must be of type bool, null returned\" at ConfigurationRepository.php line 71","context":{"exception":{"class │
│ ":"TypeError","message":"App\\Repository\\ConfigurationRepository::getServicesParameter(): Return value must be of type bool, null returned","code":0,"file":"/srv/app/src/Repository/ConfigurationRepository.php:71"}},"level":500,"level_ │
│ name":"CRITICAL","channel":"request","datetime":"2024-10-28T10:38:49.791926+01:00","extra":{}}
2024-12-02 16:34:03 +01:00
ThomasSamson
2d0b592a49 Add security on fixture disabled 2024-12-02 16:34:03 +01:00
ThomasSamson
e88368d5a3 Disable fixture 2024-12-02 16:34:03 +01:00
ThomasSamson
a008b81e3f Add benc 2024-12-02 16:34:03 +01:00
ThomasSamson
f449c1b55c Fix deployment 2024-12-02 16:34:03 +01:00
ThomasSamson
97576aa014 Fix sms_dns 2024-12-02 16:34:03 +01:00
ThomasSamson
5636a3f64c trigger cd 2024-12-02 16:30:23 +01:00
ThomasSamson
65f98aba98 Add benc 2024-12-02 16:30:23 +01:00
ThomasSamson
323c16204c Fix deployment 2024-12-02 16:30:23 +01:00
ThomasSamson
817960cc91 Fix sms_dns 2024-12-02 16:30:23 +01:00
ThomasSamson
f0eb48afd9 Switch sym link 2024-12-02 16:30:23 +01:00
ThomasSamson
3f2487c7e1 Disable fixture 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
ac7fffb1f2 trigger cd 2024-12-02 16:30:23 +01:00
ThomasSamson
2a135f4a85 Edit destination ns 2024-12-02 16:30:23 +01:00
JacquesDurand
b70a6bc9b4
Merge pull request #8 from Apes-HDF/chore/sync-les-tilleuls
Chore/sync les tilleuls
2024-11-29 10:18:57 +01:00
JacquesDurand
070224e55d
chore: update symfony and twig to last patch for security fixes (#757) 2024-11-29 09:49:48 +01:00
JacquesDurand
8443a51619
fix: add doctrine migration (#756) 2024-11-29 09:49:26 +01:00
Slim Amamou
c575a603a3 (ci) updated symfony/runtime
Trivy was complaining about vulnerability

┌───────────────────────┬────────────────┬──────────┬────────┬───────────────────┬───────────────────────────────────────────────────────────┬─────────────────────────────────────────────────────────────┐
│        Library        │ Vulnerability  │ Severity │ Status │ Installed Version │                       Fixed Version                       │                            Title                            │
├───────────────────────┼────────────────┼──────────┼────────┼───────────────────┼───────────────────────────────────────────────────────────┼─────────────────────────────────────────────────────────────┤
│ symfony/runtime       │ CVE-2024-50340 │ HIGH     │ fixed  │ v6.4.12           │ 5.4.0, 6.1.0, 6.2.0, 6.3.0, 7.1.0, 7.1.7, 5.4.46, 6.4.0,  │ symfony/runtime is a module for the Symphony PHP framework  │
│                       │                │          │        │                   │ 6.4.14                                                    │ which enabl ......                                          │
│                       │                │          │        │                   │                                                           │ https://avd.aquasec.com/nvd/cve-2024-50340                  │
├───────────────────────┼────────────────┤          │        │                   ├───────────────────────────────────────────────────────────┼─────────────────────────────────────────────────────────────┤
│ symfony/security-http │ CVE-2024-51996 │          │        │                   │ 6.3.0, 6.4.15, 6.4.0, 7.1.0, 7.1.8, 5.4.0, 5.4.47, 6.1.0, │ Symphony process is a module for the Symphony PHP framework │
│                       │                │          │        │                   │ 6.2.0                                                     │ which exec...                                               │
│                       │                │          │        │                   │                                                           │ https://avd.aquasec.com/nvd/cve-2024-51996                  │
└───────────────────────┴────────────────┴──────────┴────────┴───────────────────┴───────────────────────────────────────────────────────────┴─────────────────────────────────────────────────────────────┘
2024-11-20 14:17:10 +01:00
Slim Amamou
6e3cf48f92
Merge branch 'Apes-HDF:main' into main 2024-11-20 14:04:58 +01:00
davy-beauzil
9e5f079412 fix: add migration + set nullable 2 properties (#754)
Les fixtures ne passent plus, j'ai une erreur `Duplicate table: 7 ERROR:  relation "migration_versions" already exists` mais je merge quand même pour pouvoir déployer la migration en prod
2024-11-20 14:02:07 +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
Slim Amamou
7e50abfdb6 fix: 500 error in prod
│ {"message":"Uncaught PHP Exception TypeError: \"App\\Repository\\ConfigurationRepository::getServicesParameter(): Return value must be of type bool, null returned\" at ConfigurationRepository.php line 71","context":{"exception":{"class │
│ ":"TypeError","message":"App\\Repository\\ConfigurationRepository::getServicesParameter(): Return value must be of type bool, null returned","code":0,"file":"/srv/app/src/Repository/ConfigurationRepository.php:71"}},"level":500,"level_ │
│ name":"CRITICAL","channel":"request","datetime":"2024-10-28T10:38:49.791926+01:00","extra":{}}
2024-10-28 11:36:14 +01:00
ThomasSamson
35f22d9598 Add security on fixture disabled 2024-10-28 10:23:35 +01:00
ThomasSamson
23a100573d Disable fixture 2024-10-28 10:21:19 +01:00
ThomasSamson
c807e2bc79 Switch image tag on short sha 2024-10-28 10:04:17 +01:00
Slim Amamou
b1868fc1f8
Merge pull request #2 from Tipimi-fr/chore/sync-source-rebased
Chore/sync source rebased
2024-10-28 09:32:09 +01:00
Slim Amamou
3451099a70 Merge branch 'main' into chore/sync-source-rebased 2024-10-25 18:03:06 +01:00
ThomasSamson
21fb6ba656 Add benc 2024-10-25 17:57:30 +01:00
ThomasSamson
132b786159 Fix deployment 2024-10-25 17:57:28 +01:00
ThomasSamson
5d6b62caf2 Fix sms_dns 2024-10-25 17:55:41 +01:00
ThomasSamson
bdf5f80554 Switch sym link 2024-10-25 17:55:41 +01:00
ThomasSamson
d70ce193f6 Disable fixture 2024-10-25 17:54:42 +01:00
ThomasSamson
e6fff0a638 Make image name shorter 2024-10-25 17:52:07 +01:00
ThomasSamson
3a61d684a1 Fix trusted host 2024-10-25 17:52:07 +01:00
ThomasSamson
a6bdb76dc7 Fix build destination 2024-10-25 17:52:07 +01:00
ThomasSamson
10a965b147 trigger cd 2024-10-25 17:52:07 +01:00
ThomasSamson
558746682f Edit destination ns 2024-10-25 17:52:07 +01:00
ThomasSamson
f55cfaf7e7 Add end 2024-10-11 12:59:47 +02:00
ThomasSamson
9c39d8b513 Fix EOF 2024-10-11 11:38:55 +02: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