acoustic-carpenter-78188
11/04/2023, 12:40 AMImageSpec(rebuild_always=True,...)
2. Dynamic workflows that were run using pyflyte run may use tasks whose imageSpec was not built. It would be great to fail with a good error
3. ImageSpec should always be immutable
4. Every update is like a builder, returns a new imagespec. this is like composition.
b = ImageSpace()
c = b.with_commands()
d = c.with_pip_packages()
...
5. Every Example of ImageSpec should use an automatic base Image (flytekits image), thus skip having a base image
6. Every Example of ImageSpec should use configurable registry, example
i = ImageSpec(
registry=os.env.get("OCI_REGISTRY", "flyteorg/default"),
)
7. It should be possible to print the imagespec in a very human readable way. Thus we should have a pyflyte build --dryrun that shows the various imagespecs
Goal: What should the final outcome look like, ideally?
Let's make imagespec awesome
Describe alternatives you've considered
NA
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte