Commit Graph

86 Commits

Author SHA1 Message Date
Chris Stewart
fecb9902ec
2022 09 20 rm dlc test (#4792)
* Remove dlcTest module

* Fix file paths

* remove dlcTest/test from ci runs
2022-09-20 11:58:43 -05:00
Chris Stewart
06844bcd13
Make docker publish use java 18 to avoid slick 3.4.0 issues (#4718) 2022-09-06 13:41:29 -05:00
Chris Stewart
d2fb3fc150
Revert "Make electron build use bitcoin-s-ts latest tag (#4701)" (#4711)
This reverts commit 38725f0155.
2022-09-06 11:24:56 -05:00
Chris Stewart
328e1653a9
Drop support for scalac 2.12.x (#4704)
* Drop support for scalac 2.12.x

* Turn logging level OFF

* Remove more 2.12.x files
2022-09-03 10:16:22 -05:00
user411
38725f0155
Make electron build use bitcoin-s-ts latest tag (#4701) 2022-09-02 12:46:15 -05:00
Chris Stewart
945b3914dd
Remove javafx release (#4684) 2022-08-30 12:55:16 -05:00
Chris Stewart
28311e1550
Only build native bitcoin-s-cli on tags or merges to master (#4636) 2022-08-21 12:45:47 -05:00
Chris Stewart
713ee75d4c
Get rid of standalone scalajs, mdoc CI matrix. Consolidate with other CI jobs (#4633)
* Get rid of standalone scalajs, mdoc CI matrix. Consolidate with other jobs for faster performance

* Adjust CI matrix name

* Address review, bump heap size
2022-08-20 17:21:39 -05:00
rorp
0404cffe26
Embedded Pg v1.0.1 (#4567)
* Embedded Pg v1.0.1

* fix GitHub action evironment

* fix Windows CI tests

* test db-commons in different environments

* remove dbCommontTest from Windows and Mac Github actions

* cleanup

* configurable postgres startup wait

* Empty commit to run CI

* Bump default timeout to 60

* Empty commit

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-08-06 07:30:26 -05:00
Chris Stewart
a2117e2551
Downgrade CI jdk 18 -> 17 (#4546)
* Downgrade CI jdk 18 -> 17

* Empty commit to run CI
2022-07-28 12:25:43 -05:00
Chris Stewart
9985db3b41
Bump to jdk18 (#4471) 2022-07-08 14:56:03 -05:00
Chris Stewart
3ea4763cfc
Change 2.13.7 -> 2.13.8 in a few spots where I missed it (#4470) 2022-07-08 14:24:18 -05:00
Chris Stewart
2968a9ee15
Try to test out setup-java CI action (#4466)
* Try to test out setup-java CI action

* Attempt to fix
2022-07-08 13:43:17 -05:00
user411
76694a55e9
Add server build matrix, mac,linux electron builds (#4434)
* Github electron release workflow

* Remove setup-node working-directory

* Suredbits Wallet linux workflow

* Build Mac krystalbull, Windows setup/install monorepo

* Build Mac Suredbits Wallet

* Test sign Electron Krystal Bull app

* Try fixed path

* Try different env var notation

* Change env var access notation

* Change env var access notation

* Add "$VAR"

* Quote more variables

* Test sign oracle-electron dmg directly

* Change comment

* Try again

* Try again

* Test build dep

* Test

* Test pull .zip artifact from previous build step

* Build after adding artifact folder support

* Matrix zips building

* os.target -> matrix.target

* Remove unused os references

* matrix zips and electron builds

* Add oses

* shell: bash

* shell: bash

* view artifacts

* Magic colon

* Add back javafx builds

* Optimize zip builds?

* Fix linux electron suredbits wallet

* Single build

* Separate JavaFX builds and cleanup

* Test sign wallet

* Take out non-mac builds for now

* Test build

* Test build with wildcard names directly

* Test build with wildcard names directly

* Test non-wildcard build

* Test keystore auth

* Test keychain again

* Try email as keychain key

* JavaFX build

* Try to notarize with keychain

* test notarize from keychain on javafx

* Try different keychain item name

* Try another keychain item name

* Test another keychain key

* Try another key

* Test Krystal Bull Electron signing/notarization

* Test keychain unlock and Team Id

* Import certs

* Test

* Test

* test

* test

* Test with keychain notarize

* Test

* Test short signing id

* Manually sign .app

* Try again

* Try again

* Try again

* Echo

* Echo

* Echo

* Echo

* server oracle electron build/sign/notarize

* manually sign after electron build

* Again

* Again

* Again

* Again

* Test staple

* Again

* Again

* Adjust password notarizing

* Sign dmg

* Only sign dmg

* Test implied matrix.* env var

* Sign app, sign dmg

* Again

* Electron native signing with keychain name

* again

* Make signing_temp.keychain before electron build

* Change keychain to signing_temp

* Back to signing_temp.keychain

* Notarize .zip

* Remove electron signing

* Add notarytool commands

* Unlock notarytool

* Add AC_PASSWORD

* store-creditials earlier

* Add codesign debugs

* gatekeeper-access: false, sign and notarize with electron forge

* Test run platform specific config

* Remove my-build/

* Test $KB_MAKE in artifact path

* Check dmg signing

* Check signing on wallet

* Again

* Fix env vars

* again

* Fix env var expansion

* again

* again

* again

* again

* again

* Add wallet entitlements.plist

* Turn other platform builds back on

* Mac zip only

* zip only

* cleanup

* macos manual sign apps

* comment

* Remove ubuntu electron build

* Test notarize KB

* Test windows build

* Build Windows KB

* mac,linux,win zips mac,linux electron builds

* Zip signed app

* Test mac zip after sign

* wallet cleanup

* again

* again

* Fix env vars

* No signing

* Move output .zips into /make

* Manual sign KB

* Manual sign again

* Again

* No signing

* Turn all builds back on

* Add debug flag, take out windows electron build

* Remove branch name from bitcoin-s-ts checkout
2022-06-28 10:49:17 -05:00
benthecarman
d60d984a6b
LnURL Module (#4295)
* LnURL Module

* Add lnurl tests to CI
2022-05-14 16:11:35 -05:00
Chris Stewart
e4d38ba53a
2022 05 05 OS specific jlink builds (#4322)
* Add OS specific zips

* Try to fix windows build

* Try to fix windows build shell

* Try to see if double zip works w/o mac verified developer error

* Add bash script to handle making file executable and make it non quarantine on mac

* Do chmod regardless of os

* Remove chmod as that cannot work by definition, revert to only packaging stage/ directory

* Make java exectuable on every OS

* refactor CommonSettings.jlinkIgnore

* Try to build appServer

* Make cli use jlink

* Make bash scripts more generic on mac

* Remove feature branch on release.yml

* Fix startup scripts
2022-05-07 18:42:02 -05:00
Chris Stewart
be34593e80
2022 04 29 issue 4302 (#4304)
* Add building of oracle-server to release.yml

* Add bitcoin-s-cli build to release

* Fix bitcoin-s-cli build

* remove feature branch
2022-04-30 06:30:58 -05:00
Chris Stewart
cbfe684352
Reduce what gets tested on tor CI (#4274) 2022-04-19 08:32:09 -05:00
Chris Stewart
2e193ed2ca
Try to fix zip release (#4270) 2022-04-18 12:31:46 -05:00
Chris Stewart
23f359821f
2022 03 08 Publish zip as part of release.yml (#4174)
* Build and upload universal zip on release.yml

* Try to fix artifact upload path

* try to fix wildcard

* Try removing zip suffix

* Try to use * regex

* Try to use ? regex

* try to remove path

* Try to remove '-' in regex

* Remove /*

* Try no regex, just specify path

* Adjust names

* Try to fix artifact path again..

* Try different wildcard according to test

* Try fix on issue

* Try to wrap in string

* pwd

* Upgrade to v3

* Attempt to fix release

* Try to upload staged directory so we don't have a zip inside of a zip

* Add chmod to startup script

* fixup

* Remove special branch
2022-03-09 06:43:47 -06:00
Chris Stewart
96d11163a6
Bump heap size on ci-release (#4118) 2022-02-22 09:27:13 -06:00
Chris Stewart
16f3da7ee0
Update setup scala action to v13 (#4113)
* Update setup scala action to v11

* update to v13

* increase heap size on compile
2022-02-21 15:52:24 -06:00
Chris Stewart
e98b2c6caa
Update release.yml to use openjdk@1.17.0 (#4115) 2022-02-21 10:52:55 -06:00
Chris Stewart
eddcc94b03
Upgrade CI jdks to openjdk@1.17.0 (#4114) 2022-02-21 09:44:59 -06:00
Chris Stewart
0ba6bb4da0
Try to fix windows path (#4100)
* Try to fix windows path

* Just remove windows native image
2022-02-15 10:46:55 -06:00
benthecarman
03abb7537b
Add basic esplora client (#4018)
* Add basic esplora client

* Improve error message
2022-01-28 15:48:44 -06:00
Chris Stewart
52dcf51e82
Automatically download binaries if they are used in test suite (#4005)
* Remove download binary scripts from CI, try to make binary downloads contingent on tests being run in a project

* Cleanup docs to remove unecessary downloadBitcoind
2022-01-23 17:43:30 -06:00
Chris Stewart
44a66e72e5
Upgrade to Scala 2.13.8 (#3789)
* Upgrade to Scala 2.13.7

* Upgrade to Scala 2.13.8
2022-01-13 10:17:11 -06:00
Chris Stewart
6e7af37ca0
2021 12 03 installer rename (#3876)
* Rename installers to try and make it more obvious waht they are

* Try super short names

* Fix missing update to error message on CRUDAction.update()

* Remove special branch

* Update submodule
2021-12-04 06:10:08 -06:00
benthecarman
6d43d443ba
Initial c-lightning rpc support (#3755)
* Initial c-lightning support

* Respond to review
2021-10-19 10:58:29 -05:00
Chris Stewart
091114c6dd
Fix typo on mac releases (#3763) 2021-10-17 12:56:24 -05:00
Chris Stewart
ea375f9c55
Actually validate master xpub on startup (#3719)
* Fix bug where we didn't validate the master xpub on oracle server startup

* Add test for WalletAppConfig and seeds

* Remove comments

* Fix scalafmt
2021-10-04 10:37:37 -05:00
Chris Stewart
3852a885e1 Try to fix CI for native 2021-10-04 09:35:27 -05:00
Chris Stewart
3a90115067
disable secp256k1 on native images so we don't run into linking errors (#3718) 2021-10-04 08:48:51 -05:00
Chris Stewart
59e953a1fc
Bump CI runs to use scalac 2.12.15 (#3700) 2021-09-29 13:05:02 -05:00
Chris Stewart
4a44f9cd58
Run appServerTest on both windows and mac (#3609)
* Run appServerTest on both windows and mac

* Add just mac test name

* Add downloadBitcoind task to windows matrix

* Make exception easier to be hit

* Remove deleting of directory as that shouldn't be needed

* Add support for not running bitcoind in test suites as a daemon on windows

* Fix bug where i forgot to re-add daemon config
2021-09-27 10:25:48 -05:00
Chris Stewart
bfbde2abaa
Add appCommonsTest to windows test matrix (#3683) 2021-09-22 11:16:16 -05:00
Chris Stewart
132479d271
Implement ability to provide external entropy to bitcoin-s (#3672)
* Encapsulate initialization of DLCOracle.start() method

* Use internal WalletAppConfig.kmConf rather than passing in custom key manager parameters

* Add KeyManagerAppConfig.defaultAccountType

* Get all tests passing besides TrezorAddressTest

* Get TrezorAddressTest passing with provided entropy

* Add unit test to make sure we can always derive the seed

* Get docs compiling

* Fix dlcWalletTest test cases

* Add more test cases to keymanager

* Add the new configuration to the example configuration

* Add more test cases

* Remove coverage on 2.12 as it isn't accurate

* Rework DLCOracleAppConfig.start() to call kmConf.start() so the oracle can use entropy provided via bitcoin-s.conf
2021-09-18 09:49:11 -05:00
Chris Stewart
8e39b2bbb8
Sbt docker multi platform (#3649)
* Add docker x building for multiple platform support

* Working now

* Move config into CommonSettings, make code a bit more readable

Co-authored-by: Ivan <erickson.ivan@gmail.com>
2021-09-07 14:09:23 -05:00
rorp
4ef1e6bcb6
CI fixes (#3597)
* CI fixes

* fix workflow names

* cleanup unused code

* fix ServerRunTest

* change number attempts to start Node
2021-08-25 15:07:27 -05:00
benthecarman
495ab62104
Tor in Testkit (#3484)
* Tor packaged for testkit

* Add CI row

* Small fixes

* More fixes

* Keep tor running

* Skip tor test for old version of bitcoind

* Respond to review

* Fix with master

* Bump tor start time to same as app config

* Use cached tor for DLCNodeTest

* Disable parallel execution for dlc node test with tor

* Fix DLCNodeTest for tor and clearnet

* Fix name of CI rows
2021-08-23 13:06:14 -05:00
benthecarman
1051e6365a
DLC P2P Client (#3402)
* DLC P2P WIP

* P2PClient refactor (#10)

* Add to CI

* Remove unused

* Attempt to create DLCNode and Tests

* Full Tor support

* Get DLCNegotiationTest passing

* Config options, connect & send func

* Test for DLCNode

* Add createDLCNode to config

* Fix formatting

* Update DLC state after all other data is set

* Remove unneeded line

* Respond to some review

* 2021 07 26 dlc node code review (#13)

* WIP

* WIP2

* Rewrite tests not use Await.result()

* Skip Tor test on CI

* Cleanup threadpool leaks in tests

* Handle actor pattern matching better

* Respond to review

* Implement DLCNode.stop

* sock5 -> socks5

* Use Tcp.Unbind

* Respond to review

* Implement postStop

* Switch to unbind

Co-authored-by: rorp <rorp@users.noreply.github.com>
Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-08-02 18:15:56 -05:00
Chris Stewart
b7b2a7099f
2021 07 15 dlc oracle pg (#3413)
* WIP

* Get postgres test passing by not allowing 0 byte (NULL character in UTF 8 string) in the utf8 generator
2021-07-17 12:19:49 -05:00
Chris Stewart
c774ce3a34
Implement logic to automatically attach deb,dmg,msi installers to a release when i tag something (#3388) 2021-07-09 12:42:46 -05:00
Chris Stewart
028b6f896b
Add missing release webhook on the release.yml file (#3380) 2021-07-08 08:10:34 -05:00
benthecarman
37a4b5c1ea
Add secp256k1jni tests to Mac & Windows CI (#3367) 2021-07-03 14:21:42 -05:00
Chris Stewart
a9292fcad8
Add FutureUtil tests (#3126)
* Add FutureUtilTest for both FutureUtil.batchAndParallelExecute and FutureUtil.batchAndSyncExecute

* Make Vector same size as available processors as CI machines don't have as many processors as I have locally

* Try to fix test case

* Add processors to the log

* Replace java scheduler with a scalajs scheduler called monix

* Make asyncUtilsTest compatible with Scalajs, add them to the CI matrix

* Add more missing runs of asyncUtilsTestJS/test
2021-06-28 14:44:08 -05:00
Chris Stewart
6cd85765a5
Try downgrading the jdk to 15 for linux release builds (#3287) 2021-06-17 08:25:07 -05:00
benthecarman
898ebed4e9
Windows packaging (#3210) 2021-06-17 07:20:07 -05:00
Chris Stewart
11cef133e0
2021 06 15 issue 3266 (#3269)
* Specify team id rather than developer id for mac builds when notarizing the artifacts

* Try to use PublicID

* Try to use --team-id rather than --username

* try specifying both teamid and username

* remove special branch for testing
2021-06-15 10:06:03 -05:00