Skip to content

Commit a1f4abd

Browse files
authored
Merge pull request #84654 from mramendi/pipelines-1.16.1-rn
2 parents 9796c75 + 0c34a46 commit a1f4abd

File tree

1 file changed

+37
-17
lines changed

1 file changed

+37
-17
lines changed

modules/op-release-notes-1-16.adoc

Lines changed: 37 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ spec:
3535
containers:
3636
- name: tekton-pipelines-controller
3737
args:
38-
- "-resync-period=24h"
38+
- "-resync-period=24h"
3939
# ...
4040
----
4141

42-
* With this update, when defining a pipeline, you can set the `onError` parameter for a task to `continue`. If you make this setting and the task fails when the pipeline is executed, the pipeline logs the error and continues to the next task. By default, a pipeline fails if a task in it fails.
42+
* With this update, when defining a pipeline, you can set the `onError` parameter for a task to `continue`. If you make this setting and the task fails when the pipeline is executed, the pipeline logs the error and continues to the next task. By default, a pipeline fails if a task in it fails.
4343
+
4444
.Example of setting the `onError` parameter. After the `task-that-fails` task fails, the `next-task` executes
4545
[source,yaml]
4646
----
47-
apiVersion: tekton.dev/v1
48-
kind: Pipeline
47+
apiVersion: tekton.dev/v1
48+
kind: Pipeline
4949
metadata:
5050
name: example-onerror-pipeline
5151
spec:
@@ -62,7 +62,7 @@ spec:
6262
# ...
6363
----
6464

65-
* With this update, if a task fails, a `finally` task can access the `reason` parameter in addition to the `status` parameter to distinguish if the failure was allowed or not. You can access the `reason` parameter through `$(tasks.<task_name>.reason)`. If the failure is allowed, the `reason` is set to `FailureIgnored`. If the failure is not allowed, the `reason` is set to `Failed`. This additional information can be used to identify that the checks failed, but the failure can be ignored.
65+
* With this update, if a task fails, a `finally` task can access the `reason` parameter in addition to the `status` parameter to distinguish if the failure was allowed or not. You can access the `reason` parameter through `$(tasks.<task_name>.reason)`. If the failure is allowed, the `reason` is set to `FailureIgnored`. If the failure is not allowed, the `reason` is set to `Failed`. This additional information can be used to identify that the checks failed, but the failure can be ignored.
6666

6767
* With this update, larger results are supported through sidecar logs as an alternative to the default configuration, which limits results to the size of 4 KB per step and 12 KB per task run. To enable larger results using sidecar logs, set the `pipeline.options.configMaps.feature-flags.data.results-from` spec to `sidecar-logs` in the `TektonConfig` CR.
6868
+
@@ -83,7 +83,7 @@ spec:
8383
# ...
8484
----
8585

86-
* Before this update, parameter propagation was allowed in `PipelineRun` and `TaskRun` resources, but not in the `Pipeline` resource. With this update, you can propagate `params` in the `Pipeline` resource down to the inlined pipeline `tasks` and its inlined `steps`. Wherever a resource, such as `PipelineTask` or `StepAction`, is referenced, you must pass the parameters explicitly.
86+
* Before this update, parameter propagation was allowed in `PipelineRun` and `TaskRun` resources, but not in the `Pipeline` resource. With this update, you can propagate `params` in the `Pipeline` resource down to the inlined pipeline `tasks` and its inlined `steps`. Wherever a resource, such as `PipelineTask` or `StepAction`, is referenced, you must pass the parameters explicitly.
8787
+
8888
.Example of using `params` within a pipeline
8989
[source,yaml]
@@ -115,11 +115,11 @@ spec:
115115
name: step-action-echo
116116
params:
117117
- name: msg
118-
value: "$(params.BYE)"
118+
value: "$(params.BYE)"
119119
# ...
120120
----
121121

