448 Commits

Author SHA1 Message Date
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
jiegec
a137f0676a Add redis backend for db 2020-10-13 14:50:19 +08:00
jiegec
a2887da2dd Move bolt db adapter to separate file 2020-10-13 14:27:41 +08:00
Chen
136e01f1cd
Merge pull request #140 from tuna/use-string-for-cmd-verb
Use string for command verb, so it is easier to read
2020-10-10 20:51:19 +08:00
Jiajie Chen
cd73602988 Use string for command verb in json, so it is easier to read 2020-10-10 20:43:13 +08:00
Yuxiang Zhang
2a8fa5636e
Merge pull request #139 from tuna/support-non-linux-platforms
Mock btrfs hook in non linux platforms like darwin
2020-09-17 21:29:51 +08:00
Chen
94b9b20626
Improve docs (#138) 2020-09-17 12:43:01 +08:00
Jiajie Chen
5a9c6b9020 Mock btrfs hook in non linux platforms like darwin 2020-09-17 12:27:46 +08:00
Yuxiang Zhang
75ee481cfa
Merge pull request #137 from tuna/rsync-risk-tmp
add --filter "risk .~tmp~/" to rsync options
2020-09-16 08:10:36 +08:00
Miao Wang
2f9e96a75a add --filter "risk .~tmp~/" to rsync options
This option is for delete `.~tmp~/` folder upon successful sync,
`--delete-excluded` will not be needed.
2020-09-15 20:01:24 +08:00
Yuxiang Zhang
aa36b96828
Merge pull request #136 from tuna/show-url-in-worker-list
Display worker url in listWorkers
2020-09-15 19:34:57 +08:00
Miao Wang
e9ce7fc87a CI: change gid of files in the tar archive to 0 2020-09-14 20:42:12 +08:00
jiegec
3fd71d777b Display worker url in listWorkers 2020-09-14 14:50:12 +08:00
Chen
984f8a1eb5
Update two stage rsync profiles (#135)
* Update two stage rsync profiles

* Fix tests of two stage rsync provider
2020-09-14 14:48:20 +08:00
Miao Wang
a4d94cae07 bump to version 0.6.7 v0.6.7 2020-09-11 18:21:15 +08:00
Miao Wang
8ebace4d9a Add support for multiarch builds 2020-09-11 17:59:33 +08:00
Yuxiang Zhang
b578237df8
Merge pull request #134 from tuna/worker-last-online-register
Worker last online and last register
2020-09-10 23:08:57 +08:00
Jiajie Chen
9f7f18c2c4 Fix missing method in mock test 2020-09-10 21:58:31 +08:00
Jiajie Chen
fd274cc976 Refresh worker LastOnline when worker updates 2020-09-10 21:51:33 +08:00
Jiajie Chen
b4b81ef7e9 Fix typo: registor -> register 2020-09-10 21:32:22 +08:00
Jiajie Chen
c8600d094e Add LastRegister to WorkerStatus 2020-09-10 21:31:31 +08:00
z4yx
2ba3a27fa3 ignore the SIGTERM failure 2020-09-06 19:23:26 +08:00
Yuxiang Zhang
b34238c097
Merge pull request #130 from tuna/add-bolt-open-timeout
Add 5 seconds timeout for bolt
2020-08-05 12:41:29 +08:00