-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OCD-3387 - BE | CI Analysis | Implementation | OpenApi (#528)
- Loading branch information
1 parent
dd6682a
commit 4faedfb
Showing
8 changed files
with
85 additions
and
10 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
api/services/ocean/cd/schemas/oceanCDVerificationParameters.yaml
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,16 @@ | ||
type: object | ||
title: Ocean CD Verification argument | ||
description: > | ||
Represents Verification Parameters to inject to verification templates when running | ||
properties: | ||
key: | ||
type: string | ||
description: Key of an argument | ||
example: app | ||
value: | ||
type: string | ||
description: Value of an argument | ||
example: my-application | ||
required: | ||
- key | ||
- value |
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
19 changes: 19 additions & 0 deletions
19
api/services/ocean/cd/schemas/verificationProvider/oceanCDVerificationProviderJenkins.yaml
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,19 @@ | ||
type: object | ||
required: | ||
- baseUrl | ||
- username | ||
- apiToken | ||
title: Ocean CD Verification Provider Jenkins | ||
properties: | ||
baseUrl: | ||
type: string | ||
description: The address of the Jenkins server within the cluster. | ||
example: http://localhost:9090 | ||
username: | ||
type: string | ||
description: The Jenkins server’s access username. | ||
example: admin | ||
apiToken: | ||
type: string | ||
description: The Jenkins server’s access apiToken. | ||
example: AbCDeeFFGG |
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
28 changes: 28 additions & 0 deletions
28
...vices/ocean/cd/schemas/verificationTemplate/oceanCDVerificationTemplateMetricJenkins.yaml
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,28 @@ | ||
type: object | ||
required: | ||
- pipelineName | ||
- timeout | ||
- interval | ||
title: Ocean CD Verification Jenkins Metric | ||
properties: | ||
pipelineName: | ||
type: string | ||
description: The Jenkins pipeline name | ||
example: pipelineName | ||
tlsVerification: | ||
type: boolean | ||
example: true | ||
description: Host TLS verification | ||
timeout: | ||
type: string | ||
description: The total jenkins timeout | ||
example: 120s/2m | ||
interval: | ||
type: string | ||
description: The interval time to poll status | ||
example: 5s | ||
parameters: | ||
type: array | ||
description: List of parameters | ||
items: | ||
$ref: "../oceanCDVerificationParameters.yaml" |
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