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

Liquibase master is absent at liquibase/master.xml #46

Closed
h1alexbel opened this issue Jan 18, 2024 · 8 comments
Closed

Liquibase master is absent at liquibase/master.xml #46

h1alexbel opened this issue Jan 18, 2024 · 8 comments

Comments

@h1alexbel
Copy link

I'm using Pgtk in this rake task:

require 'pgtk/liquibase_task'
Pgtk::LiquibaseTask.new(:liquibase) do |t|
  puts "Been there!"
  puts __dir__
  t.master = '/liquibase/master.xml'
  t.yaml = ['target/pgsql-config.yml', 'config.yml']
  t.postgresql_version = '42.7.1'
  t.liquibase_version = '4.25.1'
end

also I have liquibase/master.xml in the root dir.

however, when I run

$ bundle exec rake

I got the following exception:

Random TCP port 53087 is used
2024-01-18 22:17:44.083 +03 [23146] LOG:  starting PostgreSQL 14.10 (Homebrew) on aarch64-apple-darwin23.0.0, compiled by Apple clang version 15.0.0 (clang-1500.0.40.1), 64-bit
2024-01-18 22:17:44.084 +03 [23146] LOG:  listening on IPv4 address "127.0.0.1", port 53087
2024-01-18 22:17:44.084 +03 [23146] LOG:  listening on IPv6 address "::1", port 53087
2024-01-18 22:17:44.085 +03 [23146] LOG:  listening on Unix socket "/Users/avbialiauski/code/netbout/net/target/pgsql/.s.PGSQL.53087"
2024-01-18 22:17:44.087 +03 [23147] LOG:  database system was shut down at 2024-01-18 22:17:44 +03
2024-01-18 22:17:44.088 +03 [23146] LOG:  database system is ready to accept connections
PostgreSQL has been started in process #23146, port 53087
Been there!
/Users/avbialiauski/code/netbout/net
rake aborted!
Liquibase master is absent at liquibase/master.xml
@h1alexbel
Copy link
Author

@yegor256 take a look, please

@yegor256
Copy link
Owner

@h1alexbel I believe it should be:

t.master = 'liquibase/master.xml'

@h1alexbel
Copy link
Author

@yegor256 Tried this as well, the same problem

yegor256 added a commit that referenced this issue Jan 19, 2024
@yegor256
Copy link
Owner

@rultor release, tag is 0.9.1

yegor256 added a commit that referenced this issue Jan 19, 2024
@rultor
Copy link
Collaborator

rultor commented Jan 19, 2024

@rultor release, tag is 0.9.1

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Jan 19, 2024

@rultor release, tag is 0.9.1

@yegor256 Done! FYI, the full log is here (took me 12min)

@yegor256
Copy link
Owner

@h1alexbel try version 0.9.2

@h1alexbel
Copy link
Author

@yegor256 works, thanky for resolving

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

No branches or pull requests

3 participants