-
Notifications
You must be signed in to change notification settings - Fork 8
feat: [DBOPS-1363]: Onboarding two new static steps LiquibaseUpdateSQLStep & LiquibaseRollbackSQLStep #627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
f82b305
to
2b73859
Compare
v0/pipeline/steps/common/dbops-liquibase-rollback-sql-step-node.yaml
Outdated
Show resolved
Hide resolved
v0/pipeline/steps/common/dbops-liquibase-update-sql-step-info.yaml
Outdated
Show resolved
Hide resolved
type: string | ||
command: | ||
type: string | ||
settings: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why only its present in update-sql and not rollback-sql
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plus i think it should be globalSettings as per current field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, copied from existing step
v0/pipeline/steps/common/dbops-liquibase-update-sql-step-info.yaml
Outdated
Show resolved
Hide resolved
properties: | ||
dbInstance: | ||
type: string | ||
dbSchema: | ||
type: string | ||
connectorRef: | ||
type: string | ||
settings: | ||
oneOf: | ||
- $ref: ../../common/parameter-field-map-string-json-node.yaml | ||
- type: string | ||
command: | ||
type: string | ||
delegateSelectors: | ||
oneOf: | ||
- type: array | ||
items: | ||
type: string | ||
- type: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why its getting repeated again properties?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took this from the existing LiquibaseCustomCommand,
should we remove this
- $ref: ../../steps/common/dbops-liquibase-command-step-node.yaml | ||
- $ref: ../../steps/common/files-upload-step-node.yaml | ||
- $ref: ../../steps/custom/event-listener-step-node.yaml | ||
- $ref: ../../steps/common/dbops-liquibase-update-sql-step-node.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update not to have liquibase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
9b3d94d
to
e68edbb
Compare
- $ref: ../../steps/common/dbops-liquibase-command-step-node.yaml | ||
- $ref: ../../steps/common/files-upload-step-node.yaml | ||
- $ref: ../../steps/custom/event-listener-step-node.yaml | ||
- $ref: ../../steps/common/db-schema-update-sql-step-node.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont think we need to support here, only cd and custom should be fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed from approval stage
62b845c
to
798d5ca
Compare
…LStep & LiquibaseRollbackSQLStep
798d5ca
to
38520f8
Compare
Onboarding two new static steps, LiquibaseUpdateSQLStep & LiquibaseRollbackSQLStep