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

Add file caching infrastructure and test for fv3gfs-util using it #27

Merged
merged 10 commits into from
Nov 29, 2021

Conversation

mcgibbon
Copy link
Collaborator

This PR adds the following:

  • a script .jenkins/cache.sh which takes in a command "restore" or "save", a caching key, and a list of paths. "restore" will restore cached files, while "save" will save files the first time it is called, or print a message saying the cache already exists. This mirrors the behavior of CircleCI's caching mechanism.
    -fv3gfs-util/.jenkins/test_util.sh which replaces the functionality of all other files in fv3gfs-util/.jenkins, making use of the new caching infrastructure. The other files can be removed once Jenkins is configured to use the new test script.

Copy link
Collaborator Author

@mcgibbon mcgibbon left a comment

Choose a reason for hiding this comment

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

Should be ready for re-review.

Copy link
Contributor

@twicki twicki left a comment

Choose a reason for hiding this comment

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

lgtm

@mcgibbon
Copy link
Collaborator Author

launch jenkins

@mcgibbon mcgibbon enabled auto-merge (squash) November 24, 2021 01:07
@mcgibbon mcgibbon merged commit 0ba73a0 into main Nov 29, 2021
@mcgibbon mcgibbon deleted the feature/venv_caching branch November 29, 2021 18:57
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.

2 participants