Skip to content

Commit

Permalink
hopefully it works
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr.suwala committed Apr 17, 2024
1 parent 3b5c8b3 commit e6cb48f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/generate-tree.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches: [ main ]
jobs:
generate-tech-tree:
runs-on: ubuntu-latest
container: ghcr.io/hspsh/tech-tree:issue-10-dockerfile
steps:
- java -jar /app/app.jar tree.yaml > tree.svg
- cat tree.svg
push-back-to-remote:
script:
- git config user.email "[email protected]"
- git config user.name "ci-bot"
- git remote add gitlab_origin https://oauth2:[email protected]/path-to-project.git
- git add .
- git commit -m "UPDATE TREE.SVG"
- git push gitlab_origin HEAD:main -o ci.skip
27 changes: 27 additions & 0 deletions tree.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e6cb48f

Please sign in to comment.