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

Always attempt to install prefect in base image #1704

Merged
merged 3 commits into from
Nov 5, 2019
Merged

Conversation

wagoodman
Copy link

@wagoodman wagoodman commented Nov 5, 2019

Thanks for contributing to Prefect!

Please describe your work and make sure your PR:

  • modifies/adds new tests (if appropriate)
  • updates CHANGELOG.md (if appropriate)
  • updates docstrings for any new functions or function arguments, including docs/outline.toml for API reference docs (if appropriate)

Note that your PR will not be reviewed unless all three boxes are checked.

What does this PR change?

Currently no prefect installation is attempted if you are providing your own image. This change attempts to install prefect if it is not already installed, regardless of the base image. This closes #1698 .

Why is this PR important?

This makes deploying a flow easier --provide an image with what you need to run whats contained within a task, prefect will bring what it needs to run.

@codecov
Copy link

codecov bot commented Nov 5, 2019

Codecov Report

Merging #1704 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

joshmeek
joshmeek previously approved these changes Nov 5, 2019
CHANGELOG.md Outdated Show resolved Hide resolved
@cicdw cicdw merged commit a4c4b19 into master Nov 5, 2019
@cicdw cicdw deleted the always-install-prefect branch November 5, 2019 16:02
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.

Cloudpickle error when base_image isn't specified
3 participants