1 Commits

Author SHA1 Message Date
Amedee Van Gasse ✨🌈🦄 3dbfe0a863 Reduce code duplication
Use reusable workflows
2024-10-20 14:29:40 +02:00
4 changed files with 159 additions and 51 deletions
+3 -8
View File
@@ -1,7 +1,6 @@
---
name: Publish diagram name: Publish diagram
on: # yamllint disable-line rule:truthy on:
push: push:
branches: branches:
- main - main
@@ -15,20 +14,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Download build artifact - name: Download build artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: polycule.png name: polycule.png
path: ./ path: ./
- name: copy puml to workspace
run: ls
- name: Upload to cdn - name: Upload to cdn
uses: appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345 # v1.0.0 uses: appleboy/scp-action@v0.1.7
with: with:
host: bruynooghe.dev host: bruynooghe.dev
username: elizhium username: elizhium
password: ${{ secrets.ELIZHIUMPW }} password: ${{ secrets.ELIZHIUMPW }}
source: "polycule.puml, polycule.png" source: "polycule.*"
target: "/home/elizhium/CDN" target: "/home/elizhium/CDN"
+2 -3
View File
@@ -1,7 +1,6 @@
---
name: Render diagram name: Render diagram
on: # yamllint disable-line rule:truthy on:
pull_request: pull_request:
types: [opened, reopened, edited] types: [opened, reopened, edited]
workflow_call: workflow_call:
@@ -10,7 +9,7 @@ jobs:
render: render:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
PLANTUML_VERSION: '1.2025.10' PLANTUML_VERSION: '1.2024.7'
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
+3 -7
View File
@@ -1,7 +1,7 @@
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0 rev: v4.6.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
@@ -9,19 +9,15 @@ repos:
args: ['--unsafe'] args: ['--unsafe']
- id: check-added-large-files - id: check-added-large-files
- repo: https://github.com/python-jsonschema/check-jsonschema - repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.35.0 rev: 0.29.0
hooks: hooks:
- id: check-github-actions - id: check-github-actions
args: [--verbose] args: [--verbose]
- repo: https://github.com/rhysd/actionlint - repo: https://github.com/rhysd/actionlint
rev: v1.7.9 rev: v1.7.1
hooks: hooks:
- id: actionlint - id: actionlint
- repo: https://github.com/jorisroovers/gitlint - repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1 rev: v0.19.1
hooks: hooks:
- id: gitlint - id: gitlint
- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
rev: v0.9.0
hooks:
- id: pre-commit-update
+149 -31
View File
@@ -1,47 +1,165 @@
@startuml polycule @startuml
circle Jenna
circle Elizabeth circle Elizabeth
circle Bea
circle Mira circle Mira
circle Rachel circle Rachel
circle "Emily-Larra-Sarah" circle Evelynn
circle Matty
circle Joanna
circle "Emily-Larra"
'circle Celeste 'circle Celeste
circle Kiran
circle Soda
circle Evi
circle Kiwi
circle "Kiwi's polycule"
circle Lara
circle Jack
circle Merel
circle Rosie
circle Talinka
circle Ashley
circle Lilia
circle Amber
circle Alvin
circle Amedee
circle Ward circle Ward
circle Kathy circle Kathy
circle glas circle Glas
circle Ari circle Ari
circle Frede circle Frede
circle Charlotte
circle Shen
circle Enya
circle Kyra
circle Chloe
circle Ria
circle Bart
circle Miranda
circle "Miranda's Dom"
circle Els
circle Paul
circle Alexandra
circle Jan
circle Tom
circle Hester
circle Koen
circle Sylvia
circle Seba
circle Frank
circle CC
circle Pieter
circle "Leuvense supercluster"
circle "Brusselse supercluster"
circle Noud
circle Lies
circle Inger
circle Aegir
circle "Koppel uit het Noorden"
circle Rosemarie
circle Agnes
circle Nina
circle Sven
circle Tine
circle Peppe
circle Jelle
circle "Jelle's partner"
circle Francis
circle Hannah circle Hannah
circle Everbloom
circle Emberous
circle Oriana
circle Alex
circle Gwen
circle Hellen
circle Nari
circle Ara
circle Lexi
circle "Amy (Eternacute)"
Jenna -- Elizabeth : Partner
Mira -- Rachel: Married Mira -- Rachel: Married
Rachel -- Ward : Partner Evelynn -- Matty :Partner
Matty -- Joanna: Partner
"Emily-Larra" -- Kiran: Partner
'Tara -- Evi: Engaged
Bea -- Kiwi: Partner
Soda -- Lara: Partner
"Kiwi's polycule" .. Kiwi
Jack -- Merel: Partner
Jack .. Lara: Casual
Jack .. Soda: Casual
Elizabeth -- Talinka: Partner
Jenna -- Talinka : Partner
Talinka .. Jack : Casual
Rosie -- Ashley : Engaged
Ashley -- Talinka : Engaged
Jack .. Joanna : Casual
Lilia .. Ashley : Casual
Amber -- Talinka : Partner
Rosie -- Talinka : Partner
Alvin -- Talinka : Partner
Mira .. Talinka : Casual
Evi .. Amedee : Dating
Amber -- Ashley : Partner
Ashley -- Jenna : Partner
Mira -- Amber : Partner
Rachel .. Ward : Casual
Ward -- Kathy : Engaged Ward -- Kathy : Engaged
Ward -- glas : Partner Ward -- Glas : Partner
Kathy -- Ari : Partner Kathy -- Ari : Partner
Ari -- Frede : Partner Ari -- Frede : Partner
Mira -- Hannah : Partner Mira -- Evi : Partner
Elizabeth -- "Emily-Larra-Sarah": Partner Evi -- Amber : Partner
Hannah -- "Everbloom": Engaged Amber -- Charlotte : Partner
"Emily-Larra-Sarah" .. Alex : Casual Shen .. Talinka : Casual
"Emily-Larra-Sarah" .. "Gwen" : Casual Amedee -- Enya: Partner
"Emily-Larra-Sarah" .. Emberous: Casual Enya -- Kyra: Engaged
Emberous -- Hellen : Partner Amedee .. Chloe: Casual
Emberous -- "Amy (Eternacute)" : Partner Amedee .. Ria: Casual
Mira -- "Everbloom": Engaged Ria .. Bart: Dating
Nari -- Ara : Partner Amedee .. Miranda: Casual
Everbloom .. "Emily-Larra-Sarah" : Casual Miranda .. "Miranda's Dom": D/s
Mira .. Oriana : Casual Amedee .. Els: Casual
Mira -- Lexi : Partner Els .. Paul: Dating
Oriana .. Ara : Casual Amedee .. Alexandra: Situationship
Ara .. Gwen : Casual Alexandra .. Jan: Situationship
Lexi .. Everbloom : Casual Alexandra .. Tom: Casual
Amedee .. Hester: Situationship
Hester .. Chloe: Casual
Hester .. Koen: Casual
Chloe .. Koen: Casual
Chloe .. "Brusselse supercluster": Casual
Koen -- Sylvia: Partner
Koen .. "Brusselse supercluster": Casual
Koen .. "Leuvense supercluster": Casual
Hester -- Seba: Partner
Hester .. Frank: D/s
Frank -- CC: D/s
Hester .. Pieter: Casual
Hester .. "Leuvense supercluster": Casual
Pieter .. "Leuvense supercluster": Dating
Pieter .. "Brusselse supercluster": Dating
Hester .. Noud: Casual
Hester .. Jelle: Casual
Jelle -- "Jelle's partner": Partner
Jelle .. "Leuvense supercluster": Dating
Jelle .. "Brusselse supercluster": Dating
Noud -- Lies: Partner
Noud .. "Leuvense supercluster": Dating
Lies .. "Leuvense supercluster": Dating
Amedee .. Inger: Casual
Inger .. Aegir: Casual
Inger .. "Koppel uit het Noorden": Casual
Inger .. Rosemarie: Dating
Rosemarie -- Agnes: Engaged
Amedee .. Nina: Casual
Nina -- Sven: Partner
Nina .. Koen: Casual
Nina .. Peppe: Dating
Peppe .. "Brusselse supercluster": Dating
"Leuvense supercluster" .. "Brusselse supercluster": Dating
Tine .. Nina: Dating
Tine .. Sven: Dating
Tine .. "Leuvense supercluster": Casual
Tine .. "Brusselse supercluster": Casual
Tine .. Amedee: Situationship
Tine .. Chloe: Casual
Tine .. Koen: Casual
Evi -- Ashley: Partner
Rosie -- Francis: Partner
Mira .. Hannah : Casual
@enduml @enduml