-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add proposal for runtime graph image label
Signed-off-by: nullday <aseaday@hotmail.com>
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
docs/proposals/20220826-image-runtime-redistributed-metadata.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Add Runtime Redistributed Metadata To Image Metadata | ||
Authors: | ||
- [nullday](https://github.com/aseaday) | ||
|
||
## Summary | ||
|
||
The `envd` would add (runing graph metadata)[https://github.com/tensorchord/envd/blob/630ada172bdf876c3b749329fdbe284c108051f2/pkg/lang/ir/types.go#L70] would be encoded into a ASCII string and added to be image(OCI Spec) as a label. | ||
|
||
## Motivation | ||
|
||
This proposal is part of effort to define what the artifact `envd` delivery and decoupling the phases of build and runing. It will be friendly for running a envd environment even at the absence of `build.env`. | ||
|
||
|
||
|
||
## Goals | ||
- Provide internal API: | ||
- read runtime metadata | ||
- write runtime metadata | ||
- `up` and `run` command doesn't need to interpret the `build.env` | ||
|
||
|