Attach Livebook metadata to Fly runtime machines (#2763)

This commit is contained in:
José Valim 2024-08-28 07:49:26 -04:00 committed by GitHub
parent 34fadc3996
commit e7724d5356
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -201,7 +201,8 @@ defmodule Livebook.Runtime.Fly do
mounts: config.volume_id && [%{volume: config.volume_id, path: "/home/livebook"}], mounts: config.volume_id && [%{volume: config.volume_id, path: "/home/livebook"}],
auto_destroy: true, auto_destroy: true,
restart: %{policy: "no"}, restart: %{policy: "no"},
env: env env: env,
metadata: %{livebook_runtime: true}
} }
case Livebook.FlyAPI.create_machine( case Livebook.FlyAPI.create_machine(