-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Implement tagExists Maven command (Fix issue 1063) #3385
Conversation
…alidate only expected tables have been created
…ons to validate only expected tables have been created" This reverts commit 9be2f35.
Approved! Review and testing results:Overall this PR looks ok to me. Few small changes has been made and are detailed below:
Things to be aware of:
Things to worry about:
Additional comment: |
*/ | ||
public class LiquibaseTagExistsMojoTest extends AbstractLiquibaseMojoTest { | ||
|
||
// reusing dropAll/plugin_config.xml since the LiguibaseTagExists mojo does |
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 appreciate the comment explaining why this particular changelog is used in the test. Thank you!
@MalloD12, hi!
We do have functional automated tests that exercise Maven goals. We should add a new one for this feature. I will create an internal Jira ticket to make sure we do that. I do not believe this particular PR requires any additional manual testing. |
Oh nice, I might not see them yet or might forget about those. Where are they? I |
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.
This PR extends the Liquibase Maven plugin to support the tagExists
goal.
- Functional tests passing with a manual rerun here: https://github.com/liquibase/liquibase-pro-tests/actions/runs/3473764788
- An internal Liquibase functional test ticket was created to add a
tagExists
test. (DAT-12404)
- An internal Liquibase functional test ticket was created to add a
- No additional testing necessary.
APPROVED
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.
All fine, new maven command.
Impact
Description
Implement tagExists Maven command. Fixes #1063.
Modeled after the existing LiqubaseTag mojo class.
Users will be able to run the command:
mvn liquibase:tagExists -Dliquibase.tag=myTag
to check for existence of the specified tag in the configured database.Things to be aware of
Things to worry about
Additional Context
None at this time.