Commit graph

208 commits

Author SHA1 Message Date
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
78a42dfbf2
Merge pull request #18 from Apes-HDF/fix/ci-build-fails
Fix CICD failing
2025-08-26 15:17:15 +01:00
Slim Amamou
64b20c7e36 Fix test was failing and CI too 2025-08-26 15:06:04 +01:00
Slim Amamou
d9d593c6e1 Fix mercure requiring go >= 1.25.0 2025-08-26 12:15:16 +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
b7295eb064 Fixed vulnerabilites (trivy was blocking CI) 2025-08-26 08:59:43 +01:00
Slim Amamou
abad386dc6 Fix build failing at apt update
Error: buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c apt-get update && apt-get install tar" did not complete successfully: exit code: 100
2025-08-25 16:24:25 +01:00
Paul Andrieux
465ead50e2
Merge branch 'main' into main 2025-08-25 16:34:55 +02:00
Paul Andrieux
f7b34484e6
Merge pull request #17 from Apes-HDF/chore/sync-les-tilleuls
repo sync: profile fields fixes
2025-08-25 16:32:45 +02:00
Slim Amamou
0c9a34291e Fix image was not building
because caddy version for mercure server was outdated and asking for an
older version of go language
2025-08-25 15:45:11 +02:00
Slim Amamou
774c261d1d Added manual CICD workflow 2025-08-25 15:42:41 +02:00
Paul Andrieux
821018d4ce fix:add category and description fields for place user (#768) 2025-08-25 15:38:12 +02:00
Paul Andrieux
f948537e31 assert description max length (#767) 2025-08-25 15:38:04 +02:00
Slim Amamou
a2aa826202 Ignoring CVE-2025-30204 because it was blocking deployment
there's no image build of patched Caddy for the moment
2025-04-04 15:35:21 +01:00
Slim Amamou
b6fb408995 Ignoring CVE-2025-30204 because it was blocking deployment
there's no image build of patched Caddy for the moment
2025-04-02 10:04:58 +01:00
Slim Amamou
f49933bcd4 repo sync: ported all fixes from Tipimi 2025-01-22 13:01:44 +01:00
Slim Amamou
b511086a01
Merge pull request #6 from Apes-HDF/main
Documentation
2025-01-21 10:17:37 +01:00
Slim Amamou
ef37239c07
Merge pull request #10 from Apes-HDF/documentation-patches
Update SMS details in documentation
2025-01-20 15:02:06 +01:00
Slim Amamou
2e2ffde55f
Merge pull request #11 from Apes-HDF/upadate-hompage
Update homepage.yaml
2025-01-20 15:01:33 +01:00
Camille Gaquiere
6cc50f5c3c
Update homepage.yaml
Add movilab and webinar links in the homepage content
2025-01-20 14:49:13 +01:00
Camille Gaquiere
2339a77942
Update SMS details in documentation
Adding precision in Brevo's settings for sending SMS : authorisation of IP Address might be needed in Brevo.
2025-01-20 14:41:58 +01:00
Slim Amamou
682c6bf375 Fixed: was not logging successful sms properly 2025-01-16 17:03:22 +01:00
Slim Amamou
7035adf5f3 Fixed phpcsfixer style complaint 2025-01-16 16:26:48 +01:00
Slim Amamou
377467a50f
Merge pull request #5 from Tipimi-fr/fix/brevo
Tying to fix brevo sms
2025-01-16 16:19:54 +01:00
Slim Amamou
a38d47809a Added logging for SMS 2025-01-16 16:15:54 +01:00
Slim Amamou
9cc381a709 Activated brevo specific env variable 2025-01-16 09:17:44 +01:00
Slim Amamou
de254d3d69 WIP added sms as a channel for notifier 2025-01-15 10:28:14 +01:00
Slim Amamou
90c16cad26 Removed deprecation messages from log in prod 2025-01-15 09:43:58 +01:00
Slim Amamou
7945b1b765 Fixed(cicd) needed to update Caddy to 2.9.1 2025-01-14 09:41:57 +01:00
Slim Amamou
c8289266d1 Fixed(cicd) needed to update Caddy to 2.9.1 2025-01-14 09:18:03 +01:00
Slim Amamou
11dff10306 Added(cicd) trigger deploy manually 2025-01-13 17:55:53 +01:00
Slim Amamou
0ec21f2365 fix(ci): trivy detected a vulnerability
┌───────────────────┬─────────────────────┬──────────┬────────┬───────────────────┬───────────────┬─────────────────────────────────────────────────────────────┐
│      Library      │    Vulnerability    │ Severity │ Status │ Installed Version │ Fixed Version │                            Title                            │
├───────────────────┼─────────────────────┼──────────┼────────┼───────────────────┼───────────────┼─────────────────────────────────────────────────────────────┤
│ league/commonmark │ GHSA-c2pc-g5qf-rfrf │ HIGH     │ fixed  │ 2.5.3             │ 2.6.0         │ league/commonmark's quadratic complexity bugs may lead to a │
│                   │                     │          │        │                   │               │ denial of service                                           │
│                   │                     │          │        │                   │               │ https://github.com/advisories/GHSA-c2pc-g5qf-rfrf           │
└───────────────────┴─────────────────────┴──────────┴────────┴───────────────────┴───────────────┴─────────────────────────────────────────────────────────────┘
2024-12-10 11:30:14 +01:00
Slim Amamou
3f8556e8c9
Merge pull request #4 from Tipimi-fr/chore/sync-source-migrations
Chore/sync source migrations
2024-12-10 11:03:43 +01:00
Slim Amamou
55aac4f39d
Merge branch 'main' into chore/sync-source-migrations 2024-12-05 16:37:20 +01:00
Slim Amamou
aaa32d1081 Fixed(ci): phpstan complaint
Error: Offset 'globalServicesEnabl…' on array{globalServicesEnabled: bool} on left side of ?? always exists and is not nullable.
2024-12-05 16:31:33 +01:00
ThomasSamson
85876f17c9 Add security on fixture disabled 2024-12-05 16:29:38 +01:00
ThomasSamson
85ab08db52 Add benc 2024-12-05 16:28:30 +01:00
ThomasSamson
23968d5b7b Fix sms_dns 2024-12-05 16:28:30 +01:00
ThomasSamson
2d481475ae trigger cd 2024-12-05 16:28:30 +01:00
ThomasSamson
4076f910d8 Add benc 2024-12-05 16:28:30 +01:00
ThomasSamson
8e33a85559 Fix sms_dns 2024-12-05 16:28:30 +01:00
ThomasSamson
4ff04415ec trigger cd 2024-12-05 16:27:20 +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
Slim Amamou
8e9f71d6a1 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-05 16:27:20 +01:00
ThomasSamson
a3ad5c8649 Add security on fixture disabled 2024-12-05 16:27:20 +01:00