Skip to content

Commit

Permalink
chore: upgrade thibaultmorin/plantuml-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Sep 15, 2021
1 parent 2453e86 commit f1877f3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
generate-distribution:
name: Generate the distribution
runs-on: ubuntu-20.04
container: docker://thibaultmorin/plantuml-generator:0
container: docker://thibaultmorin/plantuml-generator:1
needs: [ generate-workdir ]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ npm run generate-library
docker run --rm \
-v "$(pwd)/.workdir:/workdir" \
-v "$(pwd)/distribution:/distribution" \
thibaultmorin/plantuml-generator:0 \
thibaultmorin/plantuml-generator:1 \
plantuml-generator library generate library.yaml \
-c=All -O=/distribution
```
2 changes: 1 addition & 1 deletion scripts/generate-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sudo chown -R "$uid":"$gid" .workdir distribution
docker run --rm \
-v "$(pwd)/.workdir:/workdir" \
-v "$(pwd)/distribution:/distribution" \
thibaultmorin/plantuml-generator:0 plantuml-generator \
thibaultmorin/plantuml-generator:1 plantuml-generator \
--log-level Debug \
library generate library.yaml \
-c=All -O=/distribution
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sync
docker run --rm \
-v "$(pwd)/.workdir:/workdir" \
-v "$(pwd)/distribution:/distribution" \
thibaultmorin/plantuml-generator:0 plantuml-generator \
thibaultmorin/plantuml-generator:1 \
--log-level Info \
library generate library.yaml \
--urn="$1" --clean-urn="$1" -O=/distribution
Expand Down
2 changes: 1 addition & 1 deletion source/templates/c4model/item_boundary_source.tera
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "item_source.tera" %}
{% block elements %}
{%- for element in data.elements %}
{%- if element.type == "CustomElement" %}
{%- if element.type == "Custom" %}
!procedure {{ element.procedure_name }}($id, $name, $tech="")
C4Boundary('{{ element.properties.type }}', $id, $name, $tech)
!endprocedure
Expand Down
2 changes: 1 addition & 1 deletion source/templates/c4model/item_element_source.tera
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "item_source.tera" %}
{% block elements %}
{%- for element in data.elements %}
{%- if element.type == "CustomElement" %}
{%- if element.type == "Custom" %}
!procedure {{ element.procedure_name }}($id, $name, $desc="", $tech="")
C4Element('{{ element.properties.shape }}', '{{ element.properties.stereotype }}', '{{ element.properties.type }}', $id, $name, $desc, $tech)
!endprocedure
Expand Down
2 changes: 1 addition & 1 deletion source/templates/eventstorming/item_element_source.tera
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "item_source.tera" %}
{% block elements %}
{%- for element in data.elements %}
{%- if element.type == "CustomElement" %}
{%- if element.type == "Custom" %}

skinparam {{ element.properties.shape }}<<{{ element.properties.name }}>> {
StereotypeFontSize {{ element.properties.st_font_size }}
Expand Down
2 changes: 1 addition & 1 deletion source/templates/item_custom_group_source.tera
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% block elements %}
{% for element in data.elements -%}

{% if element.type == "CustomElement" -%}
{% if element.type == "Custom" -%}
!procedure {{ element.procedure_name }}($id, $name='{{ element.properties.label }}', $tech='')
{% if element.properties.sprite_name -%}
IconGroupElement($id, '{{ element.procedure_name }}', '<${{ element.properties.sprite_name }}>', $name, $tech)
Expand Down

0 comments on commit f1877f3

Please sign in to comment.