spack / spack-gantry

A Dynamic Resource Allocation System for Spack CI and Kubernetes
Other
2 stars 0 forks source link

Add centralized config #112

Open cmelone opened 1 month ago

cmelone commented 1 month ago

Problem/Opportunity Statement

We define constants in code that are technically preferences of the authors, they should be decoupled to allow for customization.

example: https://github.com/spack/spack-gantry/blob/efd78caa73a8001a8af29cfcb71a694dd0640d3b/gantry/routes/prediction/prediction.py#L10-L22

What would success / a fix look like?

Nothing fancy, maybe an optional config.py under gantry/.