valohai / valohai-yaml

:book: Parses and validates valohai.yaml files.
MIT License
4 stars 4 forks source link

☸️ Add support for runtime config preset in the environment property #145

Open teroyks opened 8 months ago

teroyks commented 8 months ago

Allow defining a runtime_config preset with the environment. Both preset ID and slug should be supported.

Example (under step configuration):

# with UUID
environment: g2.superduperlarge/f1bd21c8-ae31-451f-b75d-51cd0882aa1f

# with slug
environment: g2.superduperlarge/gpu-devices

# QOL: allow spaces for readability
environment: g2.superduperlarge / gpu-devices
teroyks commented 1 week ago

Note: before adding any more preset-related features, the planned simplification of preset handling should be implemented!