-
Notifications
You must be signed in to change notification settings - Fork 37
feat: includeTopologies #254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@glattercj @activeshadow let me know if you have thoughts. I am still looking at a few things and testing edge cases. |
|
Make sure to update the documentation with a minimal example 🤠 |
|
This is not working out how I hoped. It helps a little but then we still have to maintain multiple different versions of the same app in different scenario files to correspond to different topos. I am thinking about a different way to tackle this through the API, allowing multiple topo/scenario pairs to get loaded at once and then "merged" at experiment creation time. apiVersion: phenix.sandia.gov/v0
kind: Workflow
metadata: {}
spec:
auto:
create: ${BRANCH_NAME}
configs:
- topology: ${BRANCH_NAME}-IT
scenario: ${BRANCH_NAME}-IT
- topology: ${BRANCH_NAME}-OT
scenario: ${BRANCH_NAME}-OT
...Then on exp creation:
I will leave this open for now. |
05807fb to
c289f6b
Compare
|
Making the API change does not solve any of the problems I encountered. I still want to work toward this idea in the future, but I need some modularity now. I am going to keep the |
|
@GhostofGoes FYSA. I have done some light testing (fetching from store, fetching files on disk, checking for cyclic imports). Working on docs now. |
GhostofGoes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments explaining what case each of the 3 if blocks in load topology is handling wouldn't be unwelcome. Otherwise LGTM.
This adds the ability to nest and compose topologies from others, via existing topologies in the store or files on disk.
c289f6b to
83d1487
Compare
feat: includeTopologies
Description
This change introduces the ability to nest and compose topologies by leveraging existing stored topologies or defined in files on disk. This allows for modularity and reusability when defining complex topologies
Ex:
Related Issue
Tangential to #247
Documentation sandialabs/sceptre-phenix-docs#27
Type of Change
Please select the type of change your pull request introduces:
Checklist