Commit graph

17 commits

Author SHA1 Message Date
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