-
Notifications
You must be signed in to change notification settings - Fork 94
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
job platforms: Global Spec Changes #3453
Conversation
…and task>remote will need to take place
Mels platform branch broken test fix
Add, commented for now, the upgrader to move settings from [runtime][TASK][job] to [runtime][TASK]
Platform support
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.
Config changes all make sense to me. I've tried to add comments to explain the significant changes.
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.
Agree with @oliver-sanders' suggestions, otherwise approved 👍
…st type correct to string list
platform alias --> platform groups; platform groups a dict; remote ho…
@oliver-sanders please can you sanity check and merge? |
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.
One change then all good (happy for you to merge once fixed).
cylc/flow/cfgspec/globalcfg.py
Outdated
'__MANY__': [VDR.V_STRING_LIST] | ||
# Platform Groups | ||
'platform groups': { | ||
'__MANY__': {} |
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.
Needs the platforms
setting e.g:
'platform groups': {
'__MANY__': {
'platforms': [VDR.V_STRING_LIST]
}
}
Add job platforms section to cylc/flow/cfgspec/global_config.rc.
Included the content currently included in the [hosts][many] section.
Did not include the [hosts][localhost]
Added platform setting to the task section of cylc/flow/cfgspec/suite.rc.
Moved Configs from suite.rc[runtime][TASK][job/remote] to flow.rc[platforms][MANY].
The diff for PR #3348 should provide further details.
Remove old configurations <----- Not completed yet as do not want to break master. Comments added to remind us to delete these in future.
Appropriate tests are included (unit and/or functional).
No documentation update required yet.