Commit Graph

261 Commits

Author SHA1 Message Date
criyle
aeafe49334 mac: ignore memory limit 2022-04-03 03:09:20 -07:00
criyle
3e2c914136 *: drop macOS support 2022-03-20 23:43:44 -07:00
criyle
105980bb73 *: bump to go1.18 2022-03-20 23:40:21 -07:00
criyle
fcb56ae242 container: fix build by using unix package 2022-03-13 11:18:56 +00:00
criyle
227f398662 container: add support to copy into sub-directory 2022-03-13 11:13:33 +00:00
criyle
a4334d00d6 linuxcontainer: fix cgroup v1 cpuRateLimit 2022-03-01 00:06:44 -08:00
criyle
a461f88d64 main: move metrics / debug to another endpoint 2022-02-21 23:28:55 -08:00
criyle
d00db1c7f7 metrics: adjust some metrics names 2022-02-20 01:34:43 -08:00
criyle
3fbef94e0f version: fix version generation for git action 2022-02-12 09:39:33 +00:00
criyle
00fba25769 version: fix git action and docker version generation 2022-02-12 09:29:55 +00:00
criyle
414efbf597 envexec: performance improvements for content copyIn 2022-02-12 09:05:10 +00:00
criyle
c233f64485 linuxcontainer: fix cgroup v2 memory usage 2022-02-12 08:19:13 +00:00
criyle
31533cb73d filestore: performance boost 2022-02-01 13:00:11 -08:00
criyle
43f1e0dab2 envexec: reduce goroutine usage
doc: update cgroup v2
2022-01-31 09:42:23 +00:00
criyle
5fd53e07ca filestore: use math/rand & reduce fileId to 40bit 2022-01-08 19:25:23 -08:00
criyle
dd4c6ee994 cgroup: add cgroup v2 support in containers 2021-12-25 23:28:13 +00:00
criyle
359fda504e cgroup: add support of cgroup v2 2021-12-24 23:02:17 -08:00
criyle
96ad6f979b container: add ability to mask path 2021-11-28 23:26:57 -08:00
criyle
5a79fa24f7 *: bump dependency versions 2021-11-19 15:09:43 -08:00
criyle
dbcfc79614 worker: add ability to cancel task when queue is full 2021-11-19 14:34:00 -08:00
criyle
6643a592ba doc: update README 2021-11-14 19:52:51 -08:00
criyle
1c3681ba39 ws: add ability to cancel running task
- client is able to cancel task via close connection and cancel request

close #24
2021-11-14 19:17:07 -08:00
criyle
049d26a179 linuxc: limit open file count & add stdio devices 2021-11-12 01:35:47 -08:00
criyle
d8581a0c0c linuxcontainer: allow restrict usage of CPU and CPU set
- change cpuRate to int and 1000 means 1 CPU 100%
2021-10-30 23:25:30 -07:00
criyle
7f0b066258 linuxcontainer: do not change uid/gid by default 2021-09-27 23:57:46 -07:00
criyle
34e87660d8 fix build 2021-09-20 19:09:04 -07:00
criyle
1326a38b25 model: fix gRPC segv caused by mmap before encoding
- fix mount proc argument
2021-09-20 19:00:03 -07:00
criyle
915cbaccbb envexec: add detailed file error message 2021-09-20 00:43:05 -07:00
criyle
b54becc32d envexec: collect output through a file in container
- add `pipe` boolean to collector to indicate whether to use pipe or file as collector

close #21
2021-09-19 22:05:24 -07:00
criyle
7e5060b349 gomod: fix replace 2021-09-19 15:48:45 -07:00
criyle
78bb4d85de filestore: use /dev/shm instead of memory as file storage
- increase default tmpfs size to 128M
- add /config to get file store path
- remove memory only file store

close #20
2021-09-19 15:47:24 -07:00
criyle
9414057b8b build: fix darwin/arm64 2021-08-18 22:47:27 -07:00
criyle
841618d13a build: macos does not build on go 1.17, keep 1.16 2021-08-18 22:42:23 -07:00
criyle
841bc95e61 *: upgrade to go 1.17 2021-08-18 22:13:13 -07:00
Yang Gao
323b21a982
Merge pull request #16 from undefined-moe/patch-2
typo
2021-08-17 10:35:12 -07:00
undefined
dfa3296507
typo 2021-08-18 00:55:19 +08:00
undefined
837160b034
typo 2021-08-18 00:54:07 +08:00
criyle
24deb3aeac linuxcontainer: add CAP_SYS_RESOURCE 2021-08-10 00:00:37 -07:00
Yang Gao
5a1e9cfa05
Merge pull request #15 from undefined-moe/patch-1 2021-08-09 12:13:17 -07:00
undefined
49078dadc8
typo 2021-08-10 03:12:03 +08:00
criyle
176a61e96e sandbox: add error location & ignore unshare cgroup error 2021-08-04 22:46:47 -07:00
criyle
d6042729e5 *: bump dependecies with go1.16.6 2021-07-15 19:03:05 -07:00
criyle
55ffb52086 main: reduce memory allocation & force GC regularly 2021-06-24 20:27:43 -07:00
criyle
c34a83b617 file: get /file contains original name 2021-06-22 01:15:01 -07:00
criyle
af6605ad33 readme: add missing command line arguments 2021-06-12 19:28:23 -07:00
criyle
e99bcce3db version: add pipeProxy feature flag & udpate dependencies 2021-06-12 17:45:01 -07:00
criyle
0d09e88184 envexec: Add pipe proxy support 2021-06-12 17:33:53 -07:00
criyle
6195204dcc envexec: add optional flag for copyOut files
fix #14
2021-06-05 20:24:08 -07:00
criyle
46ec099685 linuxcontainer: bump dependency versions go1.16.5 2021-06-05 17:07:27 -07:00
criyle
9dba0d0b09 doc: update README 2021-05-08 14:55:51 -07:00