Skip to content
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

Merged
merged 15 commits into from
Dec 12, 2019
Merged

Conversation

datamel
Copy link
Contributor

@datamel datamel commented Nov 29, 2019

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.

wxtim and others added 3 commits December 4, 2019 10:07
Add, commented for now, the upgrader to move settings from [runtime][TASK][job] to [runtime][TASK]
Copy link
Contributor

@dpmatthews dpmatthews left a 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.

cylc/flow/cfgspec/globalcfg.py Outdated Show resolved Hide resolved
cylc/flow/cfgspec/globalcfg.py Show resolved Hide resolved
cylc/flow/cfgspec/globalcfg.py Outdated Show resolved Hide resolved
cylc/flow/cfgspec/globalcfg.py Outdated Show resolved Hide resolved
Copy link
Member

@hjoliver hjoliver left a 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 👍

@wxtim wxtim changed the title Platform support job platforms: Global Spec Changes Dec 11, 2019
wxtim and others added 2 commits December 11, 2019 09:21
platform alias --> platform groups; platform groups a dict; remote ho…
@wxtim
Copy link
Member

wxtim commented Dec 11, 2019

@oliver-sanders please can you sanity check and merge?

Copy link
Member

@oliver-sanders oliver-sanders left a 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).

'__MANY__': [VDR.V_STRING_LIST]
# Platform Groups
'platform groups': {
'__MANY__': {}
Copy link
Member

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]
    }
}

@wxtim wxtim merged commit 8513d98 into cylc:master Dec 12, 2019
@datamel datamel deleted the platform_support branch September 20, 2022 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants