Skip to content

Commit 2d9e1d7

Browse files
Ish Shahjoelanford
authored andcommitted
Add Timestamp to Scorecard Test Results (openshift#137)
* add timestamp field Signed-off-by: Ish Shah <[email protected]> * Add timestamp to scorecard test result Signed-off-by: Ish Shah <[email protected]> * Change type and struct Signed-off-by: Ish Shah <[email protected]> * Update pkg/apis/scorecard/v1alpha3/test_types.go Co-authored-by: Joe Lanford <[email protected]> * make manifests/generate; Signed-off-by: Ish Shah <[email protected]> * Update pkg/apis/scorecard/v1alpha3/test_types.go Co-authored-by: Joe Lanford <[email protected]> Co-authored-by: Joe Lanford <[email protected]> Upstream-repository: api Upstream-commit: 7d591fff8bd551160e51dedef17debbe52145019
1 parent 40d03e3 commit 2d9e1d7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

staging/api/pkg/apis/scorecard/v1alpha3/test_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ type TestResult struct {
2828
Errors []string `json:"errors,omitempty"`
2929
// Suggestions is a list of suggestions for the user to improve their score (if applicable)
3030
Suggestions []string `json:"suggestions,omitempty"`
31+
// CreationTimestamp of the result from an individual test
32+
CreationTimestamp metav1.Time `json:"creationTimestamp,omitempty"`
3133
}
3234

3335
// TestStatus contains collection of testResults.

staging/api/pkg/apis/scorecard/v1alpha3/zz_generated.deepcopy.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)