What's the best way to make sure an image like ghcr.io/cirruslabs/macos-ventura-xcode:latest is up-to-date on workers? I've tried to manually run tart pull ghcr.io/cirruslabs/macos-ventura-xcode:latest on the worker but that still doesn't help.
orchard create vm --image ghcr.io/cirruslabs/macos-ventura-xcode:latest ventura --memory 2096 --cpu 2 --headless=false still launched a VM with an old hash on the worker.
Should this be a configurable option when launching orchard worker like pulling the base image IfNotPresent/Always? Or a command issued via the controller and applied to all workers?
If it helps, this is the output on the worker via tart:
user@mac~ % /opt/homebrew/bin/tart list
Source Name Size Running
local orchard-3ca4732f-365f-41f2-9f5b-0f7381e37e35-87882b33-75a5-4804-915d-11dd91205aa4-0 54 true
oci ghcr.io/cirruslabs/macos-ventura-xcode:latest 90 false
oci ghcr.io/cirruslabs/macos-ventura-xcode@sha256:8d972b3c9c570ced7280484afd798d9bc83b09eb8a11e35aef4fef03d71b2bd2 90 false
user@mac ~ % /opt/homebrew/bin/tart pull ghcr.io/cirruslabs/macos-ventura-xcode:latest
pulling ghcr.io/cirruslabs/macos-ventura-xcode:latest...
pulling manifest...
pulling disk (41.3 GB compressed)...
100%
pulling NVRAM...
user@mac ~ % /opt/homebrew/bin/tart list
Source Name Size Running
local orchard-3ca4732f-365f-41f2-9f5b-0f7381e37e35-87882b33-75a5-4804-915d-11dd91205aa4-0 71 true
local orchard-ventura-xcode-3-65896ab7-7014-4bcf-aebc-aff24e9d44c0-0 52 true
oci ghcr.io/cirruslabs/macos-ventura-xcode:latest 90 false
oci ghcr.io/cirruslabs/macos-ventura-xcode@sha256:d67230f3e3f0e52bae4e0923aa7d7ebaa5e799df9b812eab18557675d1480c84 90 false
Update: it looks like I was misled by a test of the GitHub Actions runner version which may not have been updated on the latest tag, so it's possible that the orchard command may have picked up the right image hash after all.
Hi,
What's the best way to make sure an image like
ghcr.io/cirruslabs/macos-ventura-xcode:latest
is up-to-date on workers? I've tried to manually runtart pull ghcr.io/cirruslabs/macos-ventura-xcode:latest
on the worker but that still doesn't help.orchard create vm --image ghcr.io/cirruslabs/macos-ventura-xcode:latest ventura --memory 2096 --cpu 2 --headless=false
still launched a VM with an old hash on the worker.Should this be a configurable option when launching
orchard worker
like pulling the base imageIfNotPresent
/Always
? Or a command issued via the controller and applied to all workers?If it helps, this is the output on the worker via
tart
:Update: it looks like I was misled by a test of the GitHub Actions runner version which may not have been updated on the
latest
tag, so it's possible that the orchard command may have picked up the right image hash after all.Much appreciate!