470 Commits

Author SHA1 Message Date
dependabot[bot]
37b15d157a
Bump github.com/moby/moby (#177)
Bumps [github.com/moby/moby](https://github.com/moby/moby) from 20.10.7+incompatible to 20.10.20+incompatible.
- [Release notes](https://github.com/moby/moby/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moby/moby/compare/v20.10.7...v20.10.20)

---
updated-dependencies:
- dependency-name: github.com/moby/moby
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 01:14:08 +08:00
dependabot[bot]
f2b22d059c
Bump github.com/gin-gonic/gin from 1.7.0 to 1.7.7 (#185)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.7.0 to 1.7.7.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.7.0...v1.7.7)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 01:13:28 +08:00
Miao Wang
45099fc7d3 Fix config_diff panics when old config or new config is empty
Fixes #190
2023-04-19 00:53:45 +08:00
Miao Wang
c3b742c2a8 move set up go after checkout 2023-04-19 00:53:45 +08:00
Miao Wang
68a3149e8d update actions to latest version 2023-04-19 00:53:45 +08:00
Miao Wang
b372744640 update ci script
ubuntu 22.04 use unified cgroup hierarchy, so we test cgroupv1 support
in uml
2023-04-19 00:53:33 +08:00
Miao Wang
4007bb2e4d Add unit test for config_diff when old or new is empty 2023-04-18 19:59:10 +08:00
Zenithal
bca49abd3c doc: increase default interval
Ref to https://github.com/tuna/issues/issues/1649
2023-01-18 13:47:02 +08:00
Miao Wang
60f92ceebb
Fix incomplete usage on tunasynctl set-size 2022-12-12 00:14:05 +08:00
Miao Wang
c07aaffe65 Merge branch 'cgroupv2', and bump version to v0.8.0
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
v0.8.0
2021-09-02 22:22:26 +08:00
Miao Wang
1804a31b6a Bugfix change the order of options in 2f9e96a
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-09-02 22:19:05 +08:00
Miao Wang
98fcb6249b doc: add docs for cgroup 2021-09-02 18:04:28 +08:00
Miao Wang
531b09c21a ci: minor fixes 2021-08-02 17:50:30 +08:00
Miao Wang
f8b6ea9c4e cgroupv2: add test for reexec 2021-07-29 14:37:10 +08:00
Miao Wang
84fcc8e76b CI: add tests in cgroupv2 2021-07-27 22:32:12 +08:00
Miao Wang
222d98d6ae CI: beautify goconvey output 2021-07-27 21:28:14 +08:00
dependabot[bot]
3e225ae940
Bump github.com/gin-gonic/gin from 1.5.0 to 1.7.0 (#157)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.5.0 to 1.7.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.5.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-27 13:12:09 +08:00
Miao Wang
8080ed6648 CI: merge cov files of multiple runs 2021-07-27 12:11:45 +08:00
Miao Wang
1bc0285905 cgroupv2: bypass RequireDevices check 2021-07-27 02:16:51 +08:00
Miao Wang
c26e9fb64a cgroupv2: add tests on cgv1 for implicit cgroup 2021-07-27 00:36:40 +08:00
Miao Wang
e719dc443b cgroupv2: improve unit test 2021-07-26 23:10:16 +08:00
Miao Wang
0f05c69c36 [WIP] cgroupv2: support start with cgroupv2 2021-07-25 16:24:13 +08:00
Miao Wang
28d160a7f0 [WIP] Cgroupv2: fix test 2021-07-25 14:54:30 +08:00
Miao Wang
2c4d2d6ae0 [WIP] cgroupv2: add cgroup add and del 2021-07-25 04:15:28 +08:00
Miao Wang
02a144744f [WIP] cgroupv2: add init cgroup 2021-07-25 02:58:12 +08:00
Miao Wang
3ba70c6c71 cgroupv2: create cgroup manager on startup (WIP) 2021-07-23 18:46:39 +08:00
Miao Wang
2949b9c58c cgroupv2: change newCgroupHook interface 2021-07-23 15:29:28 +08:00
Miao Wang
27c33f86b3 cgroup: add reexec hook 2021-07-22 19:09:00 +08:00
Miao Wang
f0ccdc47dc docker: support memory limit 2021-07-12 22:26:13 +08:00
Miao Wang
3ce5c2ede3 change type of memlimit from string to int64 2021-07-12 21:44:43 +08:00
Miao Wang
80f0161eb0 CI: change package name to cgroup-tools 2021-06-14 12:23:40 +08:00
Qi Xiao
38a94758d2
Update URL of Elvish 2021-01-25 22:02:11 +00:00
Qi Xiao
ecc54bf6b7
Update rsync upstream of Elvish 2021-01-25 22:01:42 +00:00
♥️
60beeb6ccd
add useIPv4 option to two stage rsync (#150) 2021-01-07 14:35:21 +08:00
z4yx
a54c969081 Bump version to 0.7.1 v0.7.1 2020-10-23 21:27:53 +08:00
Yuxiang Zhang
5f5dba7154
Merge pull request #142 from tuna/more-db-backends
More db backends: badger and leveldb
2020-10-23 21:24:55 +08:00
Jiajie Chen
32c4d38449 Fix wrong usage of val in leveldb backend 2020-10-22 20:12:01 +08:00
Jiajie Chen
7dfe6a632c Add docs for badger and leveldb backends 2020-10-17 14:18:00 +08:00
Jiajie Chen
94154742a7 Add leveldb to db backend and fix error wrapping 2020-10-17 14:16:16 +08:00
Jiajie Chen
932dc69ae8 Add badger to db backend 2020-10-17 12:07:55 +08:00
z4yx
1f963e21aa Bump version to 0.7.0 v0.7.0 2020-10-15 21:27:55 +08:00
Yuxiang Zhang
7629b09917
Merge pull request #141 from tuna/add-redis-db-backend
Add redis db backend
2020-10-15 21:25:51 +08:00
jiegec
4e426c891e Fix error logging in server.go 2020-10-15 07:33:02 +08:00
jiegec
992044d402 Small code cleanup 2020-10-13 23:11:07 +08:00
jiegec
3c7ee8f9fd Add mock test for redis backend 2020-10-13 23:05:39 +08:00
jiegec
d341c0c99d Rearrange and fix db tests 2020-10-13 23:01:46 +08:00
jiegec
90b4e5debb Fix DeleteWorker behavior to match tests 2020-10-13 22:49:49 +08:00
jiegec
7dd61ae8ca Add kv abstration layer for bolt and redis 2020-10-13 22:41:58 +08:00
jiegec
5880ed92dc Use ParseURL from redis library 2020-10-13 19:35:32 +08:00
jiegec
fd4c07fdb5 Add redis backend to docs 2020-10-13 14:54:25 +08:00