1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-19 01:43:22 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
Pierre-Marie Padiou
0ce993d6d9
fixup! Distribute connection-handling (#1566) (#1634) 2020-12-14 17:24:34 +01:00
Donovan
3e3397cfb1
Fix Docker JAVA_OPTS expansion (#1561) 2020-10-13 11:44:34 +02:00
araspitzu
c43e34ad94
fixup! Use correct assembly descriptors and use bash explicitly. (#1337) 2020-03-02 10:25:17 +01:00
araspitzu
a0286458c6
Rework packaging (#1307)
* Replace maven-capsule-plugin with maven-assembly-plugin in eclair-node and eclair-node-gui:
 The new packaging produces a zip file containing a launcher script and all the artifacts and dependencies in lib/.

* Add bash launcher scripts for eclair-node and eclair-node-gui, inspired by https://github.com/sbt/sbt-native-packager/blob/master/src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/bash-template

* Add windows launcher scripts, inspired by https://github.com/sbt/sbt-native-packager/blob/master/src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/bat-template

* Add option to start kanela agent with eclair-node launcher scripts

* Force unix file ending in launcher scripts

* Add eclair-cli in the bin folder of packaged eclair-node and eclair-node-gui
2020-02-24 15:42:26 +01:00
Bastien Teinturier
2d95168749
Update Maven (3.6.3) (#1259) 2019-12-17 10:41:21 +01:00
araspitzu
730d4d20aa
Update docker build (#1123)
* Update docker base image to jdk11, update maven to 3.6.2 [ci skip]
2019-09-04 13:43:49 +02:00
araspitzu
9afb26e09c
Add eclair-cli to eclair's docker image (#1063)
* Add eclair-cli to eclair's docker image

* Add instructions to use eclair-cli inside the docker container
2019-07-05 09:10:06 +02:00
Andrew Camilleri
ed507334e0 Fix Dockerfile maven binary checksum (#956)
The Maven 3.6.0 SHA256 checksum was invalid and caused the docker build to fail.
2019-04-19 15:53:13 +02:00
Fabrice Drouin
3b7afd92d4
Use bitcoin-lib 0.11 which embeds libsecp256k1 (#907)
* Use bitcoin-lib 0.11, which embeds libsecp256k1

* Unit tests: generate dummy sig from 32 random bytes

We now use a version of bitcoin-lib which embeds JNI bindings for libsecp256k1,
and it will only sign data that is 32 bytes long (in Bitcoin and LN you always
sign data hashes, not the actual data).

* Use maven 3.6.0 and a different mirror

* RoutingSyncSpec: don't create databases at init time

We called nodeParams which created a new in-memory sqlite database everytime we created "fake" routing info
2019-03-25 14:42:06 +01:00
Pierre-Marie Padiou
892770b1ed
Update scalatest and remove junit runner (#728)
* updated to scalatest 3.0.5

* use scalatest runner instead of junit

Output is far more readable, and makes console (incl. travis) reports
actually usable.

Turned off test logs as error reporting is enough to figure out what
happens.

The only downside is that we can't use junit's categories to group
tests, like we did for docker related tests. We	could use nested suites,
but that seems to be overkill so I just removed the categories. Users
will only have the possibility to either skip/run all tests.

* update scala-maven-plugin to 3.4.2

NB: This requires maven 3.5.4, which means that we currently need to
manually install maven on travis.

Also updated Docker java version to 8u181 (8u171 for compiling).
2018-10-11 19:01:41 +02:00
araspitzu
d875007862 Fix maven version to 3.3.9 in docker build (#604)
* downgrade maven version to 3.3.9 in Dockerfile

* update java version in docker base images

Fixes #603
2018-05-22 15:54:29 +02:00
Nicolas Dorier
d0da3d3899 Docker: can now set configuration and expose datadir, added doc (#256) 2017-12-08 15:36:50 +01:00
Pierre-Marie Padiou
ffb92831e1 Removed default values for commitid in pom (#258)
This is a regression caused by 0794fb8d5a,
because default values provided for `git.commit.id` `git.commit.id.abbrev`
are not overriden by git-commit-id-plugin plugin.

Instead we specify these variables when doing the docker build.
2017-12-06 16:10:22 +01:00
Nicolas Dorier
0794fb8d5a Docker support with repeatable build (#255)
Dependency to `git` has been removed, we now use `notag` when building without
a git directory.

In order to reliably fetch all dependencies, we do a first blank build
(with no source files), then we copy the sources and do a real commit.

This is a simpler and more robust approach.

Also, fixed the .dockerignore to filter out IDE files.
2017-12-05 17:29:47 +01:00