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

Platformization of examples #370

Merged
merged 9 commits into from
Jan 5, 2022

Conversation

wxtim
Copy link
Member

@wxtim wxtim commented Dec 15, 2021

@wxtim wxtim marked this pull request as draft December 15, 2021 14:16
Added a cookie cutter warning that ideally most users shouldn't be writing their own warnings
@wxtim wxtim force-pushed the platformization_of_examples branch from daf50d8 to 5249996 Compare December 15, 2021 14:17
@wxtim wxtim marked this pull request as ready for review December 15, 2021 16:05
src/reference/config/global.rst Outdated Show resolved Hide resolved
src/reference/config/user-platform-warning.rst Outdated Show resolved Hide resolved
src/reference/config/user-platform-warning.rst Outdated Show resolved Hide resolved
src/tutorial/runtime/runtime-configuration.rst Outdated Show resolved Hide resolved
src/user-guide/running-workflows/tracking-task-state.rst Outdated Show resolved Hide resolved
src/user-guide/running-workflows/tracking-task-state.rst Outdated Show resolved Hide resolved
src/user-guide/running-workflows/tracking-task-state.rst Outdated Show resolved Hide resolved
src/user-guide/writing-workflows/parameterized-tasks.rst Outdated Show resolved Hide resolved
@wxtim
Copy link
Member Author

wxtim commented Dec 16, 2021

@oliver-sanders - Responded to your review, but deliberately not resolved comments so that you can see my responses.

@wxtim wxtim force-pushed the platformization_of_examples branch from df8e5b1 to d3328ad Compare December 16, 2021 10:08
@wxtim wxtim self-assigned this Dec 16, 2021
@wxtim wxtim added this to the 8.0rc1 milestone Dec 16, 2021
Copy link
Contributor

@datamel datamel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have read the code, built the docs. One typo, one suggestion - feel free to accept or reject.
Thanks @wxtim.

src/reference/config/user-platform-warning.rst Outdated Show resolved Hide resolved
src/user-guide/running-workflows/tracking-task-state.rst Outdated Show resolved Hide resolved
@wxtim wxtim requested a review from oliver-sanders December 16, 2021 14:08
src/tutorial/runtime/runtime-configuration.rst Outdated Show resolved Hide resolved
src/tutorial/runtime/runtime-configuration.rst Outdated Show resolved Hide resolved
src/tutorial/runtime/runtime-configuration.rst Outdated Show resolved Hide resolved
src/user-guide/running-workflows/tracking-task-state.rst Outdated Show resolved Hide resolved
src/user-guide/writing-workflows/runtime.rst Outdated Show resolved Hide resolved
src/user-guide/writing-workflows/runtime.rst Outdated Show resolved Hide resolved
platform = $(script-which-returns-a-platform-name)

Job hosts are always selected dynamically, for the chosen platform or
platform group.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth adding a paragraph explaining what happens if the command exits with a non-zero return code or bump to a new issue.

Copy link
Member Author

@wxtim wxtim Jan 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've bumped this to #374 because:

  • I've not been well enough to deal today with it.
  • This PR may be at risk horrid conflicts with Mel's work.

src/workflow-design-guide/general-principles.rst Outdated Show resolved Hide resolved
src/workflow-design-guide/general-principles.rst Outdated Show resolved Hide resolved
src/reference/config/writing-platform-configs.rst Outdated Show resolved Hide resolved
@oliver-sanders oliver-sanders merged commit 1377c4d into cylc:master Jan 5, 2022
@wxtim wxtim deleted the platformization_of_examples branch January 6, 2022 10: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.

TODO - consider a re-write once dynamic platform selection done TODO - platformise this example
3 participants