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 file: add set -o pipefail for bash jobs #1910

Merged
merged 4 commits into from
Jun 24, 2016

Conversation

matthewrmshin
Copy link
Contributor

Close #1783.

@matthewrmshin matthewrmshin added this to the next release milestone Jun 23, 2016
@matthewrmshin matthewrmshin self-assigned this Jun 23, 2016
@matthewrmshin
Copy link
Contributor Author

(Just need to figure out the best place to document this.)

@matthewrmshin
Copy link
Contributor Author

@hjoliver @arjclark please review.

The best place to find current known issues is on Github:
\url{https://github.com/cylc/cylc/issues}.

\subsection{Other Known Issues}
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we name this "Notable Known Issues" - that way we can use the section for documenting things like the Family triggering memory overhead and the GraphViz GTK memory leak.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Noted and modified.

Add more info on why the default behaviour of a pipeline in bash is
unsafe.
last command. This is unsafe, because if any command in the pipeline fails, the
script will continue nevertheless.

For safetty, a cylc task job script running in bash will have the
Copy link
Member

Choose a reason for hiding this comment

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

"safety"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@hjoliver
Copy link
Member

hjoliver commented Jun 24, 2016

Good, one doc typo. Test pass.

@hjoliver hjoliver merged commit 0448ced into cylc:master Jun 24, 2016
@matthewrmshin matthewrmshin deleted the job-file-pipefail branch June 24, 2016 14:34
matthewrmshin added a commit to matthewrmshin/cylc-flow that referenced this pull request Jun 27, 2016
hjoliver added a commit that referenced this pull request Jun 29, 2016
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.

3 participants