Commit Graph

85 Commits

Author SHA1 Message Date
criyle
348abdaf53 api: add /config endpoint for configuration and update go1.20 2023-02-19 02:02:02 -08:00
criyle
a06fc0b259 env: support symlink creation 2022-11-13 15:23:29 -08:00
criyle
f2f8631cb8 linuxcontainer: fix nested mount configuration 2022-08-27 00:37:48 -07:00
criyle
ef85788a6a linuxcontainer: load default environment variable from /.env 2022-08-25 20:41:07 -07:00
criyle
ce07b7079a build: use goreleaser 2022-05-23 14:47:50 -07:00
criyle
a461f88d64 main: move metrics / debug to another endpoint 2022-02-21 23:28:55 -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
6643a592ba doc: update README 2021-11-14 19:52:51 -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
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
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
841bc95e61 *: upgrade to go 1.17 2021-08-18 22:13:13 -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
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
9dba0d0b09 doc: update README 2021-05-08 14:55:51 -07:00
criyle
ba8d3924d8 feat: add timeout support to filestore
resolve #11
2021-04-17 18:13:18 -07:00
criyle
222eb97b25 docs: 加入中文文档 2021-04-06 02:03:19 -07:00
criyle
9dec36d395 filestore: refactor uniqure id generator 2021-03-19 00:28:11 -07:00
criyle
8d3bf1bf62 feat(sandbox): add strict memory limit
- remove rlimit data when cgroup enabled
- add `strictMemoryLimit` to request parameter to re-enable rlimit data limit
2021-02-06 12:46:39 -08:00
criyle
2213b5b092 feat(env): compatibility with kernel >= 3.10 2021-01-21 00:44:01 -08:00
criyle
a0cc4acbe8 Reduce build size 2021-01-09 00:38:46 -08:00
criyle
0db852c242 feat(worker): add default file copy out max 2021-01-09 00:22:51 -08:00
criyle
d48341b23c Docker build 2020-12-30 15:04:39 -08:00
criyle
6055f165b5 Update naming: realCpuLimit -> clockLimit 2020-12-30 13:01:03 -08:00
criyle
8e096ed14b Update gRPC package versions 2020-12-26 19:43:56 -08:00
criyle
f5dff9ca57 Refactor package structure & debug outputs 2020-12-25 17:25:09 -08:00
criyle
04cfb36722 Add support to load a seccomp filter 2020-12-13 21:08:52 -08:00
criyle
4bf6f869f5 Add ability to limit cpu usage rate by CFS cgroup 2020-12-12 23:44:01 -08:00
criyle
ed5b820266 Add config to specifies credential start 2020-12-12 21:46:09 -08:00
criyle
e1f8c954e0 Add configuration to OutputLimit & CpuSet 2020-12-06 18:45:56 -08:00
criyle
64788f27d6 customizable workDir, hostName, domainName 2020-11-29 16:13:06 -08:00
criyle
a807a66176 Refactor config parsing 2020-11-29 09:00:12 -08:00
criyle
e5c0f8ec40 Update dependencies 2020-09-22 19:56:24 -07:00
criyle
d156258b6f FIX TYPO: parallism -> parallelism 2020-09-06 00:33:16 -07:00
criyle
716c2cdc4e add /version api 2020-07-23 22:43:36 -07:00
criyle
7535e5862f Add srcprefix command arg to restrice src copyin 2020-07-04 21:08:23 -07:00
criyle
f4496d38f6 Add tty io 2020-06-16 16:44:12 -04:00
criyle
42db182573 Update documents 2020-06-11 18:40:46 -04:00
criyle
7c83b59b43 Add token-based authentication 2020-06-11 18:33:44 -04:00
criyle
140aeffcd9 Add environment variable controls 2020-06-11 15:16:46 -04:00
criyle
238ba879e1 Add stack limit settings to request 2020-06-08 15:36:11 -04:00
criyle
a439711540 Add runTime as wall clock time 2020-06-05 00:36:48 -04:00
criyle
891ed8165b Add stdin / stdout streaming support 2020-06-02 19:43:18 -04:00