File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
impl/test/src/test/java/io/serverlessworkflow/impl/test Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1- * text eol =lf
1+ * text eol =lf
2+ * .db - text - eol - working-tree-encoding - merge - diff
Original file line number Diff line number Diff line change 55 types : [closed]
66 paths :
77 - ' .github/project.yml'
8+ workflow_dispatch : {}
89
910permissions :
1011 contents : write
6162 run : |
6263 git checkout -b release
6364 mvn -B release:prepare -DperformRelease -Prelease -DreleaseVersion=${{steps.metadata.outputs.current-version}} -DdevelopmentVersion=${{steps.metadata.outputs.next-version}}
65+
66+ git restore --staged --worktree -- impl/test/db-samples/** 2>/dev/null || true
67+ git clean -fd -- impl/test/db-samples 2>/dev/null || true
68+
69+ git status --porcelain
6470 cat release.properties
6571 git checkout ${{github.base_ref}}
6672 git rebase release
Original file line number Diff line number Diff line change 2828import java .nio .file .Files ;
2929import java .nio .file .Path ;
3030import java .util .Map ;
31+ import org .slf4j .Logger ;
32+ import org .slf4j .LoggerFactory ;
3133
3234public class DBGenerator {
3335
36+ private static final Logger LOG = LoggerFactory .getLogger (DBGenerator .class );
37+
3438 public static void main (String [] args ) throws IOException {
3539 runInstance ("db-samples/running_v1.db" , false );
3640 runInstance ("db-samples/suspended_v1.db" , true );
3741 }
3842
3943 private static void runInstance (String dbName , boolean suspend ) throws IOException {
44+ LOG .info ("---> Generating db samples at {}" , dbName );
4045 Files .deleteIfExists (Path .of (dbName ));
4146 try (PersistenceInstanceHandlers factories =
4247 BytesMapPersistenceInstanceHandlers .builder (new MVStorePersistenceStore (dbName ))
You can’t perform that action at this time.
0 commit comments