-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [IAC-2855]: Remove workspaceId as requirement and add moduleId
- Loading branch information
1 parent
ae91096
commit 2e0e48d
Showing
14 changed files
with
918 additions
and
16 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
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,42 @@ | ||
title: IACMModuleTestPluginInfo | ||
allOf: | ||
- $ref: ../../common/step-spec-type.yaml | ||
- type: object | ||
required: | ||
- command | ||
properties: | ||
command: | ||
type: string | ||
image: | ||
type: string | ||
resources: | ||
$ref: ../../common/container-resource.yaml | ||
target: | ||
type: array | ||
items: | ||
type: string | ||
replace: | ||
type: array | ||
items: | ||
type: string | ||
$schema: http://json-schema.org/draft-07/schema# | ||
type: object | ||
required: | ||
- command | ||
properties: | ||
command: | ||
type: string | ||
image: | ||
type: string | ||
description: | ||
desc: This is the description for IACMModuleTestPluginInfo | ||
resources: | ||
$ref: ../../common/container-resource.yaml | ||
target: | ||
type: array | ||
items: | ||
type: string | ||
replace: | ||
type: array | ||
items: | ||
type: string |
56 changes: 56 additions & 0 deletions
56
v0/pipeline/steps/iacm/iacmmoduletest-plugin-step-node.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,56 @@ | ||
title: IACMModuleTestPluginStepNode | ||
type: object | ||
required: | ||
- identifier | ||
- name | ||
- spec | ||
- type | ||
properties: | ||
description: | ||
type: string | ||
desc: This is the description for IACMModuleTestPluginStepNode | ||
enforce: | ||
$ref: ../../common/policy-config.yaml | ||
failureStrategies: | ||
oneOf: | ||
- type: array | ||
items: | ||
$ref: ../../common/failure-strategy-config.yaml | ||
- type: string | ||
pattern: ^<\+input>$ | ||
minLength: 1 | ||
identifier: | ||
type: string | ||
pattern: ^[a-zA-Z_][0-9a-zA-Z_]{0,127}$ | ||
name: | ||
type: string | ||
pattern: ^[a-zA-Z_0-9-.][-0-9a-zA-Z_\s.]{0,127}$ | ||
strategy: | ||
oneOf: | ||
- $ref: ../../common/strategy-config.yaml | ||
- type: string | ||
pattern: ^<\+input>$ | ||
minLength: 1 | ||
timeout: | ||
type: string | ||
pattern: ^(([1-9])+\d+[s])|(((([1-9])+\d*[mhwd])+([\s]?\d+[smhwd])*)|(.*<\+.*>(?!.*\.executionInput\(\)).*)|(^$))$ | ||
type: | ||
type: string | ||
enum: | ||
- IACMModuleTestPlugin | ||
when: | ||
oneOf: | ||
- $ref: ../../common/step-when-condition.yaml | ||
- type: string | ||
pattern: ^<\+input>$ | ||
minLength: 1 | ||
$schema: http://json-schema.org/draft-07/schema# | ||
allOf: | ||
- if: | ||
properties: | ||
type: | ||
const: IACMModuleTestPlugin | ||
then: | ||
properties: | ||
spec: | ||
$ref: iacmmoduletest-plugin-info.yaml |
Oops, something went wrong.