Commit Graph

119 Commits

Author SHA1 Message Date
criyle
4de8c98bc2 linuxc: create transient unit cgroup on systemd enabled distribution via dbus
fixes #89
2023-11-09 10:57:42 +00:00
criyle
eded6e02f6 linuxc: add addressSpaceLimit to enable rlimit_as 2023-10-30 03:10:28 +00:00
dependabot[bot]
1117e6eed7
build(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#88) 2023-10-26 01:01:24 +00:00
dependabot[bot]
4b6c7ac52b
build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 (#87)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  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-10-12 22:41:38 +08:00
criyle
eecd8bd6f2 deps: upgrade to go1.21 with dependencies 2023-09-27 13:50:23 +00:00
criyle
faec026b31 *: update dependency versions 2023-08-11 08:12:42 +00:00
criyle
9e403cb2d2 doc: reorder paragraphs & update dependencies 2023-07-21 09:07:42 +00:00
criyle
8b35d65755 build(deps): bump all dependencies to latest 2023-06-11 08:37:33 +00:00
dependabot[bot]
47ca7445f2
build(deps): bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#67)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1.
- [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.9.0...v1.9.1)

---
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-06-11 16:12:06 +08:00
criyle
dd8c6ec2d0 *: bump dependencies & fix multiple cmd pipe proxy copy out 2023-04-13 02:47:58 -07: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
a06fc0b259 env: support symlink creation 2022-11-13 15:23:29 -08: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
ce07b7079a build: use goreleaser 2022-05-23 14:47:50 -07:00
criyle
f84badc067 *: bump dependency versions 2022-04-22 15:57:33 -07:00
criyle
aeafe49334 mac: ignore memory limit 2022-04-03 03:09:20 -07:00
criyle
105980bb73 *: bump to go1.18 2022-03-20 23:40:21 -07: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
c233f64485 linuxcontainer: fix cgroup v2 memory usage 2022-02-12 08:19:13 +00: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
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
1326a38b25 model: fix gRPC segv caused by mmap before encoding
- fix mount proc argument
2021-09-20 19:00:03 -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
841bc95e61 *: upgrade to go 1.17 2021-08-18 22:13:13 -07:00
criyle
24deb3aeac linuxcontainer: add CAP_SYS_RESOURCE 2021-08-10 00:00:37 -07: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
c34a83b617 file: get /file contains original name 2021-06-22 01:15:01 -07:00