Skip to content

1.37.0

Compare
Choose a tag to compare
@tas-runtime-bot tas-runtime-bot released this 17 Aug 20:08
· 525 commits to develop since this release

Changes

  • 🐛Fixed a bug with garden-windows where process directories were being leaked in the garden depot. This adds a garden.cleanup_process_dirs_on_wait property to mimic cleanup logic from garden-linux. This property is defaulted to true on garden-windows, to keep the desired behavior for CF/Diego. If garden-windows is ever used with Concourse, users will want to set this to false.

Bosh Job Spec changes:

diff --git a/jobs/garden-windows/spec b/jobs/garden-windows/spec
index ef1ce54e..004e4e7f 100644
--- a/jobs/garden-windows/spec
+++ b/jobs/garden-windows/spec
@@ -69,6 +69,12 @@ properties:
     description: "path to the rootfs to use when a container specifies no rootfs"
     default: ""
 
+  # Since garden-windows is not currently used in Concourse, we are setting this to 'true' to make life easier for diego/cf users.
+  # https://github.com/cloudfoundry/garden-runc-release/releases/tag/v1.5.0
+  garden.cleanup_process_dirs_on_wait:
+    description: A boolean stating whether or not to cleanup process state after waiting for it. If set a process can be waited for only once.
+    default: true
+
   logging.format.timestamp:
     description: "Format for timestamp in component logs. Valid values are 'unix-epoch' and 'rfc3339'."
     default: "unix-epoch"
diff --git a/jobs/garden/spec b/jobs/garden/spec
index 259bba46..3bffb2f7 100644
--- a/jobs/garden/spec
+++ b/jobs/garden/spec
@@ -201,6 +201,8 @@ properties:
     description: A boolean stating whether or not to run garden-server as a non-root user
     default: false
 
+  # We believe this defaults to false to help concourse: https://github.com/cloudfoundry/garden-runc-release/releases/tag/v1.5.0
+  # For diego/cf, this should be set to true
   garden.cleanup_process_dirs_on_wait:
     description: A boolean stating whether or not to cleanup process state after waiting for it. If set a process can be waited for only once.
     default: false

✨ Built with go 1.20.7

Full Changelog: v1.36.0...v1.37.0

Resources