docs: Quarkus 3.17.8→3.27.3 LTS, Java 17→21, lionsctl -j 21, Dockerfile racine, pré-requis infra (db-secret, JDBC override, delete deploy Helm)
Some checks failed
CI/CD Pipeline / pipeline (push) Failing after 2m13s
Some checks failed
CI/CD Pipeline / pipeline (push) Failing after 2m13s
This commit is contained in:
17
README.md
17
README.md
@@ -43,7 +43,7 @@ Documentation complète : `https://api.lions.dev/lions-user-manager/q/swagger-ui
|
|||||||
|
|
||||||
| Composant | Technologie |
|
| Composant | Technologie |
|
||||||
|-----------|-------------|
|
|-----------|-------------|
|
||||||
| Framework | Quarkus 3.17.8 |
|
| Framework | Quarkus 3.27.3 LTS |
|
||||||
| API | Quarkus REST (RESTEasy Reactive) + Jackson |
|
| API | Quarkus REST (RESTEasy Reactive) + Jackson |
|
||||||
| Auth | `quarkus-oidc` (Keycloak) |
|
| Auth | `quarkus-oidc` (Keycloak) |
|
||||||
| Admin | `quarkus-keycloak-admin-rest-client` |
|
| Admin | `quarkus-keycloak-admin-rest-client` |
|
||||||
@@ -60,7 +60,7 @@ Documentation complète : `https://api.lions.dev/lions-user-manager/q/swagger-ui
|
|||||||
|
|
||||||
### Prérequis
|
### Prérequis
|
||||||
|
|
||||||
- Java 17+, Maven 3.9+
|
- Java 21, Maven 3.9+
|
||||||
- Keycloak sur `localhost:8180`
|
- Keycloak sur `localhost:8180`
|
||||||
- PostgreSQL sur `localhost:5432` (DB : `lions_user_manager`)
|
- PostgreSQL sur `localhost:5432` (DB : `lions_user_manager`)
|
||||||
|
|
||||||
@@ -122,12 +122,17 @@ mvn clean package -P prod -DskipTests
|
|||||||
```bash
|
```bash
|
||||||
lionsctl pipeline \
|
lionsctl pipeline \
|
||||||
-u https://git.lions.dev/lionsdev/lions-user-manager-server-impl-quarkus \
|
-u https://git.lions.dev/lionsdev/lions-user-manager-server-impl-quarkus \
|
||||||
-b main -j 17 -e production -c k1 -p prod
|
-b main -j 21 -e production -c k1 -p prod
|
||||||
```
|
```
|
||||||
|
|
||||||
**Pipeline** : clone → `mvn package -P prod` → `docker build -f Dockerfile.prod` → push `registry.lions.dev` → `kubectl apply` → health check
|
**Pipeline** : clone → `mvn package -P prod` → `docker build -f Dockerfile` (racine, fast-jar, `ubi8/openjdk-21:1.21`, UID 1001) → push `registry.lions.dev` → `kubectl apply` → health check
|
||||||
|
|
||||||
**URL prod** : `https://api.lions.dev/lions-user-manager`
|
**URL prod** : `https://api.lions.dev/lions-user-manager` — health sur `/lions-user-manager/health` (root-path personnalisé).
|
||||||
|
|
||||||
|
**Pré-requis infrastructure** avant pipeline :
|
||||||
|
- Secret K8s `lions-user-manager-server-impl-quarkus-db-secret` (clés `QUARKUS_DATASOURCE_USERNAME` + `QUARKUS_DATASOURCE_PASSWORD`)
|
||||||
|
- DB PostgreSQL `lions_user_manager` (override `QUARKUS_DATASOURCE_JDBC_URL` sur le deployment puisque lionsctl nomme la DB comme l'app)
|
||||||
|
- Deployment Helm existant supprimé au préalable (selector immutable)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -159,4 +164,4 @@ src/main/java/dev/lions/user/manager/server/impl/
|
|||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
|
|
||||||
Propriétaire — Lions Dev © 2025
|
Propriétaire — Lions Dev © 2026
|
||||||
|
|||||||
Reference in New Issue
Block a user