diff --git a/cmd/entrypoint/runner.go b/cmd/entrypoint/runner.go index 49bc1be6b99..836c8450e1e 100644 --- a/cmd/entrypoint/runner.go +++ b/cmd/entrypoint/runner.go @@ -8,7 +8,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/cmd/git-init/main.go b/cmd/git-init/main.go index 5affbc423e6..19c00fe943a 100644 --- a/cmd/git-init/main.go +++ b/cmd/git-init/main.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/cmd/imagedigestexporter/main.go b/cmd/imagedigestexporter/main.go index 33496dab427..b3ff9878a45 100644 --- a/cmd/imagedigestexporter/main.go +++ b/cmd/imagedigestexporter/main.go @@ -33,7 +33,9 @@ var ( terminationMessagePath = flag.String("terminationMessagePath", "/tekton/termination", "Location of file containing termination message") ) -/* The input of this go program will be a JSON string with all the output PipelineResources of type +/* + The input of this go program will be a JSON string with all the output PipelineResources of type + Image, which will include the path to where the index.json file will be located. The program will read the related index.json file(s) and log another JSON string including the name of the image resource and the digests. diff --git a/cmd/pullrequest-init/main.go b/cmd/pullrequest-init/main.go index db49450ec64..e40501e6823 100644 --- a/cmd/pullrequest-init/main.go +++ b/cmd/pullrequest-init/main.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/docs/pipeline-api.md b/docs/pipeline-api.md index a3b26dc54df..6a910c75ba4 100644 --- a/docs/pipeline-api.md +++ b/docs/pipeline-api.md @@ -13824,7 +13824,7 @@ string
-(Appears on:CustomRun) +(Appears on:CustomRun, CustomRunStatusFields)
CustomRunStatus defines the observed state of CustomRun
diff --git a/pkg/apis/pipeline/pod/template.go b/pkg/apis/pipeline/pod/template.go index 2ebfd462a2a..d5d7ad9892a 100644 --- a/pkg/apis/pipeline/pod/template.go +++ b/pkg/apis/pipeline/pod/template.go @@ -148,6 +148,7 @@ func (tpl *Template) ToAffinityAssistantTemplate() *AffinityAssistantTemplate { } // PodTemplate holds pod specific configuration +// //nolint:revive type PodTemplate = Template diff --git a/pkg/apis/pipeline/v1/container_types.go b/pkg/apis/pipeline/v1/container_types.go index c3831ed2189..0143404dcc6 100644 --- a/pkg/apis/pipeline/v1/container_types.go +++ b/pkg/apis/pipeline/v1/container_types.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/apis/pipeline/v1/taskrun_defaults_test.go b/pkg/apis/pipeline/v1/taskrun_defaults_test.go index 14f1c5b6278..549129bc665 100644 --- a/pkg/apis/pipeline/v1/taskrun_defaults_test.go +++ b/pkg/apis/pipeline/v1/taskrun_defaults_test.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/apis/pipeline/v1beta1/resource_types_validation.go b/pkg/apis/pipeline/v1beta1/resource_types_validation.go index 2898fd9dfc4..0a0161af2eb 100644 --- a/pkg/apis/pipeline/v1beta1/resource_types_validation.go +++ b/pkg/apis/pipeline/v1beta1/resource_types_validation.go @@ -73,9 +73,9 @@ func (tr *TaskRunResources) Validate(ctx context.Context) *apis.FieldError { } // validateTaskRunResources validates that -// 1. resource is not declared more than once -// 2. if both resource reference and resource spec is defined at the same time -// 3. at least resource ref or resource spec is defined +// 1. resource is not declared more than once +// 2. if both resource reference and resource spec is defined at the same time +// 3. at least resource ref or resource spec is defined func validateTaskRunResources(ctx context.Context, resources []TaskResourceBinding, path string) *apis.FieldError { encountered := sets.NewString() for _, r := range resources { diff --git a/pkg/apis/pipeline/v1beta1/taskrun_defaults_test.go b/pkg/apis/pipeline/v1beta1/taskrun_defaults_test.go index 4eaab5413ce..30c43ada3cb 100644 --- a/pkg/apis/pipeline/v1beta1/taskrun_defaults_test.go +++ b/pkg/apis/pipeline/v1beta1/taskrun_defaults_test.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/client/clientset/versioned/fake/register.go b/pkg/client/clientset/versioned/fake/register.go index 951cec59e8f..27907d4e65f 100644 --- a/pkg/client/clientset/versioned/fake/register.go +++ b/pkg/client/clientset/versioned/fake/register.go @@ -41,14 +41,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/pkg/client/clientset/versioned/scheme/register.go b/pkg/client/clientset/versioned/scheme/register.go index 21c3e532dfd..ffc8f29c1f7 100644 --- a/pkg/client/clientset/versioned/scheme/register.go +++ b/pkg/client/clientset/versioned/scheme/register.go @@ -41,14 +41,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/pkg/client/resolution/clientset/versioned/fake/register.go b/pkg/client/resolution/clientset/versioned/fake/register.go index 70d792b35d6..8469024ac97 100644 --- a/pkg/client/resolution/clientset/versioned/fake/register.go +++ b/pkg/client/resolution/clientset/versioned/fake/register.go @@ -39,14 +39,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/pkg/client/resolution/clientset/versioned/scheme/register.go b/pkg/client/resolution/clientset/versioned/scheme/register.go index 9fe0d86a62e..19e5de5b4c6 100644 --- a/pkg/client/resolution/clientset/versioned/scheme/register.go +++ b/pkg/client/resolution/clientset/versioned/scheme/register.go @@ -39,14 +39,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/pkg/client/resource/clientset/versioned/fake/register.go b/pkg/client/resource/clientset/versioned/fake/register.go index 78bbf3de2ae..e33dea7aa03 100644 --- a/pkg/client/resource/clientset/versioned/fake/register.go +++ b/pkg/client/resource/clientset/versioned/fake/register.go @@ -37,14 +37,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/pkg/client/resource/clientset/versioned/scheme/register.go b/pkg/client/resource/clientset/versioned/scheme/register.go index 2eb6b537e5a..972999462fa 100644 --- a/pkg/client/resource/clientset/versioned/scheme/register.go +++ b/pkg/client/resource/clientset/versioned/scheme/register.go @@ -37,14 +37,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/pkg/controller/filter.go b/pkg/controller/filter.go index 92ac30fe6fa..89171b316b4 100644 --- a/pkg/controller/filter.go +++ b/pkg/controller/filter.go @@ -33,10 +33,10 @@ import ( // For example, a controller impl that wants to be notified of updates to Runs // which reference a Task with apiVersion "example.dev/v0" and kind "Example": // -// runinformer.Get(ctx).Informer().AddEventHandler(cache.FilteringResourceEventHandler{ -// FilterFunc: FilterRunRef("example.dev/v0", "Example"), -// Handler: controller.HandleAll(impl.Enqueue), -// }) +// runinformer.Get(ctx).Informer().AddEventHandler(cache.FilteringResourceEventHandler{ +// FilterFunc: FilterRunRef("example.dev/v0", "Example"), +// Handler: controller.HandleAll(impl.Enqueue), +// }) func FilterRunRef(apiVersion, kind string) func(interface{}) bool { return func(obj interface{}) bool { r, ok := obj.(*v1alpha1.Run) @@ -66,10 +66,10 @@ func FilterRunRef(apiVersion, kind string) func(interface{}) bool { // For example, a controller impl that wants to be notified of updates to TaskRuns that are controlled by // a Run which references a custom task with apiVersion "example.dev/v0" and kind "Example": // -// taskruninformer.Get(ctx).Informer().AddEventHandler(cache.FilteringResourceEventHandler{ -// FilterFunc: FilterOwnerRunRef("example.dev/v0", "Example"), -// Handler: controller.HandleAll(impl.Enqueue), -// }) +// taskruninformer.Get(ctx).Informer().AddEventHandler(cache.FilteringResourceEventHandler{ +// FilterFunc: FilterOwnerRunRef("example.dev/v0", "Example"), +// Handler: controller.HandleAll(impl.Enqueue), +// }) func FilterOwnerRunRef(runLister listersalpha.RunLister, apiVersion, kind string) func(interface{}) bool { return func(obj interface{}) bool { object, ok := obj.(metav1.Object) diff --git a/pkg/internal/affinityassistant/transformer_test.go b/pkg/internal/affinityassistant/transformer_test.go index 7523d2f1d4f..d901076b0c5 100644 --- a/pkg/internal/affinityassistant/transformer_test.go +++ b/pkg/internal/affinityassistant/transformer_test.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/internal/computeresources/compare/compare.go b/pkg/internal/computeresources/compare/compare.go index 710e40b1333..d3c9281b026 100644 --- a/pkg/internal/computeresources/compare/compare.go +++ b/pkg/internal/computeresources/compare/compare.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/internal/computeresources/limitrange/limitrange_test.go b/pkg/internal/computeresources/limitrange/limitrange_test.go index 6c889d0cd2c..dd1866865ac 100644 --- a/pkg/internal/computeresources/limitrange/limitrange_test.go +++ b/pkg/internal/computeresources/limitrange/limitrange_test.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/internal/computeresources/transformer_test.go b/pkg/internal/computeresources/transformer_test.go index b88ff2677e2..2aef054ebc7 100644 --- a/pkg/internal/computeresources/transformer_test.go +++ b/pkg/internal/computeresources/transformer_test.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/reconciler/doc.go b/pkg/reconciler/doc.go index c87882b6f36..cca4b50c424 100644 --- a/pkg/reconciler/doc.go +++ b/pkg/reconciler/doc.go @@ -21,10 +21,12 @@ limitations under the License. // // Despite defining a Reconciler, each of the packages here are expected to // expose a controller constructor like: -// func NewController(...) *controller.Impl { ... } +// +// func NewController(...) *controller.Impl { ... } +// // These constructors will: -// 1. Construct the Reconciler, -// 2. Construct a controller.Impl with that Reconciler, -// 3. Wire the assorted informers this Reconciler watches to call appropriate -// enqueue methods on the controller. +// 1. Construct the Reconciler, +// 2. Construct a controller.Impl with that Reconciler, +// 3. Wire the assorted informers this Reconciler watches to call appropriate +// enqueue methods on the controller. package reconciler diff --git a/pkg/reconciler/pipelinerun/resources/input_output_steps_test.go b/pkg/reconciler/pipelinerun/resources/input_output_steps_test.go index 850bd998e36..69211dc241e 100644 --- a/pkg/reconciler/pipelinerun/resources/input_output_steps_test.go +++ b/pkg/reconciler/pipelinerun/resources/input_output_steps_test.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/reconciler/resolutionrequest/doc.go b/pkg/reconciler/resolutionrequest/doc.go index e65b1e1a1d9..561bc9f6d34 100644 --- a/pkg/reconciler/resolutionrequest/doc.go +++ b/pkg/reconciler/resolutionrequest/doc.go @@ -21,8 +21,8 @@ that global settings and constraints are enforced independent of the "type" of ResolutionRequest being resolved. Examples of the kinds of global settings that need to be enforced include: - * Ensuring that the object's Status fields are correctly initialized. - * Ensuring that all ResolutionRequests eventually get timed out. - * Ensuring that ResolutionRequests with populated Data field are marked as complete. + - Ensuring that the object's Status fields are correctly initialized. + - Ensuring that all ResolutionRequests eventually get timed out. + - Ensuring that ResolutionRequests with populated Data field are marked as complete. */ package resolutionrequest diff --git a/pkg/reconciler/taskrun/resources/output_resource.go b/pkg/reconciler/taskrun/resources/output_resource.go index b06f2628a3f..83a99092942 100644 --- a/pkg/reconciler/taskrun/resources/output_resource.go +++ b/pkg/reconciler/taskrun/resources/output_resource.go @@ -37,8 +37,10 @@ var ( // target directory. // Steps executed: // 1. If taskrun has owner reference as pipelinerun then all outputs are copied to parents PVC +// // and also runs any custom upload steps (upload to blob store) -// 2. If taskrun does not have pipelinerun as owner reference then all outputs resources execute their custom +// 2. If taskrun does not have pipelinerun as owner reference then all outputs resources execute their custom +// // upload steps (like upload to blob store ) // // Resource source path determined diff --git a/pkg/reconciler/taskrun/resources/volume.go b/pkg/reconciler/taskrun/resources/volume.go index a7794449b90..08c3d732a10 100644 --- a/pkg/reconciler/taskrun/resources/volume.go +++ b/pkg/reconciler/taskrun/resources/volume.go @@ -36,14 +36,14 @@ func GetPVCVolume(name string) corev1.Volume { // Specifically, they have the following structure as defined by // (pkg/apis/resource/v1alpha1/storage.ArtifactBucket).GetSecretsVolumes(): // -// corev1.Volume{ -// Name: fmt.Sprintf("volume-bucket-%s", sec.SecretName), -// VolumeSource: corev1.VolumeSource{ -// Secret: &corev1.SecretVolumeSource{ -// SecretName: sec.SecretName, -// }, -// }, -// } +// corev1.Volume{ +// Name: fmt.Sprintf("volume-bucket-%s", sec.SecretName), +// VolumeSource: corev1.VolumeSource{ +// Secret: &corev1.SecretVolumeSource{ +// SecretName: sec.SecretName, +// }, +// }, +// } // // Any new volumes that don't match this structure are added regardless of whether they are already // present in the list of volumes. diff --git a/pkg/remote/errors.go b/pkg/remote/errors.go index 38ee9194355..01e9bb4f880 100644 --- a/pkg/remote/errors.go +++ b/pkg/remote/errors.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/termination/parse_test.go b/pkg/termination/parse_test.go index e7aa7d8f9d2..ac55a438e4c 100644 --- a/pkg/termination/parse_test.go +++ b/pkg/termination/parse_test.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/termination/write_test.go b/pkg/termination/write_test.go index 3ba07468cce..5ed906aaa0e 100644 --- a/pkg/termination/write_test.go +++ b/pkg/termination/write_test.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/dag_test.go b/test/dag_test.go index 8f195e15fad..da72faeb744 100644 --- a/test/dag_test.go +++ b/test/dag_test.go @@ -40,14 +40,15 @@ const sleepDuration = 15 * time.Second // TestDAGPipelineRun creates a graph of arbitrary Tasks, then looks at the corresponding // TaskRun start times to ensure they were run in the order intended, which is: -// | -// pipeline-task-1 -// / \ -// pipeline-task-2-parallel-1 pipeline-task-2-parallel-2 -// \ / -// pipeline-task-3 -// | -// pipeline-task-4 +// +// | +// pipeline-task-1 +// / \ +// pipeline-task-2-parallel-1 pipeline-task-2-parallel-2 +// \ / +// pipeline-task-3 +// | +// pipeline-task-4 func TestDAGPipelineRun(t *testing.T) { ctx := context.Background() ctx, cancel := context.WithCancel(ctx) diff --git a/test/events/events.go b/test/events/events.go index f4a321c9099..32a3eeb9361 100644 --- a/test/events/events.go +++ b/test/events/events.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/registry_test.go b/test/registry_test.go index ad10121cbd2..64bcc9c3816 100644 --- a/test/registry_test.go +++ b/test/registry_test.go @@ -8,7 +8,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,