diff --git a/bundle/config/artifact.go b/bundle/config/artifact.go index 3039b55343..cb029bcb4b 100644 --- a/bundle/config/artifact.go +++ b/bundle/config/artifact.go @@ -10,10 +10,13 @@ type ArtifactType string const ArtifactPythonWheel ArtifactType = `whl` +const ArtifactJar ArtifactType = `jar` + // Values returns all valid ArtifactType values func (ArtifactType) Values() []ArtifactType { return []ArtifactType{ ArtifactPythonWheel, + ArtifactJar, } } diff --git a/bundle/internal/validation/generated/enum_fields.go b/bundle/internal/validation/generated/enum_fields.go index cd36be8aa4..788b8ae96f 100644 --- a/bundle/internal/validation/generated/enum_fields.go +++ b/bundle/internal/validation/generated/enum_fields.go @@ -10,7 +10,7 @@ import ( // EnumFields maps [dyn.Pattern] to valid enum values they should have. var EnumFields = map[string][]string{ "artifacts.*.executable": {"bash", "sh", "cmd"}, - "artifacts.*.type": {"whl"}, + "artifacts.*.type": {"whl", "jar"}, "resources.apps.*.active_deployment.mode": {"AUTO_SYNC", "SNAPSHOT"}, "resources.apps.*.active_deployment.status.state": {"CANCELLED", "FAILED", "IN_PROGRESS", "SUCCEEDED"},