runner/internal/app/run
Earl Warren f4d3a2c3a4
feat: allow --memory in workflow container options
It is already possible to limit the memory used by all containers in
the config file:

```yaml
container:
  options: --memory 200M
```

This limit can be further reduced (but not increased) by the same
option in a job:

```yaml
jobs:
  job:
    runs-on: docker
    container:
      image: code.forgejo.org/oci/node:20-bookworm
      options: --memory 200M
    steps:
      - run: echo OK
```

or a service container:

```yaml
job:
  my-job:
    runs-on: docker
    services:
      pgsql:
        image: postgres:15
        options: --memory 1G
```

Refs https://docs.docker.com/engine/containers/resource_constraints/#limit-a-containers-access-to-memory
2025-10-10 15:10:45 +02:00
..
mocks test: add mocks for RunnerInterface & Poller 2025-09-07 13:52:47 -06:00
logging.go Cherry-pick gitea act_runner #543 2024-11-03 13:57:34 +00:00
runner.go fix: don't panic on cacheproxy startup failure (#1067) 2025-10-07 08:09:14 +00:00
runner_test.go feat: allow --memory in workflow container options 2025-10-10 15:10:45 +02:00
workflow.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
workflow_test.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00