Tags: tektoncd/pipeline
Tags
Added signal handling in SidecarLog results In the native Kubernetes sidecar model, sidecars are implemented as init containers with a `RestartPolicy: Always`, which means they run for the entire duration of the pod's lifecycle. However, the current Tekton sidecar log results implementation doesn't account for this behavior and exits after processing results, causing the container to restart repeatedly. Signed-off-by: Priti Desai <[email protected]>
fix: allow finalizer updates on completed TaskRuns Similar to issue #8824 for PipelineRuns, the webhook was denying finalizer updates on completed TaskRuns. The validation webhook was blocking all updates when TaskRun.IsDone() returned true, preventing tools like Tekton Chains from clearing finalizers. To ensure we don't have old obj default drift, we are adding a fast path check for spec equality and are normalizing the old spec with current defaults before comparison. Then we allow updates when only finalizers differ and reject spec changes. This mirrors the fix applied to PipelineRun validation.
test: extract common status helper functions Create `pkg/reconciler/testing/status.go` and move status related helper functions for `TaskRun/CustomRun` and later `PipelineRun` there. Remove duplication from helper functions. Move yaml parsing helper functions to `test/parse/yaml.go`. Rename import `ttesting ==> th`, short for "testing helpers". Issue #8760, #7166. Signed-off-by: Stanislav Jakuschevskij <[email protected]>
refactor: use os.UserHomeDir instead of go-homedir Let's use the built-in Go function instead of the library. It makes go-homedir an indirect dependency as it is still in-use by transitive dependency. Signed-off-by: Vincent Demeester <[email protected]>
feat: promote StepActions to GA Upgrade StepActions feature from beta to stable to make sure that it is enabled by default. StepActions has been in beta for a while and is also has good adoption among the community. It is pretty stable as a feature based on the regular usage. Moving it to GA will make sure that users will have access to better pipeline composability from the get-go. The following changes were made: - set enable-step-actions to "true" by default - updated to reflect that StepActions are now enabled by default - changed the feature flag stability from BetaAPIFields to StableAPIFields in feature_flags.go - updated feature flags, e2e tests and test data - moved relevant examples to stable examples - added relevant documentation for the move from beta to stable - make enable-step-actions into no-op feature flag. This change makes StepActions a stable, first-class feature in Tekton Pipelines.
PreviousNext