Hello,
Consider the modified example,
{
"kind": "pipeline",
"type": "docker",
"name": "default",
"steps": [
{
"name": "build",
"image": "alpine",
"commands": [
"echo hello world",
],
"mem_limit": "1MB",
}
]
}
I used this command to produce a yaml configuration: drone jsonnet --source test.jsonnet --stdout
and got this,
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
steps:
- name: build
image: alpine
commands:
- echo hello world
...
The mem_limit
field is not in the output.