Skip to content

Conversation

@rmvangun
Copy link
Contributor

@rmvangun rmvangun commented Aug 3, 2025

A build ID can be generated by running windsor build-id --new. This mechanism creates a BUILD_ID environment variable, and injects a BUILD_ID as a post build in the kubernetes cluster.

Bulid IDs are formatted YYMMDD.RND.#

Which includes a date, random ID, and an incrementing integer. This mechanism can be used for tagging and deploying images to the local development cluster. Each windsor install will trigger an update to the build ID if it has changed, triggering a redeploy.

rmvangun and others added 3 commits August 2, 2025 10:15
The `windsor build-id` command is used to manage an incremental build ID for local development purposes. This build ID always increments as it is generated from the unix epoch time stamp. The `windsor build-id --new` flag triggers the creation of a new build ID.

The build ID is stored in a `.windsor/.build-id` file. It is exported as the `BUILD_ID` env var, as well as made available throughout the cluster configuration using the ${BUILD_ID} post build variable.
@rmvangun rmvangun merged commit 54cb360 into main Aug 3, 2025
12 checks passed
@rmvangun rmvangun deleted the feature/build-id branch August 3, 2025 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants