-
Notifications
You must be signed in to change notification settings - Fork 0
Allow images to be built on the fly. #40
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
Conversation
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.
Looks like the tests are failing..?
I know we're missing types all over here, but could we at least have a comment on ConstellationContainer.image that it is either a string or a BuildSpec?
|
|
||
| @dataclass | ||
| class BuildSpec: | ||
| path: str |
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.
| path: str | |
| # Path to Dockerfile | |
| path: str |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #40 +/- ##
==========================================
+ Coverage 97.33% 97.41% +0.08%
==========================================
Files 16 16
Lines 1686 1704 +18
Branches 102 102
==========================================
+ Hits 1641 1660 +19
Misses 35 35
+ Partials 10 9 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Done. It's actually a BuildSpec or ImageReference. |
If a `BuildSpec` is passed as the image parameter to a container, constellation will build the image using that specification before starting the container. The image is built unconditionally. However thanks to Docker's build cache nothing happens on repeated build.
If a
BuildSpecis passed as the image parameter to a container, constellation will build the image using that specification before starting the container.The image is built unconditionally. However thanks to Docker's build cache nothing happens on repeated build.