Skip to content
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

ksql-migrations returns an error to the shell when there are no eligible migrations #10260

Open
mjhaller opened this issue Mar 9, 2024 · 0 comments

Comments

@mjhaller
Copy link

mjhaller commented Mar 9, 2024

Describe the bug
ksql-migrations returns an error to the shell when there are no eligible migrations

To Reproduce
Steps to reproduce the behavior, include:
Version 0.29

Expected behavior
"no eligible migrations" is not an error condition. being reported as such masks other potential errors, which makes it difficult in to handle in CICD configurations.

Actual behaviour

$ ksql-migrations -c /share/ksql-migrations/ksql-migrations.properties apply --next --dry-run 
This is a dry run. No ksqlDB statements will be submitted to the ksqlDB server.
Validating current migration state before applying new migrations
Loading migration files
No eligible migrations found.
Execution time: 3.4660 seconds

$ echo $?
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant