remipichon / manifmaker

MIT License
1 stars 1 forks source link

ManifMaker As A Service #380

Closed remipichon closed 6 years ago

remipichon commented 7 years ago

Buy a serveur dédié sur OVH

Guirlande CI repo as a Docker (with Docker worker capabilities) Une branche par Asso Job pour déployer ou mettre à jour des asso Stockage des info comme mot de passe super admin, frequency de backups

Server node qui expose une API REST pour éditer le repo Définir les verbes

Front angular pour consumer l'API

remipichon commented 7 years ago

Server node API

/entity PUT Git branch -b

/entities GET git branch

/entity DELETE git branch -d

/entity/NAME GET git checkout NAME Send conf

/entity/NAME POST git checkout NAME Update files git commit -a -m MESSAGE git push

remipichon commented 7 years ago

Gitlab CI

New branch

Read hostname Read target Host Read version Read inject conf type Read backup frequency

SSH to host Inject ENV var (mail password, hostname, all previously read) Git clone ManifMaker Docker compose up

update branch

SSH to Host Inject new ENV Docker-compose up

delete Branch

SSH to host Docke-composer rm Rm ManifMaker

remipichon commented 7 years ago

Data Model

Branch name

ams-NAME

Repository content

/definition default.json { fields : [ < { name : , type: String| Checkbox | [List] }>

], pricing : , }

see ams.json

/ams/entity.json

See previous com

remipichon commented 7 years ago

Configuration folder Un fichier avec les paramètres et leur type à utiliser pour générer le front et mettre à jour les fichiers du repo

remipichon commented 6 years ago

VOC