Skip to content

Conversation

@chucklever
Copy link
Contributor

To ease the transition between static, hand-built Kconfig menu files and dynamically constructed Kconfig menu files, introduce default menu files that are available immediately after a "git clone" of the kdevops repository. These are checked into git and tracked by source control. As part of "make menuconfig", there's now an intermediate make target that copies these defaults to the .generated file names if they don't already exist.

The Lambda Labs provider sources Kconfig.*.generated files that are
gitignored to prevent accidental commits of user-specific API data.
This means after a fresh git clone, make menuconfig fails because
these files don't exist.

This adds Kconfig.compute.default, Kconfig.location.default, and
Kconfig.images.default files that are tracked in git and contain
sensible static defaults. The Makefile target
dynamic_lambdalabs_kconfig_touch now copies these defaults to the
.generated files if they don't exist, rather than just creating
empty files.

The images default file is a placeholder since the Lambda Labs
terraform provider does not currently support OS image selection.

Users can run 'make cloud-config' to regenerate from the live API,
but the repository now works immediately after clone without any
extra steps.

Generated-by: Claude AI
Signed-off-by: Chuck Lever <cel@kernel.org>
The AWS provider sources Kconfig.*.generated files that are gitignored
to prevent accidental commits of user-specific API data. This means
after a fresh git clone, make menuconfig fails because these files
don't exist.

This adds Kconfig.ami.default, Kconfig.instance.default, and
Kconfig.location.default files that are tracked in git and contain
sensible static defaults generated from current API data. The Makefile
target dynamic_aws_kconfig_touch now copies these defaults to the
.generated files if they don't exist.

Users can run 'make cloud-config' to regenerate from the live API,
but the repository now works immediately after clone.

Generated-by: Claude AI
Signed-off-by: Chuck Lever <cel@kernel.org>
The Azure provider sources Kconfig.*.generated files that are gitignored
to prevent accidental commits of user-specific API data. This means
after a fresh git clone, make menuconfig fails because these files
don't exist.

This adds Kconfig.image.default, Kconfig.location.default, and
Kconfig.size.default files that are tracked in git and contain
sensible static defaults generated from current API data. The Makefile
target dynamic_azure_kconfig_touch now copies these defaults to the
.generated files if they don't exist.

Users can run 'make cloud-config' to regenerate from the live API,
but the repository now works immediately after clone.

Generated-by: Claude AI
Signed-off-by: Chuck Lever <cel@kernel.org>
The OCI provider sources Kconfig.*.generated files that are gitignored
to prevent accidental commits of user-specific API data. This means
after a fresh git clone, make menuconfig fails because these files
don't exist.

This adds Kconfig.image.default, Kconfig.location.default, and
Kconfig.shape.default files that are tracked in git and contain
sensible static defaults generated from current API data. The Makefile
target dynamic_oci_kconfig_touch now copies these defaults to the
.generated files if they don't exist.

Users can run 'make cloud-config' to regenerate from the live API,
but the repository now works immediately after clone.

Generated-by: Claude AI
Signed-off-by: Chuck Lever <cel@kernel.org>
Previously, DataCrunch had its .generated files tracked directly in git.
This worked for fresh clones but meant that running 'make cloud-config'
would cause the files to show as modified in git status.

This converts DataCrunch to use the same .default scheme as the other
cloud providers. The .generated files are now gitignored, and .default
files provide the sensible static defaults. The Makefile copies from
.default to .generated if the generated files don't exist.

This makes DataCrunch consistent with Lambda Labs, AWS, Azure, and OCI,
and prevents git pollution after regenerating from the API.

Generated-by: Claude AI
Signed-off-by: Chuck Lever <cel@kernel.org>
@chucklever chucklever merged commit dd6a35d into main Dec 20, 2025
20 of 22 checks passed
@chucklever chucklever deleted the cel/terraform-defaults branch December 20, 2025 15:59
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.

2 participants