Commit Graph

236 Commits

Author SHA1 Message Date
criyle
a23ea1c625 github: update go version to 1.20 2023-02-19 02:04:46 -08:00
criyle
348abdaf53 api: add /config endpoint for configuration and update go1.20 2023-02-19 02:02:02 -08:00
criyle
330573eceb envexec: open collecting files before exec to avoid error when deleted 2022-12-26 13:13:29 -08:00
criyle
c7d4babb64 config: set default value for copyOutMax to 256m 2022-12-02 21:56:39 -08:00
criyle
32870c4516 ci: update build.yml 2022-11-13 15:29:27 -08:00
criyle
a06fc0b259 env: support symlink creation 2022-11-13 15:23:29 -08:00
yzy-1
561c0a6955
ffi: refactor cinterface (#43)
* ffi: refactor cinterface

* ffi: change Init parameters to JSON
2022-10-25 02:16:57 -04:00
criyle
e5c7b811e5 github: upgrade actions 2022-10-20 21:32:32 -07:00
criyle
3531ea67d0 github: update actions 2022-10-20 21:11:06 -07:00
criyle
a10fd6892e main: log error when listening failed 2022-10-20 20:35:47 -07:00
criyle
8bd65f1e9c model: fix file leak for gRPC and websocket handler
fix #40
2022-10-18 20:55:16 -07:00
criyle
5b5924608c linuxcontainer: build on go1.19
log info for ws error

fix #38
fix #39
2022-10-01 19:08:08 -07: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
9de5338137 linuxc: fix exec failure message 2022-08-13 01:34:17 -07:00
criyle
1cd461b1c5 linuxc: look up executable inside container using PATH environment variable 2022-08-13 01:24:18 -07:00
criyle
3734a92c4b linuxcontainer: ignore signals and unresponsive containers 2022-08-09 21:29:35 -07:00
criyle
b248dd1747 grpc: wrap error with status code
resolves #37
2022-07-30 00:56:59 -07:00
criyle
80633d0acd linuxcontainer: use temp directory as root 2022-07-15 23:57:20 -07:00
criyle
0d5148f703 build: fix docker platform 2022-05-23 15:28:19 -07:00
criyle
1bba5723d2 build: fix dependency 2022-05-23 14:48:57 -07:00
criyle
ce07b7079a build: use goreleaser 2022-05-23 14:47:50 -07:00
汪心禾 Wang, Xinhe
77abb8211f
Fix typo (#35)
- go 语音
+ go 语言
2022-05-14 00:34:10 -04:00
criyle
f84badc067 *: bump dependency versions 2022-04-22 15:57:33 -07:00
criyle
4b6ab1923c mac: fix Xcode clang compile 2022-04-03 03:49:48 -07:00
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