Skip to content

Commit 000c3af

Browse files
afrittolitekton-robot
authored andcommitted
Update generated docs/pipeline-api.md
and fix a few linter issues. Signed-off-by: Andrea Frittoli <[email protected]>
1 parent 8c5f394 commit 000c3af

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

docs/pipeline-api.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -4569,6 +4569,9 @@ reasons that emerge from underlying resources are not included here</p>
45694569
</tr><tr><td><p>&#34;TaskRunImagePullFailed&#34;</p></td>
45704570
<td><p>TaskRunReasonImagePullFailed is the reason set when the step of a task fails due to image not being pulled</p>
45714571
</td>
4572+
</tr><tr><td><p>&#34;TaskRunResultLargerThanAllowedLimit&#34;</p></td>
4573+
<td><p>TaskRunReasonResultLargerThanAllowedLimit is the reason set when one of the results exceeds its maximum allowed limit of 1 KB</p>
4574+
</td>
45724575
</tr><tr><td><p>&#34;Running&#34;</p></td>
45734576
<td><p>TaskRunReasonRunning is the reason set when the TaskRun is running</p>
45744577
</td>
@@ -6347,15 +6350,17 @@ string
63476350
<td>
63486351
<code>kms</code><br/>
63496352
<em>
6350-
<a href="#tekton.dev/v1alpha1.HashAlgorithm">
6351-
HashAlgorithm
6352-
</a>
6353+
string
63536354
</em>
63546355
</td>
63556356
<td>
63566357
<em>(Optional)</em>
63576358
<p>KMS contains the KMS url of the public key
6358-
Supported formats differ based on the KMS system used.</p>
6359+
Supported formats differ based on the KMS system used.
6360+
One example of a KMS url could be:
6361+
gcpkms://projects/[PROJECT]/locations/[LOCATION]&gt;/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[KEY_VERSION]
6362+
For more examples please refer <a href="https://docs.sigstore.dev/cosign/kms_support">https://docs.sigstore.dev/cosign/kms_support</a>.
6363+
Note that the KMS is not supported yet.</p>
63596364
</td>
63606365
</tr>
63616366
<tr>

pkg/reconciler/pipelinerun/tracing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
TaskRunSpanContextAnnotation = "tekton.dev/taskrunSpanContext"
3939
)
4040

41-
// initialize tracing by creating the root span and injecting the spanContext
41+
// initialize tracing by creating the root span and injecting the
4242
// spanContext is propogated through annotations in the CR
4343
func initTracing(ctx context.Context, tracerProvider trace.TracerProvider, pr *v1beta1.PipelineRun) context.Context {
4444
logger := logging.FromContext(ctx)

pkg/reconciler/pipelinerun/tracing_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ func TestInitTracing(t *testing.T) {
115115
t.Errorf("invalid trace Id propagated, %s", parentID)
116116
}
117117
}
118-
119118
})
120-
121119
}
122-
123120
}

pkg/reconciler/taskrun/tracing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const (
3535
SpanContextAnnotation = "tekton.dev/taskrunSpanContext"
3636
)
3737

38-
// initialize tracing by creating the root span and injecting the spanContext
38+
// initialize tracing by creating the root span and injecting the
3939
// spanContext is propogated through annotations in the CR
4040
func initTracing(ctx context.Context, tracerProvider trace.TracerProvider, tr *v1beta1.TaskRun) context.Context {
4141
logger := logging.FromContext(ctx)

pkg/reconciler/taskrun/tracing_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,5 @@ func TestInitTracing(t *testing.T) {
120120
}
121121
}
122122
})
123-
124123
}
125-
126124
}

0 commit comments

Comments
 (0)