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

Merge install_local_cset into build_conda so environment is setup in a single cylc task #791

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

jfrost-mo
Copy link
Member

@jfrost-mo jfrost-mo commented Aug 12, 2024

The install_local_cset script was converted to bash as part of this.

This means we only have a single job for environment setup, and test that the environment actually works as part of that.

We also skip copying non-git hidden files when installing local CSET, as they can often include large things like conda environments that slow the script significantly.

Contribution checklist

Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

  • Documentation has been updated to reflect change.
  • New code has tests, and affected old tests have been updated.
  • All tests and CI checks pass.
  • Ensured the pull request title is descriptive.
  • Conda lock files have been updated if dependencies have changed.
  • Attributed any Generative AI, such as GitHub Copilot, used in this PR.
  • Marked the PR as ready to review.

GitHub Copilot was used in this PR.

Copy link
Contributor

github-actions bot commented Aug 12, 2024

Coverage

@jfrost-mo jfrost-mo self-assigned this Aug 12, 2024
@jfrost-mo jfrost-mo force-pushed the merge_install_local_cset_build_conda branch from 54ffa52 to 42d1a84 Compare August 12, 2024 15:41
The install_local_cset script was converted to bash as part of this.

This means we only have a single job for environment setup, and test
that the environment actually works as part of that.

We also skip copying non-git hidden files when installing local CSET,
as they can often include large things like conda environments that
slow the script significantly.
@jfrost-mo jfrost-mo force-pushed the merge_install_local_cset_build_conda branch from 42d1a84 to 87dab11 Compare August 15, 2024 07:54
@jfrost-mo jfrost-mo changed the title Merge install_local_cset into build_conda Merge install_local_cset into build_conda so environment is setup in a single cylc task Aug 15, 2024
@jfrost-mo jfrost-mo marked this pull request as ready for review August 15, 2024 07:57
@jfrost-mo jfrost-mo added the cleanup Non-functional improvement label Aug 15, 2024
Copy link
Contributor

@dasha-shchep dasha-shchep left a comment

Choose a reason for hiding this comment

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

With the flow.cylc fix, it works and can be merged

@jfrost-mo
Copy link
Member Author

Thanks. Missed that when I pulled this out of #765.

@jfrost-mo jfrost-mo merged commit 7e431b2 into main Aug 15, 2024
7 checks passed
@jfrost-mo jfrost-mo deleted the merge_install_local_cset_build_conda branch August 15, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Non-functional improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants