-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
112 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: draw.io images | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
# paths: | ||
# - 'src/drawio/**' | ||
|
||
workflow_dispatch: | ||
|
||
env: | ||
DRAWIO_VERSION: 24.2.5 | ||
DRAWIO_SRC: src/drawio | ||
DRAWIO_OUT: images/drawio | ||
|
||
jobs: | ||
generate: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Xvfb & draw.io desktop | ||
run: | | ||
wget -q https://github.com/jgraph/drawio-desktop/releases/download/v${{ env.DRAWIO_VERSION }}/drawio-amd64-${{ env.DRAWIO_VERSION }}.deb | ||
sudo apt-get update | ||
sudo apt-get install --yes --no-install-recommends xvfb ./drawio-amd64-${{ env.DRAWIO_VERSION }}.deb | ||
- name: Prepare output folder | ||
run: | | ||
rm -rf "${{ env.DRAWIO_OUT }}" | ||
mkdir -p "${{ env.DRAWIO_OUT }}" | ||
- name: Export draw.io files as png / svg | ||
run: | | ||
# draw.io desktop requires a running X server | ||
export DISPLAY=:42 | ||
Xvfb :42 -nolisten unix & | ||
for ext in png svg; do | ||
# The chromium args need to be specified last because of whatever | ||
drawio --export --recursive --format $ext "${{ env.DRAWIO_SRC }}" --no-sandbox --disable-gpu --disable-dev-shm-usage | ||
rsync -v --recursive --include="*.$ext" --filter="-! */" "${{ env.DRAWIO_SRC }}"/* "${{ env.DRAWIO_OUT }}" | ||
# Nuke the exported files so that draw.io desktop doesn't attempt to use them as input files on the next loop pass | ||
find "${{ env.DRAWIO_SRC }}" -name "*.$ext" -exec rm -v "{}" \; | ||
done | ||
- name: Add & Commit | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
add: ${{ env.DRAWIO_OUT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: PlantUML images | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
# paths: | ||
# - 'src/plantuml/**' | ||
|
||
workflow_dispatch: | ||
|
||
env: | ||
PLANTUML_VERSION: 1.2024.4 | ||
PLANTUML_SRC: src/plantuml | ||
PLANTUML_OUT: images/plantuml | ||
|
||
jobs: | ||
generate: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11' | ||
check-latest: true | ||
|
||
- name: Set up Graphviz | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --yes --no-install-recommends graphviz | ||
- name: Download PlantUML JAR | ||
run: | | ||
# Ironically, manually fetching the JAR is faster than installing the Debian plantuml package | ||
wget -O plantuml.jar "https://github.com/plantuml/plantuml/releases/download/v${{ env.PLANTUML_VERSION }}/plantuml-${{ env.PLANTUML_VERSION }}.jar" | ||
- name: Prepare output folder | ||
run: | | ||
rm -rf "${{ env.PLANTUML_OUT }}" | ||
mkdir -p "${{ env.PLANTUML_OUT }}" | ||
- name: Export PlantUML files as png / svg | ||
run: | | ||
for ext in png svg; do | ||
java -jar plantuml.jar -t$ext -v -nometadata -failfast2 -nbthread auto -o "." "${{ env.PLANTUML_SRC }}/**.puml" | ||
rsync -v --recursive --include="*.$ext" --filter="-! */" "${{ env.PLANTUML_SRC }}"/* "${{ env.PLANTUML_OUT }}" | ||
done | ||
- name: Add & Commit | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
add: ${{ env.PLANTUML_OUT }} |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_10057_Seq.svg
This file was deleted.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_10058_Seq.svg
This file was deleted.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_10059_Seq.svg
This file was deleted.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_10060_Seq.svg
This file was deleted.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_10061_Seq.svg
This file was deleted.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_10062_Seq.svg
This file was deleted.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_10063_Seq.svg
This file was deleted.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_10064_Seq.svg
This file was deleted.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_10103_Seq.svg
This file was deleted.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_10104_Seq.svg
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-348 KB
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_Approvel_List_Seq.png
Binary file not shown.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_Approvel_List_Seq.svg
Diff not rendered.
Binary file removed
BIN
-181 KB
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_Directory_search_Seq.png
Diff not rendered.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_Directory_search_Seq.svg
Diff not rendered.
Binary file removed
BIN
-174 KB
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_Update_Federationlist_Seq.png
Diff not rendered.
1 change: 0 additions & 1 deletion
1
images/diagrams/TI-Messenger-Dienst/Ressourcen/UC_Update_Federationlist_Seq.svg
Diff not rendered.
Binary file removed
BIN
-55 KB
.../diagrams/TI-Messenger-Dienst/Ressourcen/UC_Update_Federationlist_SignCheck.png
Diff not rendered.
Oops, something went wrong.