docs: Quarkus 3.15.1→3.27.3 LTS, Java 17→21, lionsctl -j 21, Dockerfile racine, pré-requis infra
Some checks failed
CI/CD Pipeline / pipeline (push) Failing after 4m9s
Some checks failed
CI/CD Pipeline / pipeline (push) Failing after 4m9s
This commit is contained in:
21
README.md
21
README.md
@@ -1,7 +1,7 @@
|
||||
# UnionFlow Backend - API REST Quarkus
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
@@ -64,7 +64,7 @@ Tous les repositories étendent `PanacheRepositoryBase<Entity, UUID>` 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/`
|
||||
|
||||
Reference in New Issue
Block a user