Files
boc/CICD-SETUP.md
T
Bernt bae705aa97 ARCHITECTURE: NFC roadmap, edge AI, audit logging
- Add NFC ePassport roadmap (ICAO 9303, eIDAS)
- Add TensorFlow.js edge face detection (BlazeFace)
- Add structured audit logger (GDPR-compliant)
- Risk scoring support

Part of KYC Apple Native UX v1.1.0
2026-06-29 16:24:48 +00:00

1.9 KiB

AAMOS CI/CD Setup

Klart

Repositories (Git)

Repo Commit Status
aamos-ledger be4bccc Rust-backend
aamos-ledger-ui b364916 iOS-native UI
landvex-data 964c7a5 SIE4-filer
aamos-infrastructure e230283 CI/CD + docs

CI/CD Pipeline

  • Auto-deploy: Var 5:e minut via systemd timer
  • Manuell deploy: ./scripts/deploy-all.sh
  • Webhook: Port 9000 för GitHub/GitLab integration

SSH-nyckel

cat ~/.ssh/id_rsa.pub

Lägg till på GitHub/GitLab för deploy-åtkomst.

🚀 Nästa steg

1. GitHub/GitLab integration

# Lägg till remote
cd work/aamos-ledger
git remote add github git@github.com:landvex/aamos-ledger.git
git push github main

2. Aktivera auto-deploy

sudo cp work/aamos-infrastructure/systemd/aamos-ci.* /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable aamos-ci.timer
sudo systemctl start aamos-ci.timer

3. Starta webhook server

node work/aamos-infrastructure/scripts/webhook-server.js &

📁 Struktur

workspace/
├── repos/                    # Bare repos
│   ├── aamos-ledger.git
│   ├── aamos-ledger-ui.git
│   ├── landvex-data.git
│   └── aamos-infrastructure.git
├── work/                     # Arbetskopior
│   ├── aamos-ledger/
│   ├── aamos-ledger-ui/
│   ├── landvex-data/
│   └── aamos-infrastructure/
├── REPOSITORIES.md
├── VERSIONS.md
└── CICD-SETUP.md

🔗 URL:er

Tjänst URL
Ledger UI https://bernt.wavult.com/finans/
Ledger API https://bernt.wavult.com/api/v1/
Health https://bernt.wavult.com/health

📝 Kommandon

# Deploy allt
./work/aamos-infrastructure/scripts/deploy-all.sh

# Kolla CI-status
sudo systemctl status aamos-ci.timer

# Visa logs
sudo journalctl -u aamos-ci