Skip to content

Conversation

@bertiethorpe
Copy link
Member

Addresses #680 (comment)

This PR breaks the existing dependency for openondemand app installs to require a cluster to be deployed in the environment used for image builds.

  • openondemand_*_partition is overridden for builder vars so that ood app install always included in image builds
  • In this case the named partitions don't actually exist and so vars are simply truthy
  • In the common environment, logic handles cases where openhpc_partitions is defined and populated, defined and empty and undefined

@bertiethorpe bertiethorpe marked this pull request as ready for review November 7, 2025 17:32
@bertiethorpe bertiethorpe requested a review from a team as a code owner November 7, 2025 17:32
appliances_mode: build
proxy_remove: true
# for image build ood partition var is just truthy as no cluster_groups defined
openondemand_jupyter_partition: true
Copy link
Member

Choose a reason for hiding this comment

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

I would be tempted by keeping the types consistent, with "fake_builder_partition" or something like that? With empty string for the ones bellow. With an updated comment.

... but this is also fine, if we get it working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants