-
Notifications
You must be signed in to change notification settings - Fork 128
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
Simplify configure task in recipe test workflow #3394
Simplify configure task in recipe test workflow #3394
Conversation
nice one @alistairsellar - one thing I am very puzzled about is why I am being emailed about this by Github, since I am neither assigned nor the Tech list was invoked ❓ |
Hrrm, curious. Are you subscribed to updates relating to |
oh noo, what did I do to me life? 🤣 Prob subscribed to RTW updates, gonna check 👍 |
HI @ehogan please can you review? Docs test fails due to this warning:
Pretty sure this is unrelated to my changes, and hopefully will be solved by merging in changes from main. Not sure if I can/should merge into this branch, or better to merge this PR into feature branch and then merge main into feature branch? |
Hi @alistairsellar, there is an issue open about the failing doc build (see #3395) so we can ignore this for now. Once it is fixed, it is better to merge P.S. Would it be possible for you to create an issue for this PR, see "How we are working" on #2786 😊 |
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.
Thanks @alistairsellar! 🥳
Would it be possible for you to update the documentation related to the configure
task in recipe_test_workflow/doc/source/user_guide/workflow.rst, please? 😊
Note the changes I suggested to the graph produce the same visualisation as you posted:
esmvaltool/utils/recipe_test_workflow/recipe_test_workflow/flow.cylc
Outdated
Show resolved
Hide resolved
esmvaltool/utils/recipe_test_workflow/recipe_test_workflow/flow.cylc
Outdated
Show resolved
Hide resolved
esmvaltool/utils/recipe_test_workflow/recipe_test_workflow/app/configure/bin/configure.py
Outdated
Show resolved
Hide resolved
Thanks @ehogan, changes made. In the absence of working readthedocs test, I checked that the updated RTW documentation builds on my machine. |
Because the RTW documentation is currently seperate from the main documentation, we do have checks for them; click |
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.
Nice work, thanks @alistairsellar! 🥳
There is no need to wait until the failing doc build is fixed to merge this, so please go ahead and merge @alistairsellar! 😊 |
58b5486
into
recipe_test_workflow_prototype
Thanks @ehogan ! |
Description
At present, the configure task in RTW reads the example user config file from the repo and overwrites with any variables provided by the workflow config (mainly DRS). However, ESMValTool doesn't require a user config file to contain all the keys specified in the user file, and will provide defaults for any keys not in the file (indeed the example file doesn't include all possible config variables). It therefore will be simpler to write only the keys provided by the RTW.
Benefits:
Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.
To help with the number of pull requests: