Commit graph

35 commits

Author SHA1 Message Date
ziggie
41a6c8b3f7
build: bump go to v1.25.11 2026-07-10 19:24:26 -03:00
Calvin Zachman
862c1dba9d
multi: bump lnd, lndclient, and taproot-assets dependencies
Bumps lnd to v0.21.0-beta, lndclient to v0.21.0-1, and
taproot-assets to v0.8.0 across the root, litrpc, and perms
modules. taprpc uses the proper v1.1.0 tag.

lnd removed the deprecated SendPaymentSync, SendToRouteSync,
SendPayment (streaming), and SendToRoute (streaming) RPCs. The
account interceptor checkers and their tests for these RPCs are
removed since no client can call them anymore. The V2 checkers
already handle account tracking for payments.

The itest harness is updated for lnd v0.21's miner API changes
(SendOutputs -> SendOutput, Miner.Client.Generate -> GenerateBlocks,
waitForNTxsInMempool replaced by Miner.AssertNumTxsInMempool) and
TimeLockDelta bumped from 20 to 40 since lnd v0.21 raised
MinCLTVDelta from 18 to 24.
2026-06-08 13:18:37 -04:00
Viktor Torstensson
5898e35762
make: add make unit-bench command 2026-05-14 11:38:40 +02:00
ZZiigguurraatt
91b43118c7 build: bump go to v1.25.5 2026-03-03 14:25:35 -05:00
ZZiigguurraatt
432a228bd6 build: bump go to v1.24.11 2026-02-05 02:57:05 -05:00
Jared Tobin
d16c0837bc
make: filter git describe to only match release tags
Add --match 'v*' to the VERSION_TAG git describe command to exclude
non-version tags like perms/*, litrpc/*, and autopilotserverrpc/*. These
tags contain forward slashes which cause the release script to fail when
constructing output filenames.
2026-01-23 13:00:28 +04:00
Jared Tobin
eae846389e
make: fix itest case filter
The -test.run pattern was missing the tranche prefix, so terminal and
custom_channels tests weren't actually running. The fix simply grafts
the pattern used in taproot-assets to ensure the tests are run.
2026-01-14 12:52:18 +04:00
ffranr
128e0b6df6
itest: add tranche-based parallel runner and clearer logs
- add tranche splitting/shuffling flags to the itest harness
- add itest-parallel target and scripts to run tranches concurrently
- write per-tranche logs under .logs/trancheN and tail failures for
  clarity
2025-12-09 12:47:05 +00:00
ZZiigguurraatt
82ad317086 build: add monitoring tag for lnd 2025-11-19 10:32:37 -05:00
ZZiigguurraatt
ba840892bb build: bump go to v1.24.9 2025-10-24 16:48:53 -04:00
George Tsagkarelis
69ca6587b7
build: bump go to v1.24.6 2025-09-18 12:05:28 +02:00
Elle Mouton
eb1d081314
build: bump go version to 1.23.12 2025-08-07 11:10:39 +02:00
Oliver Gugger
503a295252
multi: bump Golang to 1.23.9
Fixes several CVEs by using the latest Golang version to build.
2025-05-21 19:25:30 +02:00
ZZiigguurraatt
d533111db9 build: add build flags for other databases
This commit adds support for all other databases
as they are supported in the standalone lnd
builds.
2025-04-07 01:10:23 -04:00
Elle Mouton
ccb1b64f8b
make: unit test flake hunter
For convenient flake hunting.
2025-03-26 09:20:53 -05:00
Elle Mouton
1a8f20bebf
multi: bump docker go versions
Bump the go version in our various docker files.
2025-03-15 11:37:17 -05:00
Elle Mouton
b6891b4b38
itest: run itests against chosen backend
Add the ability to specify the db backend to run use for accounts when
running itests.

With this commit, you can run something like: `make itest
dbbackend=sqlite`.
2025-02-21 11:18:35 -03:00
Elle Mouton
0ec5d949f0
make+GH: helpers for testing against new SQL stores 2025-02-21 10:35:06 -03:00
Elle Mouton
1e83bc35e3
make: targeted packages
This commit lets us perform make commands of the following form:
`make unit pkg=accounts` which will run all the tests in the specified
package. Or you can do `make unit pkg=accounts case=TestAccountStore` to
run a specific test in the specified package.
2025-01-07 12:34:56 +02:00
Elle Mouton
2b0ffff815
make: add ability to add additional tags
This commit lets us perform commands of the form: `make unit
tags=postgres` to add additional tags to the command. This will be
useful in a future where we, for example, want to run unit tests against
a specific DB backend.
2025-01-07 12:34:55 +02:00
Elle Mouton
824a3c259c
make: add ability to specify unit test case
This commit let's us specify commands of the form: `make unit
case=TestNameHere`. Note that this commit by itself is not very useful
in LiT since there are no tests in the main `terminal` package. A later
commit will let us set a package name too and then this will be more
useful.
2025-01-07 12:34:55 +02:00
Elle Mouton
43e1c9ee2d
make: move UNIT variables to testing_flags.mk
And use the new COMPILE_TAGS variable for the unit commands instead of
LND_RELEASE_TAGS.
2025-01-06 08:41:00 +02:00
Elle Mouton
8c64e27b53
make: extract compile tags
Add a new COMPILE_TAGS environment variable that includes all the basic
set of tags that lit requires in order for compilation to succeed. Let
LND_RELEASE_TAGS then extend these flags.

This will let us expand the testing_flags.mk file later without needing
to use the LND_RELEASE_TAGS variable there.
2025-01-05 09:07:55 +02:00
Oliver Gugger
c9e632e38d
docker: pin all docker images with their hash 2024-10-23 14:53:32 +02:00
Oliver Gugger
81f44b7785
multi: add Docker release helper 2024-10-23 11:50:42 +02:00
Name
66d2bd1bda
make: update VERSION_TAG to a globally-consistent build-input identifier
Additional flags produce:
* Globally consistent commitment hash length, regardless of gitconfig
* `--broken` to create fail-safe tag indicating a dirty or corrupted
  work tree
* `--always` to generate a tag, even if no tags are reachable from the
  current commit.
2024-10-14 09:05:05 +02:00
Oliver Gugger
ff26c644e8
make: remove release targets incompatible with sqlc 2023-05-16 17:00:20 +02:00
positiveblue
c267ef64eb
multi: update lnd dependency to v0.16.0-beta.rc3
- Bump lnd and other module dependencies.
- Bump Go build version & RPCs
- Refactor itests to use the new lnd itest framework.
2023-03-15 08:36:23 -07:00
Oliver Gugger
2dd36335e9
make: add darwin-arm64 to release build architectures 2023-02-27 21:22:14 +01:00
Oliver Gugger
ebb5e94381
multi: remove GO111MODULE, add icase flag to itest 2022-10-19 10:57:18 +02:00
Elle Mouton
b3ad8114fe
multi: add Lnd's registered subserver perms
In this commit, we let the PermissionsManager manage LND's subserver
permissions. Once Litd is connected to LND, it can get LND's build tags
and pass them to the PermissionsManager which will then adjust its list
of permissions accordingly.
2022-09-01 15:57:29 +02:00
Oliver Gugger
a48fcf44d3
make: use latest git tag for version in release 2020-11-02 13:18:17 +01:00
Oliver Gugger
85ed9d1bf3
make: drop darwin-386 build target
Since we also dropped support for building binaries for the darwin 386
architecture in loop, we remove that build target in LiT as well.
2020-10-12 15:32:04 +02:00
Oliver Gugger
c8a6263918
multi: change grub to litd, fix comments 2020-07-23 08:56:32 +02:00
Oliver Gugger
5f98f96ea4
make: add build and release commands 2020-06-02 14:29:39 +02:00