Commit graph

205 commits

Author SHA1 Message Date
ThomasSamson
b205a0f211 Fix sms_dns 2024-12-05 16:27:20 +01:00
ThomasSamson
6502f90752 trigger cd 2024-12-05 16:21:44 +01:00
ThomasSamson
5557a35a9b Add benc 2024-12-05 16:21:44 +01:00
ThomasSamson
771a64d82c Fix deployment 2024-12-05 16:21:41 +01:00
ThomasSamson
1537c04259 Fix sms_dns 2024-12-05 16:20:28 +01:00
ThomasSamson
1ff74cbd37 Switch sym link 2024-12-05 16:20:28 +01:00
ThomasSamson
2009cce7c2 Disable fixture 2024-12-05 16:20:28 +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
d8c93a44dc trigger cd 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
Slim Amamou
465f51b18e Fixed(ci): phpstan complaint
Error: Offset 'globalServicesEnabl…' on array{globalServicesEnabled: bool} on left side of ?? always exists and is not nullable.
2024-12-02 17:27:04 +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
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