-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from t0ffel/master
added CI model and addressed some comments from OpenShift model
- Loading branch information
Showing
13 changed files
with
742 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
|
||
namespace: | ||
name: ci_job | ||
type: group | ||
description: > | ||
Namespace for CI-specific metadata. f.e. Jenkins job run metadata. | ||
The namespace contains the details for the metadata of individual job run. | ||
fields: | ||
- name: master | ||
type: string | ||
description: > | ||
FQDN of the CI Master server. | ||
- name: name | ||
type: string | ||
description: > | ||
Name of the CI job. | ||
- name: build_id | ||
type: integer | ||
description: > | ||
Build ID of the CI job. | ||
- name: build_timestamp | ||
type: date | ||
format: yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ||yyyy-MM-dd'T'HH:mm:ssZ||dateOptionalTime | ||
description: > | ||
Time of the build completion if different from field "@timestamp". | ||
- name: duration | ||
type: float | ||
description: > | ||
Build duration in seconds. | ||
- name: phase | ||
type: string | ||
description: > | ||
Phase of the CI job. | ||
- name: result | ||
type: string | ||
description: > | ||
CI job result. | ||
- name: url | ||
type: string | ||
description: > | ||
Full URL to the CI job on the CI master. | ||
- name: artifacts | ||
type: group | ||
description: > | ||
List of the artifacts of the build. | ||
The console output in case of Jenkins is considered an artifact with name | ||
`consoleText`. | ||
fields: | ||
- name: name | ||
type: string | ||
description: > | ||
file name of the artifact | ||
- name: url | ||
type: string | ||
description: > | ||
URL to the html log of the CI job on cold storage. | ||
- name: original_url | ||
type: string | ||
description: > | ||
URL to the html log of the CI job on the CI server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.