Refactor to new framework #98

Merged
lunny merged 17 commits from wolfogre/act_runner:feature/refactor into main 2023-04-04 13:32:04 +00:00
Owner
  • Adjust directory structure
├── internal
│   ├── app
│   │   ├── artifactcache
│   │   ├── cmd
│   │   ├── poll
│   │   └── run
│   └── pkg
│       ├── client
│       ├── config
│       ├── envcheck
│       ├── labels
│       ├── report
│       └── ver
└── main.go
  • New pkg labels to parse label
  • New pkg report to report logs to Gitea
  • Remove pkg engine, use envcheck to check if docker running.
  • Rewrite runtime to run
  • Rewrite poller to poll
  • Simplify some code and remove what's useless.
- Adjust directory structure ```text ├── internal │   ├── app │   │   ├── artifactcache │   │   ├── cmd │   │   ├── poll │   │   └── run │   └── pkg │   ├── client │   ├── config │   ├── envcheck │   ├── labels │   ├── report │   └── ver └── main.go ``` - New pkg `labels` to parse label - New pkg `report` to report logs to Gitea - Remove pkg `engine`, use `envcheck` to check if docker running. - Rewrite `runtime` to `run` - Rewrite `poller` to `poll` - Simplify some code and remove what's useless.
wolfogre added 10 commits 2023-04-04 09:38:28 +00:00
wolfogre added 4 commits 2023-04-04 10:06:09 +00:00
wolfogre added 1 commit 2023-04-04 10:10:10 +00:00
chore: add copyright
Some checks failed
checks / check and test (pull_request) Failing after 35s
294f47c561
wolfogre added 1 commit 2023-04-04 10:21:45 +00:00
fix: handle panic
Some checks failed
checks / check and test (pull_request) Failing after 37s
67ce4db26f
wolfogre changed title from WIP: Refactor to new framework to Refactor to new framework 2023-04-04 10:26:34 +00:00
wolfogre added 1 commit 2023-04-04 10:27:57 +00:00
chore: format code
All checks were successful
checks / check and test (pull_request) Successful in 1m22s
85db4653c5
lunny added the
kind
refactor
label 2023-04-04 10:58:49 +00:00
lunny approved these changes 2023-04-04 13:31:53 +00:00
lunny merged commit 220efa69c0 into main 2023-04-04 13:32:04 +00:00
Sign in to join this conversation.
No description provided.