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 cache_from and cache_to support for multiplatform builds #141

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

shanejbrown
Copy link
Contributor

@shanejbrown shanejbrown commented Jun 11, 2024

Add cache_from and cache_to support for multiplatform builds. Passes cache_from and cache_to arguments to python_on_whales.

What does this PR do?

Improve multiplatform support.

What issues does this PR fix or reference?

Previous Behavior

New Behavior

Merge requirements satisfied?

  • I have updated the documentation or no documentation changes are required.
  • I have added tests to cover my changes.
  • I have updated the base version in setup.py (if appropriate).

README.rst Outdated Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
self.step_runner.log.write(
f"WARNING: Unable to pull the cache_from image: {cache_from_image}\n"
)
if isinstance(cache_from_image, str):
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, this is in the single platform code, gotcha.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I could change it to support multiplatform and it should be beneficial for our build nodes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll create a new ticket to track this, so we can test it too.

@shanejbrown shanejbrown merged commit a8763ef into adobe:main Jun 12, 2024
8 checks passed
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