0 Replies Latest reply on Sep 13, 2018 4:29 PM by Nicklas Karlsson

    Database migration in a Cube-CI environment

    Nicklas Karlsson Master

      Manually, I would run maven flyway:migrate clean install for the tests but since Cube starts the containers (including the DB) when the test is run, it makes this impossible. What would be the way of using flyway with cube? Of course, I could run the flyway-stuff in a @BeforeClass or something but I would prefer to keep that out of the test code itself. Suggestions?

       

      Thanks in advance,

      Nik