Skip to content

Conversation

@dustymabe
Copy link
Member

Now we get most information from the build-args.conf, but for things we don't let's use build-rootfs parse-treefile for that.

Fixes #4002

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request refactors how build arguments, stream names, and distribution tags are retrieved by introducing a new get_build_args function that reads values from build-args.conf using the dotenv library. This centralizes configuration retrieval and moves away from parsing manifest.yaml for these specific values, improving maintainability. The get_treefile function is also updated to use the build-rootfs parse-treefile command, leveraging the new build arguments. However, there are a couple of issues related to error handling for missing configuration keys and a functional change in the format of the distribution tag.

Now we get most information from the build-args.conf,
but for things we don't let's use build-rootfs parse-treefile
for that.

Fixes coreos#4002
Copy link
Member

@aaradhak aaradhak left a comment

Choose a reason for hiding this comment

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

This LGTM. I had to spend some time to understand this.

@dustymabe dustymabe merged commit b54d03b into coreos:testing-devel Feb 10, 2026
9 checks passed
@dustymabe dustymabe deleted the dusty-overrides-py branch February 10, 2026 00:01
@dustymabe
Copy link
Member Author

followup in #4007

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.

Remove graduated overrides consistently failing on "error: undefined variable 'stream'"

2 participants