122-
* With this update, you can use the task run or pipeline run definition to configure the compute resources for steps and sidecars in a task.
122+
* With this update, you can use the task run or pipeline run definition to configure the compute resources for steps and sidecars in a task.
123123
+
124124
.Example task for configuring resources
125125
[source,yaml]
@@ -242,7 +242,7 @@ spec:
242242
options:
243243
disabled: false
244244
configMaps:
245-
config-defaults-triggers:
245+
config-defaults-triggers:
246246
data:
247247
default-run-as-non-root: "true"
248248
default-run-as-user: "65532"
@@ -255,7 +255,7 @@ Optionally, you can set the values of the `default-run-as-user` and `default-run
255255
+
256256
You can also set the `default-fs-group` parameter to define the `fsGroup` value for the pod security context, which is the group ID that the container processes use for the file system. If you use an empty value, the default group ID of `65532` is used.
257257

258-
* With this update, in triggers, the `EventListener` pod template now includes `securityContext` settings. Under these settings, you can configure `seccompProfile`, `runAsUser`, `runAsGroup`, and `fsGroup` parameters when the `el-security-context` flag is set to `true`.
258+
* With this update, in triggers, the `EventListener` pod template now includes `securityContext` settings. Under these settings, you can configure `seccompProfile`, `runAsUser`, `runAsGroup`, and `fsGroup` parameters when the `el-security-context` flag is set to `true`.
259259

260260
[id="web-console-new-features-1-16_{context}"]
261261
=== Web console
@@ -264,7 +264,7 @@ You can also set the `default-fs-group` parameter to define the `fsGroup` value
264264

265265
* With this update, the pipeline run and task run *list* pages in the web console now have a filter for the data source, such as `k8s` and `TektonResults API`.
266266

267-
* Before this update, when using the web console in the *Developer* perspective, you could not specify the timeout for pipeline runs. With this update, you can set a timeout while starting the pipeline run in the *Developer* perspective of the web console.
267+
* Before this update, when using the web console in the *Developer* perspective, you could not specify the timeout for pipeline runs. With this update, you can set a timeout while starting the pipeline run in the *Developer* perspective of the web console.
268268

269269
* Before this update, the *Overview* pipeline dashboard only appeared when {tekton-results} was enabled. All the statistics came from only the Results API. With this update, the *Overview* pipeline dashboard is available regardless of whether {tekton-results} is enabled or not. When {tekton-results} is disabled, you can use the dashboard to see the statistics for objects in the cluster.
270270

@@ -295,7 +295,7 @@ You can also set the `default-fs-group` parameter to define the `fsGroup` value
295295
[source,terminal]
296296
----
297297
$ oc create secret generic mongo-url -n tekton-chains \ #
298-
--from-file=MONGO_SERVER_URL=/home/user/MONGO_SERVER_URL
298+
--from-file=MONGO_SERVER_URL=/home/user/MONGO_SERVER_URL
299299
----
300300
+
301301
.Example of configuring the `MONGO_SERVER_URL` value using a secret
@@ -387,7 +387,7 @@ spec:
387387
spec:
388388
containers:
389389
- args:
390-
- --namespace=dev, test
390+
- --namespace=dev, test
391391
name: tekton-chains-controller
392392
# ...
393393
----
@@ -582,7 +582,7 @@ spec:
582582

583583
* Before this update, when you uninstalled {tekton-hub} by deleting the `TektonHub` CR, the pod of the `hub-db-migration` job was not deleted. With this update, uninstalling {tekton-hub} deletes the pod.
584584

585-
* Before this update, when you used {tekton-results} to store pod logs from pipelines and tasks, the operation to store the logs sometimes failed. The logs would include the `UpdateLog` action failing with the `canceled context` error. With this update, the operation completes correctly.
585+
* Before this update, when you used {tekton-results} to store pod logs from pipelines and tasks, the operation to store the logs sometimes failed. The logs would include the `UpdateLog` action failing with the `canceled context` error. With this update, the operation completes correctly.
586586

587587
* Before this update, when you passed a parameter value to a pipeline or task and the value included more than one variable with both full and short reference formats, for example, `$(tasks.task-name.results.variable1) + $(variable2)`, {pipelines-shortname} did not interpret the value correctly. The pipeline run or task run could stop execution and the Pipelines controller could crash. With this update, {pipelines-shortname} interprets the value correctly and the pipeline run or task run completes.
588588

@@ -602,14 +602,34 @@ spec:
602602

603603
* Before this update, if a step action parameter was an `array` type but a `string` value was passed in a task, there was no error indicating inconsistent parameter types and the default parameter value was used instead. With this update, an error is added to indicate the inconsistent values: `invalid parameter substitution: %s. Please check the types of the default value and the passed value`.
604604

605-
* Before this update, task runs and pipeline runs were deleted by an external pruner when logs were streamed through the watcher. With this update, a finalizer is added to {tekton-results} for `TaskRun` and `PipelineRun` objects to ensure that the runs are stored and not deleted. The runs are stored either as records or until the deadline has passed, which is calculated as the completion time plus the `store_deadline` time. The finalizer does not prevent deletion if legacy log streaming from the watcher or pruner is enabled.
605+
* Before this update, task runs and pipeline runs were deleted by an external pruner when logs were streamed through the watcher. With this update, a finalizer is added to {tekton-results} for `TaskRun` and `PipelineRun` objects to ensure that the runs are stored and not deleted. The runs are stored either as records or until the deadline has passed, which is calculated as the completion time plus the `store_deadline` time. The finalizer does not prevent deletion if legacy log streaming from the watcher or pruner is enabled.
606606

607-
* Before this update, the web console supported the `v1beta1` API format to display the `TaskRun` and `PipelineRun` object records that are stored in {tekton-results}. With this update, the console supports the `v1` API format to display `TaskRun` and `PipelineRun` object records stored in {tekton-results}.
607+
* Before this update, the web console supported the `v1beta1` API format to display the `TaskRun` and `PipelineRun` object records that are stored in {tekton-results}. With this update, the console supports the `v1` API format to display `TaskRun` and `PipelineRun` object records stored in {tekton-results}.
608608

609609
* Before this update, when using {pac}, if different `PipelineRun` definitions used the same task name but different versions, for example when fetching tasks from {tekton-hub},the wrong version was sometimes triggered, because {pac} used the same task version for all pipeline runs. With this update, {pac} triggers the correct version of the referenced task.
610610

611611
* Before this update, when you used a resolver to reference remote pipelines or tasks, transient communication errors caused immediate failure retrieving those remote references. With this update, the resolver requeues the retrieval and eventually retries the retrieval.
612612

613613
* Before this update, {tekton-results} could use an increasing amount of memory when storing log information for pipeline runs and task runs. This update fixes the memory leak and {tekton-results} uses a normal amount of memory.
614614

615-
* Before this update, when using {pac}, if your `.tekton` directory contained a pipeline that was not referenced by any `PipelineRun` definition triggered in the event, {pac} attempted to fetch all the required tasks for that pipeline even though it was not run. With this update, {pac} does not try to resolve pipelines that are not referenced in any pipeline run triggered by the current event.
615+
* Before this update, when using {pac}, if your `.tekton` directory contained a pipeline that was not referenced by any `PipelineRun` definition triggered in the event, {pac} attempted to fetch all the required tasks for that pipeline even though it was not run. With this update, {pac} does not try to resolve pipelines that are not referenced in any pipeline run triggered by the current event.
616+
617+
[id="release-notes-1-16-1_{context}"]
618+
== Release notes for {pipelines-title} General Availability 1.16.1
619+
620+
With this update, {pipelines-title} General Availability (GA) 1.16.1 is available on {OCP} 4.15 and later versions.
621+
622+
[id="fixed-issues-1-16-1_{context}"]
623+
=== Fixed issues
624+
625+
* Before this update, in the *Pipelines overview* page of the web console, users that do not have access to all namespaces could select *All* in the *Projects* list. The console displayed wrong information for that selection, because the statistics for some of the namespaces were not available to the user. With this update, users who do not have access to all namespaces cannot select *All* in the *Projects* list.
626+
627+
* Before this update, when you tried to used the web console to start a pipeline or task that defined a parameter of the type `array`, entering a value for this parameter resulted in an error and you could not start the pipeline or task. With this update, you can use the web console to start a pipeline or task that defines a parameter of the type `array` and entering a value for this parameter works normally.
628+
629+
* Before this update, when using {pac} with a Bitbucket Git repository, the {pac} controller sometimes crashed and a `panic: runtime error: invalid memory address or nil pointer dereference` message was logged. With this update, the {pac} controller does not crash.
630+
631+
* Before this update, when using {tekton-results}, the `tekton-results-watcher` pod sometimes crashed and a `panic: runtime error: invalid memory address or nil pointer dereference` message was logged. With this update, the `tekton-results-watcher` pod does not crash.
632+
633+
* Before this update, when using {tekton-results}, if you enabled authentication in {tekton-results}, you could not view information from {tekton-results} in the web console, because the web console failed to pass an authentication token to the {tekton-results} API. With this update, you can view information from {tekton-results} in the web console when authentication is enabled.
634+
635+
* Before this update, when viewing information from {tekton-results} in the web console, if you scrolled down to the end of a page, the console failed to fetch the next set of records and some of the information was not displayed. With this update, if you scroll to the end of the page, records from {tekton-results} load correctly and all information displays correctly in the web console.

0 commit comments

Comments
 (0)