Skip to content

Version the image builders#135

Merged
jose-caballero merged 4 commits into
mainfrom
ib_version
May 6, 2026
Merged

Version the image builders#135
jose-caballero merged 4 commits into
mainfrom
ib_version

Conversation

@khalford
Copy link
Copy Markdown
Member

@khalford khalford commented May 5, 2026

To help with debugging VMs as images get older, I am adding a metadata field named "ib_version" to the images. This metadata field will tell us what version of the image builders was used when that image was released.

This adds the version.txt file to track the version, updates the README to include steps, adds the metadata to the build file and updates the changelog version.

Clarifying some of the steps and change heading case
@khalford khalford self-assigned this May 5, 2026
@khalford khalford added enhancement New feature or request OS Images labels May 5, 2026
@khalford khalford changed the title Version the OS images Version the image builders May 5, 2026
@jose-caballero
Copy link
Copy Markdown
Contributor

why not "image_builder_version" or similar? Something more explicit than just "ib_version", to make sure everyone will always know what it means...

@jose-caballero
Copy link
Copy Markdown
Contributor

First version is 0.0.1 instead of 1.0.0? What is the meaning of each digit?

Add stage with guide on how to handle versions. This describes how to update the version of the image builders and what to do before releasing if you don't need to update the version.
@khalford
Copy link
Copy Markdown
Member Author

khalford commented May 5, 2026

why not "image_builder_version" or similar? Something more explicit than just "ib_version", to make sure everyone will always know what it means...

I have made the change

@khalford
Copy link
Copy Markdown
Member Author

khalford commented May 5, 2026

First version is 0.0.1 instead of 1.0.0? What is the meaning of each digit?

I have just checked the SemVer and the initial version should be 0.1.0. The FAQ on the SemVer docs answers lots of questions https://semver.org/#faq

Comment thread os_builders/build.pkr.hcl Outdated
Comment thread os_builders/CHANGELOG Outdated
Comment thread os_builders/CHANGELOG Outdated
Releasing changes for version 0.0.1. This is the first version to be released for the image builders.  By adding the image builders version (ib_version) to the image metadata we can see what version the images were built with.
@khalford khalford marked this pull request as ready for review May 6, 2026 14:11
@jose-caballero jose-caballero merged commit 7bdd43e into main May 6, 2026
7 checks passed
@jose-caballero jose-caballero deleted the ib_version branch May 6, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request OS Images

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants