Skip to content

Commit 3fa0ffa

Browse files
committed
feat: enable stepactions by default
1 parent 22b6d55 commit 3fa0ffa

5 files changed

+7
-5
lines changed

config/config-feature-flags.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ data:
123123
# Setting this flag to "true" will enable the CEL evaluation in WhenExpression
124124
enable-cel-in-whenexpression: "false"
125125
# Setting this flag to "true" will enable the use of StepActions in Steps
126-
# This feature is in preview mode and not implemented yet. Please check #7259 for updates.
127-
enable-step-actions: "false"
126+
# This feature is in beta and enabled by default.
127+
enable-step-actions: "true"
128128
# Setting this flag to "true" will enable the use of Artifacts in Steps
129129
# This feature is in preview mode and not implemented yet. Please check #7693 for updates.
130130
enable-artifacts: "false"

docs/stepactions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ weight: 201
2222

2323
## Overview
2424
> :seedling: **`StepActions` is an [beta](additional-configs.md#beta-features) feature.**
25-
> The `enable-step-actions` feature flag must be set to `"true"` to specify a `StepAction` in a `Step`.
25+
> Step actions are enabled by default. You can disable them by setting the `enable-step-actions` feature flag to `"false"`.
2626
2727
A `StepAction` is the reusable and scriptable unit of work that is performed by a `Step`.
2828

pkg/apis/config/feature_flags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ var (
156156
DefaultEnableStepActions = PerFeatureFlag{
157157
Name: EnableStepActions,
158158
Stability: BetaAPIFields,
159-
Enabled: DefaultBetaFeatureEnabled,
159+
Enabled: DefaultStableFeatureEnabled,
160160
}
161161

162162
// DefaultEnableArtifacts is the default PerFeatureFlag value for EnableArtifacts

pkg/apis/config/testdata/feature-flags-beta-api-fields.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ metadata:
44
name: feature-flags
55
namespace: tekton-pipelines
66
data:
7-
enable-api-fields: "beta"
7+
enable-api-fields: "beta"
8+
enable-step-actions: "true"

pkg/apis/config/testdata/feature-flags-bundles-and-custom-tasks.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ data:
77
enable-tekton-oci-bundles: "true"
88
enable-custom-tasks: "true"
99
enable-api-fields: "stable"
10+
enable-step-actions: "true"

0 commit comments

Comments
 (0)