internal/pkg: implement exec artifact
All checks were successful
Test / Create distribution (push) Successful in 52s
Test / Sandbox (push) Successful in 2m35s
Test / Hakurei (push) Successful in 3m41s
Test / ShareFS (push) Successful in 3m46s
Test / Hpkg (push) Successful in 4m30s
Test / Sandbox (race detector) (push) Successful in 4m57s
Test / Hakurei (race detector) (push) Successful in 5m57s
Test / Flake checks (push) Successful in 1m43s

This runs a program in a container environment. Artifacts can be made available to the container, they are cured concurrently and mounted in order.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-06 04:36:01 +09:00
parent 8efffd72f4
commit 79adf217f4
7 changed files with 511 additions and 1 deletions

View File

@@ -183,6 +183,8 @@ const (
KindHTTPGet Kind = iota
// KindTar is the kind of [Artifact] returned by [NewTar].
KindTar
// KindExec is the kind of [Artifact] returned by [NewExec].
KindExec
)
// Ident returns a deterministic identifier for the supplied params and