Tags: gitpod-io/leeway
Tags
Release v0.10.8 Add immediate cache upload mode to handle external build interruptions. New feature: - LEEWAY_CACHE_UPLOAD_IMMEDIATE environment variable enables per-package uploads immediately after successful build - Prevents loss of build artifacts when CI jobs timeout or are cancelled - Maintains backward compatibility (default: false) This complements v0.10.7's fix for internal build failures by also handling external interruptions that prevent the final upload phase from executing.
refactor: consolidate SBOM extension constants in cache package Move SBOM file extension constants to pkg/leeway/cache/types.go to avoid duplication across sbom.go, s3.go, and signing/upload.go. Add SBOMSidecarExtensions() function that returns all SBOM sidecar file extensions, ensuring consistency across the codebase. Co-authored-by: Ona <no-reply@ona.com>
refactor: consolidate SBOM extension constants in cache package Move SBOM file extension constants to pkg/leeway/cache/types.go to avoid duplication across sbom.go, s3.go, and signing/upload.go. Add SBOMSidecarExtensions() function that returns all SBOM sidecar file extensions, ensuring consistency across the codebase. Co-authored-by: Ona <no-reply@ona.com>
fix: resolve builtin variables in PackageInternal (prep, env)
The resolveBuiltinVariables function only resolved builtin variables
(${__pkg_version}, ${__git_commit}, ${__git_commit_short}) in Config,
but FindUnresolvedArguments checks both PackageInternal and Config.
This caused builtin variables in prep or env fields to be flagged as
unresolved, failing the build with errors like:
cannot build with unresolved argument "${__git_commit_short}"
Now resolves builtin variables in PackageInternal before Config.
Co-authored-by: Ona <no-reply@ona.com>
fix: resolve builtin variables in PackageInternal (prep, env)
The resolveBuiltinVariables function only resolved builtin variables
(${__pkg_version}, ${__git_commit}, ${__git_commit_short}) in Config,
but FindUnresolvedArguments checks both PackageInternal and Config.
This caused builtin variables in prep or env fields to be flagged as
unresolved, failing the build with errors like:
cannot build with unresolved argument "${__git_commit_short}"
Now resolves builtin variables in PackageInternal before Config.
Co-authored-by: Ona <no-reply@ona.com>
PreviousNext