From b434282000e151042143acb6860ad6d82aa6e317 Mon Sep 17 00:00:00 2001 From: lionsdev Date: Fri, 24 Apr 2026 18:05:43 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20Quarkus=203.15.1=E2=86=923.27.3=20LTS,?= =?UTF-8?q?=20Java=2017=E2=86=9221,=20lionsctl=20-j=2021,=20Dockerfile=20r?= =?UTF-8?q?acine,=20pr=C3=A9-requis=20infra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2942be1..d27b73e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # UnionFlow Backend - API REST Quarkus ![Java](https://img.shields.io/badge/Java-17-blue) -![Quarkus](https://img.shields.io/badge/Quarkus-3.15.1-red) +![Quarkus](https://img.shields.io/badge/Quarkus-3.27.3_LTS-red) ![PostgreSQL](https://img.shields.io/badge/PostgreSQL-15-blue) ![Kafka](https://img.shields.io/badge/Kafka-Enabled-orange) ![License](https://img.shields.io/badge/License-Proprietary-red) @@ -64,7 +64,7 @@ Tous les repositories étendent `PanacheRepositoryBase` pour : | Composant | Version | Usage | |-----------|---------|-------| | **Java** | 17 (LTS) | Langage | -| **Quarkus** | 3.15.1 | Framework application | +| **Quarkus** | 3.27.3 LTS | Framework application | | **Hibernate ORM (Panache)** | 6.4+ | Persistence | | **PostgreSQL** | 15 | Base de données | | **Flyway** | 9.22+ | Migrations DB | @@ -482,7 +482,7 @@ src/test/java/ lionsctl pipeline \ -u https://git.lions.dev/lionsdev/unionflow-server-impl-quarkus \ -b main \ - -j 17 \ + -j 21 \ -e production \ -c k1 \ -p prod @@ -490,12 +490,19 @@ lionsctl pipeline \ # Étapes : # 1. Clone repo Git # 2. mvn clean package -Pprod -# 3. docker build + push registry.lions.dev -# 4. kubectl apply -f k8s/ -# 5. Health check -# 6. Email notification +# 3. docker build -f Dockerfile (racine, fast-jar, ubi8/openjdk-21:1.21, UID 1001) +# 4. push registry.lions.dev +# 5. kubectl apply (Deployment + Service + Ingress) +# 6. Health check +# 7. Email notification ``` +**Pré-requis infrastructure** avant pipeline (migration Helm → lionsctl pipeline) : +- Secret K8s `unionflow-server-impl-quarkus-db-secret` (clés `QUARKUS_DATASOURCE_USERNAME` + `QUARKUS_DATASOURCE_PASSWORD`) +- DB PostgreSQL `unionflow` (override `QUARKUS_DATASOURCE_JDBC_URL` sur le deployment car lionsctl nomme la DB comme l'app) +- Deployment Helm existant supprimé au préalable (selector immutable) +- Service selector à repatcher après pipeline (retirer les labels `app.kubernetes.io/*`) + ### Fichiers Kubernetes **Localisation** : `src/main/kubernetes/`