33800 Docs

← Retour

Migration Smart-Deploy - 5 Projets

Date : 22/01/2026 01:30 Status : TERMINÉ

Objectif

Migrer 5 projets GitLab vers le système Smart-Deploy avec le template centralisé ci-templates/deploy.yml.

Projets migrés

Projet Pipeline Target Port Health Status
notif-logger #196 prod-portainer 5300 /health
browser-connector #197 prod-portainer 5401 /health
connectors-api #198 prod-portainer 5400 /health
needfinder #204 dev-portainer 5200 /health
authentificator #212 prod-portainer 8284 /api/check

Corrections apportées au système Smart-Deploy

health.sh

services.sh

docker.sh

Corrections spécifiques par projet

needfinder

authentificator

Changements libs npm privées

qwikjs-lib (projet 74)

// Avant
"name": "@nowhere/qwikjs-lib"
"@nowhere:registry": "https://gitlab.33800.nowhere84.com/api/v4/projects/10/packages/npm/"

// Après
"name": "@gouroubleu/qwikjs-lib"
"@gouroubleu:registry": "https://gitlab.33800.nowhere84.com/api/v4/projects/74/packages/npm/"

ulias-lib (projet 65)

// Avant
"name": "@nowhere/ulias-lib"

// Après
"name": "@gouroubleu/ulias-lib"

authentificator

Permissions GitLab CI_JOB_TOKEN

Configurées via API :

# Permettre à authentificator d'accéder à qwikjs-lib
POST /api/v4/projects/74/job_token_scope/allowlist
{"target_project_id": 76}

# Permettre à authentificator d'accéder à ulias-lib
POST /api/v4/projects/65/job_token_scope/allowlist
{"target_project_id": 76}

Fichiers modifiés

Scripts Smart-Deploy

Secrets

Projets GitLab

Vérification

Tous les services répondent :

curl https://notif-logger.33800.nowhere84.com/health  # {"status":"ok"}
curl https://browser-connector.33800.nowhere84.com/health  # {"status":"ok"}
curl https://connectors-api.33800.nowhere84.com/health  # {"status":"ok"}
curl https://needfinder-api-dev.33800.nowhere84.com/health  # {"status":"healthy","database":"connected"}
curl https://auth.33800.nowhere84.com/api/check  # {}