1
0
mirror of https://gitlab.com/free_zed/free_zed.gitlab.io.git synced 2024-06-01 22:02:28 +00:00
free_zed.gitlab.io/content/plantuml-gitlab_ci-diagramme-generation-en.md
Freezed 34ed4b11c7 Update massively articles header 🎨
Chasing the missing "published article"…
2020-04-20 22:36:03 +02:00

3.6 KiB

Title: Génération de diagrammes PlantUML avec Gitlab-CI Date: 2019-07-13 10:00 Summary: Générer des diagrammes PlantUML à l'aide de l'intégration continue & l'hébergement statique de Gitlab Category: Bloc-notes Tags: uml, gitlab-ci, gitlab-pages, statique, ci, dry, devops, web, digitalisation Status: published Lang: en Slug: plantuml-gitlab_ci-diagramme-generation

The easy way to keep diagrams up-to-date with the code

What ?

Diagrams are :

  • 100% text described
  • built with gitlab-ci
  • deployed on gitlab-pages

So easy to maintain that your diagrams could be still up-to-date even 10 months later!!!

How ?

Just push diagram sources and .gitlab-ci.yml will build & deploy it on pages :

Physical data model with shared files.

D.R.Y. !

Using !include or !includeurl PlantUML's preprocessor directives allows you to share common sources between diagrams.

In this repo, shared files diagrams share same data :

  • associations
  • attributes
  • classes
  • keys
  • legend
  • relations

Hence, if you add something in your shared sources, all diagrams will get it !

Talk is cheap. Show me the code.

Diagram type Single file Shared files
Functional domain - (diagram) - [source] - common parts
Functional domain detailed (diagram) - [source] (diagram) - [source] - common parts
Physical data model (diagram) - [source] (diagram) - [source] - common parts