Skip to content

[scripts]: add update-container script for upgrade/downgrades#1173

Merged
jglogan merged 1 commit into
apple:mainfrom
saehejkang:add-container-upgrade-script
Feb 25, 2026
Merged

[scripts]: add update-container script for upgrade/downgrades#1173
jglogan merged 1 commit into
apple:mainfrom
saehejkang:add-container-upgrade-script

Conversation

@saehejkang

@saehejkang saehejkang commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Closes #1171

Testing

Building this locally and running /usr/local/bin/update-container.sh the first time works but it won't work a second time. The latest release does not have the updated changes in the Makefile, so the file is not found. For now, use ./scripts/update-container.sh for testing purposes.

# Update to latest release
./scripts/update-container.sh
# Start the container
container system start
# Run the container image command
container image ls --format json | jq

The fullSize field SHOULD exist as that was an update in release 0.9.0 (the latest version).

# Stop the container
container system stop
# Downgrade to an old release
./scripts/update-container.sh -v 0.3.0
# Start the container
container system start
# Run the container image command
container image ls --format json | jq

The fullSize field should NOT exist as that was not a change made in release 0.3.0

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@saehejkang saehejkang changed the title [scripts]: add container-update script for upgrade/downgrades [scripts]: add update-container script for upgrade/downgrades Feb 11, 2026
@jglogan jglogan added this to the 2026-02 milestone Feb 11, 2026

@jglogan jglogan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saehejkang this looks good, just one small typo. Sorry for the delay, been off battling CI issues...

Comment thread README.md Outdated
@saehejkang saehejkang force-pushed the add-container-upgrade-script branch from 4bcef00 to b5271f6 Compare February 24, 2026 04:46
@saehejkang

Copy link
Copy Markdown
Contributor Author

Sorry for the delay, been off battling CI issues...

No worries. I was keeping an eye on the battle you were having with the CI and it did not look like a fun time 😐.

@jglogan

jglogan commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

@saehejkang sigh, yeah, still a few layers of the CI onion to peel yet.

@jglogan jglogan merged commit 339a389 into apple:main Feb 25, 2026
3 checks passed
@saehejkang saehejkang deleted the add-container-upgrade-script branch February 25, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: Add container-update script to upgrade/downgrade version

3 participants