From 41efe57c1f1dc03d8cc5ba2a794d602a62ad4db9 Mon Sep 17 00:00:00 2001 From: "piotr.suwala" Date: Wed, 17 Apr 2024 19:13:57 +0200 Subject: [PATCH] hopefully it works --- .github/workflows/generate-tree.yaml | 19 +++++++++++++++++++ tree.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .github/workflows/generate-tree.yaml create mode 100644 tree.yaml diff --git a/.github/workflows/generate-tree.yaml b/.github/workflows/generate-tree.yaml new file mode 100644 index 0000000..1b014ec --- /dev/null +++ b/.github/workflows/generate-tree.yaml @@ -0,0 +1,19 @@ +name: Generate Tech Tree +on: + push: + branches: [ master ] +jobs: + checkout-repository: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Run the build process with Docker + uses: addnab/docker-run-action@v3 + with: + image: ghcr.io/hspsh/tech-tree:issue-10-dockerfile + run: | + java -jar /app/app.jar tree.yaml > tree.svg + - name: FUCK + run: cat tree.svg + shell: bash diff --git a/tree.yaml b/tree.yaml new file mode 100644 index 0000000..5c9d515 --- /dev/null +++ b/tree.yaml @@ -0,0 +1,27 @@ +nodes: + - title: Tech Tree + state: done + - title: Outline + state: broken + - title: Onboarding + state: todo + requires: + - Tech Tree + - Outline + - title: Proces Listy Zakupowej + state: progress + requires: + - Tech Tree + - Outline + - title: Kubernetes + state: broken + - title: FluxCD + state: broken + requires: + - Kubernetes + - title: Syncronium + state: broken + link: http://example.com + docs: https://github.com/hspsh/syncronium + requires: + - FluxCD \ No newline at end of file