Skip to content

Commit

Permalink
feat: add proposal for runtime graph image label
Browse files Browse the repository at this point in the history
Signed-off-by: nullday <aseaday@hotmail.com>
  • Loading branch information
aseaday committed Aug 26, 2022
1 parent 2c94971 commit e4a1a2b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/proposals/20220826-image-runtime-redistributed-metadata.md
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`


0 comments on commit e4a1a2b

Please sign in to comment.