Commit 9f3d2d8
committed
Enable uberjar support and build uberjar in CI
Now for running Jepsen tests one need to setup build environment that
includes Leiningen and Clojure, clone GIT repository and know how to
properly build and run tests. It is not convenient for those who are not
familiar with Clojure and don't want to make a patches for Jepsen tests.
However Leiningen allows to build a standalone jar file, that requires
only JVM for running:
$ lein uberjar
Compiling tarantool.runner
Created /home/sergeyb/sources/MRG/jepsen.tarantool/target/jepsen.tarantool-0.1.0.jar
Created /home/sergeyb/sources/MRG/jepsen.tarantool/target/jepsen.tarantool-0.1.0-standalone.jar
$ java -jar target/jepsen.tarantool-0.1.0-standalone.jar
Usage: lein run -- COMMAND [OPTIONS ...]
Commands: analyze, serve, test, test-all
1. https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#uberjar
Related to #97
Follows up tarantool/tarantool#52771 parent 4bc6a97 commit 9f3d2d8
File tree
4 files changed
+6
-2
lines changed- .github/workflows
- src/tarantool
4 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments