49 Commits
Author SHA1 Message Date
Kiyofumi Sano 24acd3ce07 Update actions/cache from v3 to v4 (#630) 2024-07-25 01:37:19 +09:00
Yota Hamada b44107803a fix: ci fails to upload codecov (#626) 2024-07-23 22:13:39 +09:00
Yota Hamada 61e8cfbf8c Fix goreleaser flag (#612) 2024-07-14 21:41:56 +09:00
Yota Hamada e78459b13d Reorganize type declaration (#605)
* Reorganize type declaration

* Refactoring old code

* Rename types

* Fix tests

* Move files

* Rename unexported fields

* Refactoring dependencies

* Refactoring dependencies

* Refactor tests

* Refactoring dag package

* Simplify type naming

* Refactor mailer package

* Split file

* Rename package

* Refactor frontend server

* Refactor frontend server

* Fix frontend bug

* Update document

* Refactor frontend code

* Refactor frontend code

* Refactor frontend code

* Rename target name

* Update makefile

* Update contribution guide

* Move frontend package

* Move scheduler package

* Move scheduler service package

* Update make run command

* Move entry-reader pckage

* Refactor scheduler package

* Refactor scheduler package

* Refactor scheduler package

* Refactor scheduler package

* Update scheduler tests

* Update scheduler tests

* Remove unused function

* Update Makefile

* Update Makefile

* Move dag status type declaration

* Refactor dependency to config

* Refactor agent contstructor

* Refactor

* move grep package

* Rename package for tools.go

* Fix OpenAPI spec lint errors

* Refactor tests

* Fix lint error

* Move variable location
2024-07-06 16:54:31 +09:00
Yota Hamada 0a83c64146 Improve GitHub action configuration (#604)
* Update release action

* Simplify github action for tests

* Fix test failure

* Combine github actions

* Rename github action
2024-07-05 18:35:48 +09:00
Yota Hamada db06b99a6b Setup Go Linter (#590)
* fix not to use pointer when unnecessary

* fix not to use pointer when unnecessary

* unuse unnecessary library functions

* move generated files into gen/ directory

* add comments

* rename methods

* refactor config

* refactor

* Move service/ to internal/

* fix ci files

* Add tool dependencies

* Update Makefile

* Update golanci-lint config

* Fix lint errors

* Refactor util.ParseCommand function

* refactor filecache.go

* Use any instead of interface{}

* Fix lint errors

* Add golines to tools.go

* Format go files to limit line length

* Fix lint errors

* refactor

* Fix lint errors

* fix race

* Make the tests run parallel

* Fix log message

* Fix data race

* Update vscode settings

* Add gotestsum to tools

* Add build/ to gitignore

* Adjust build command

* Fix lint errors

* fix .golangci.yml

* Adjust cmd tests

* Fix lint errors

* Use gotestsum for github action

* Fix code spell error

* Fix github test workflow

* Fix a bug in github action

* Update vscode settings

* Update github workflow

* Fix github workflow

* Update gotestsum format with standard-quiet

* Update github action

* Update github action

* Update github action
2024-06-19 09:08:54 +09:00
Yota Hamada 6b68bb3079 Refactor dag package for readability (#587)
* rename package

* move SyncMap type definition

* remove unused code

* simplify DAG loader

* simplify schedule parsing code

* simplify builder code

* simplify the builder code

* simplify builder code

* simplify builder code

* simplify loader

* add comments

* add comments

* refactor util package

* simplify step builder

* fix github workflow

* format code

* format code

* fix typo
2024-06-10 01:47:26 +09:00
Yota Hamada 48a2cff28f Add TTL to cache (#569)
* add ttl to cache

* Add stop method

* update Go version
2024-05-22 23:24:09 +09:00
Yota Hamada d0938f1198 Implement file cache (#564)
* fix: minor goroutine leak

* fix: minor goroutine leak

* implement file cache for history data

* implement DAG file cache

* fix cache stale criteria

* update go version to 1.20

* chore: update go version for gh action
2024-05-11 21:59:58 +09:00
Yota Hamada 0be20f6aa1 chore: add --race to test command 2024-04-01 17:53:23 +09:00
Yota Hamada ab5b1fbf0e fix: github action 2024-03-30 02:19:54 +09:00
Yota Hamada 4a703a831a chore: remove protobuf 2024-03-30 01:49:24 +09:00
Yaroslav Halchenko cc1b134569 Add codespell support (config and github action to detect new) + make it fix a few typos (#531)
* Add github action to codespell main on push and PRs

* Add rudimentary codespell config

* skip ot

* [DATALAD RUNCMD] Do interactive fixing of  leftover ambigous typos

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 2 ./internal/persistence/jsondb/database.go",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^

* [DATALAD RUNCMD] run codespell throughout fixing typos automagically

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
2024-03-07 10:50:34 +09:00
Yota Hamada cfbd772160 remove protobuf gen part from the release workflow 2023-10-18 15:26:05 +09:00
Yota Hamada 23da389138 Implement Engine package (#476) 2023-09-09 19:38:38 +09:00
Yota Hamada a2751cc700 Refactoring for future extension (#471) 2023-08-30 23:38:35 +09:00
yohamta 3ecebfb48f fix ci 2023-08-11 22:24:11 +09:00
yohamta 1fe1a38328 fix build issue 2023-08-11 22:17:02 +09:00
yohamta 92f8f75590 fix bundling issue 2023-08-10 23:38:03 +09:00
yohamta 3edf2e2fce fix github action 2023-08-10 23:03:53 +09:00
Yota Hamada b341e316c7 Add YAML support for DAG editor (#459)
* rename pakcage

* add watch command

* rename admin dir to ui

* add YAML editor support

* fix build error
2023-08-10 22:00:00 +09:00
garunituleandyohamta c09deaf878 convert dag.Step struct to protocol buffers (#449)
* introduce protocol buffers

* fix proto

* fix dirname

* stepをprotobufに移行

* convert step from gostruct to protobuf

* Merge branch 'feature/protocol-buffers' of https://github.com/garunitule/dagu into feature/protocol-buffers

* validate init value

* change file name

* modify test.yaml

* delete testdag

* delete unused files

* delete unused file

* refactor convertPbAnyToInterface

* change file name

* fix ci issue

---------

Co-authored-by: yohamta <yohamta@gmail.com>
2023-08-10 19:38:26 +09:00
Yota Hamada 04250ca6af fix workflow 2023-05-12 13:21:05 +09:00
Yota Hamada dc0b7e355e Migration to cobra (#394)
Migrated to Cobra to build the command-line interface, allowing us to utilize Viper for improved configuration capabilities.
2023-03-08 10:52:25 +09:00
Yota Hamada af91f754a8 Delete .github/ISSUE_TEMPLATE directory 2022-11-06 19:14:45 +09:00
Yota Hamada 8103f4f865 Merge pull request #273 from yohamta/fix-web-build-issue
Reduce admin-web bundle.js size
2022-08-18 20:10:42 +09:00
yohamta 00c6db74ee fix github action 2022-08-18 19:26:54 +09:00
Yota Hamada 1c0a8ab056 Update issue templates 2022-08-18 13:03:18 +09:00
yohamta 6bc5030a71 github actions: fix go version 2022-08-16 19:41:35 +09:00
Yota Hamada 5215f01653 Update issue templates 2022-08-05 19:53:01 +09:00
Yota Hamada 213a111bcb Update issue templates 2022-08-05 09:13:03 +09:00
Yota Hamada dbd68e4689 Update issue templates 2022-08-05 09:12:15 +09:00
Yota Hamada af8c73f18f Update issue templates 2022-08-04 10:38:00 +09:00
Yota Hamada 0d1e8f130d Merge pull request #132 from yohamta/fix/github-workflows
fix: release workflow
2022-05-31 12:21:35 +09:00
yohamta e0c73a3447 fix: release workflow 2022-05-31 12:20:37 +09:00
Yota Hamada 7da1863e62 Update test.yaml 2022-05-31 12:18:25 +09:00
yohamta accef5c008 fix: test workflow 2022-05-31 12:13:00 +09:00
yohamta 136cf62c1d fix: release workflow 2022-05-31 12:03:35 +09:00
yohamta bcda023663 feat: Add web UI build step in the release workflow 2022-05-31 11:57:19 +09:00
yohamta c4a7460f45 Fix workflow 2022-05-02 13:50:39 +09:00
yohamta 8aa05d9fc3 Fix workflow 2022-05-02 13:11:53 +09:00
yohamta cb307a52f2 Add more tests 2022-05-02 13:06:22 +09:00
yohamta 774cfae821 Add tests 2022-05-02 11:32:47 +09:00
yohamta 61c5174acb Fix workflow to upload coverage to codecov 2022-04-29 00:49:34 +09:00
yohamta d0859ac660 Fix bugs 2022-04-27 09:24:25 +09:00
yohamta 08be2545ae Rename jobctl to dagu 2022-04-27 09:05:23 +09:00
yohamta b06d4ddd02 Setup goreleaser 2022-04-23 13:55:36 +09:00
yohamta c5212ec294 Update .github/workflows/test.yaml 2022-04-23 13:21:35 +09:00
yohamta 2d3ddf6920 Add .github/workflows/test.yaml 2022-04-23 12:50:42 +09:00