Commit graph

1596 commits

Author SHA1 Message Date
Gijs van Dam
aae4da9e67
vscode: replace deprecated boolean with string
The boolean values for `source.fixAll.eslint` are deprecated. This
commit changes the boolean values to the correct string values.

See: https://code.visualstudio.com/updates/v1_83#_editor
2024-11-07 13:31:30 +01:00
Oliver Gugger
cb6977ff2d
Merge pull request #890 from lightninglabs/random-improvements
Build improvements
2024-11-07 10:07:55 +01:00
Oliver Gugger
f50fb91ed6
GitHub: upload logs on failure 2024-11-07 09:41:17 +01:00
Oliver Gugger
a7aabcd21b
make: add flake-itest-only goal 2024-11-07 09:41:12 +01:00
Oliver Gugger
7cead0194a
make+perms: allow itest to run with dev build tag
The dev flag allows us to enable some of lnd's configuration flags that
are only available for testing. To speed up any wallet interaction, we
also add the lowscrypt build tag that chooses weak encryption for the
wallet that is much faster (a couple of milliseconds vs. multiple
seconds per wallet creation).
2024-11-07 09:39:16 +01:00
Oliver Gugger
5aa68f9f4d
Merge pull request #894 from lightninglabs/dependabot/go_modules/litrpc/github.com/golang-jwt/jwt/v4-4.5.1
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1 in /litrpc
2024-11-06 12:48:48 +01:00
dependabot[bot]
771dfacc6c
build(deps): bump github.com/golang-jwt/jwt/v4 in /litrpc
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.2 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.2...v4.5.1)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 10:12:23 +00:00
Viktor Tigerström
2116cee97d
Merge pull request #893 from lightninglabs/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.1
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1
2024-11-06 11:11:20 +01:00
dependabot[bot]
5261024839
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.2 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.2...v4.5.1)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 23:38:57 +00:00
Oliver Gugger
9370c91286
accounts: split mocks
This is a preparation for bumping the lndclient dependency.
Because each lndclient service mock now needs to implement the
RawClientWithMacAuth method but with a different type, we can't
implement two lndclient service mocks within a single struct, as
that would require us to have two methods with the same name but
different types.
So we split the lnd and rounter mocks into two separate structs.
2024-10-30 09:37:20 +01:00
Viktor Tigerström
5f000f1acb
Merge pull request #889 from ViktorTigerstrom/2024-10-litd_v0_13_6
Bump `litd` version to `v0.13.6-alpha`
2024-10-28 12:23:37 +01:00
Viktor Tigerström
6e6588711f
build: bump version to v0.13.6-alpha 2024-10-28 11:18:52 +01:00
Viktor Tigerström
e8b7cff35a
docs/release-notes: cut release v0.13.6-alpha 2024-10-28 11:18:52 +01:00
Jamal James
1aba7f6272
Merge pull request #884 from lightninglabs/dependabot/npm_and_yarn/app/http-proxy-middleware-2.0.7
build(deps): bump http-proxy-middleware from 1.0.4 to 2.0.7 in /app
2024-10-25 14:16:40 -05:00
dependabot[bot]
f573305d8b
build(deps): bump http-proxy-middleware from 1.0.4 to 2.0.7 in /app
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 1.0.4 to 2.0.7.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v1.0.4...v2.0.7)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 18:12:18 +00:00
Viktor Tigerström
4e343f46c4
Merge pull request #885 from ViktorTigerstrom/2024-10-litd-v0_13_5
Bump `litd` to version `v0.13.5-alpha`
2024-10-25 20:04:20 +02:00
Viktor Tigerström
d72a2cef7b
build: bump version to v0.13.5-alpha 2024-10-25 19:39:48 +02:00
Viktor Tigerström
5941ea1a6b
docs/release-notes: cut release v0.13.5-alpha 2024-10-25 19:39:48 +02:00
Viktor Tigerström
bc18ef9ae8
protos: run make protos 2024-10-25 19:39:48 +02:00
Viktor Tigerström
83d61c6450
multi: bump loop and swapserverrpc
This commit updates the `loop` dependency to version `v0.28.8-beta`.
Notably, the actual `loop` reference points to a branch based on top of
the `v0.28.8-beta` tag, which modifies `v0.28.8-beta` to use `lnd`
version `v0.18.3-beta` rather than `v0.18.3-beta.rc1`.

Additionally, we upgrade `github.com/lightninglabs/loop/swapserverrpc`
to version `v1.0.10`.
As `loop/swapserverrpc` `v1.0.10` references the `reservation.proto`, we
need to modify the `build-protos.js` script to include it as on of the
fetched protos files.
2024-10-25 19:39:48 +02:00
Viktor Tigerström
5dc8e14a07
lightning-terminal: install git for nodejsbuilder 2024-10-25 19:39:48 +02:00
Oliver Gugger
9e5685f918
Merge pull request #881 from lightninglabs/reproducible-build
build: make builds fully reproducible across systems
2024-10-24 21:47:02 +02:00
Oliver Gugger
ea33903622
litrpc+proto: fix ownership in docker container
This was discovered while debugging the reproducible build. We used the
wrong group ID. And the environment variables aren't super portable so
we use the correct command to get the numeric user and group IDs.
2024-10-24 11:18:02 +02:00
Oliver Gugger
fc77836204
make+app: add dockerized builder for app
We dockerize the app build and use that for both the docker build _AND_
the normal build to make sure the static content is fully reproducible
across different systems.
2024-10-24 11:17:49 +02:00
Viktor Tigerström
321d93c285
docs: update release notes 2024-10-23 14:53:33 +02:00
Oliver Gugger
c9e632e38d
docker: pin all docker images with their hash 2024-10-23 14:53:32 +02:00
ffranr
acf547ef3d
makefile+scripts: add Go version check to release command
This commit updates `scripts/release.sh` to include a check for the
correct Go version before executing the release build. This ensures that
the release binaries are built with the specified Go version,
maintaining consistency and integrity for developer signatures.
2024-10-23 14:32:18 +02:00
Oliver Gugger
1338cfad84
make+scripts: add lint check for Golang version
To make sure we use the same Golang version everywhere, we add a new
linter step with scripts copied from lnd.
2024-10-23 14:32:18 +02:00
Oliver Gugger
4485eae364
.gitignore: add GoLand+VSCode files 2024-10-23 14:32:18 +02:00
Oliver Gugger
30eb7e4d2f
make+release: move release script, fix make
Because the "make release" command collided with the release.sh script,
make thought it needed to do something with that file.
We fix that problem in two ways: We move the file into the scripts sub
folder and also tell make that all our defined goals don't correspond to
folders or files.
2024-10-23 14:32:18 +02:00
Oliver Gugger
81f44b7785
multi: add Docker release helper 2024-10-23 11:50:42 +02:00
Viktor Tigerström
d0d8f2aeb4
lightning-terminal: ensure reproducible releases
This update modifies the release.sh script to ensure that release files
are reproducible, generating identical hashes when rebuilt. Previously,
the script did not set fixed timestamps for the files, resulting in
different hashes across rebuilds.

Additionally, the release.sh script has been updated to align more
closely with the behavior of the lnd release script, ensuring
consistency and coherence across repositories for users.
2024-10-23 11:50:42 +02:00
Oliver Gugger
65144f2c97
GitHub+docker: update to Go 1.22.6 2024-10-23 11:50:41 +02:00
Oliver Gugger
b66e46b872
app: use git restore to re-create .gitkeep file
This uses the more reliable way to restore the file in git after a
build, preventing differences in line endings to cause the file to be
seen as dirty in some situations.
2024-10-23 09:44:20 +02:00
Elle
d66fd092c1
Merge pull request #877 from ellemouton/mapSubservers 2024-10-22 07:15:42 +02:00
Elle Mouton
db7d365664
docs: add release note entry 2024-10-21 10:38:01 +02:00
Elle Mouton
48e3a4d776
docs: restructure release notes for 0.13.5 2024-10-21 10:33:30 +02:00
Elle Mouton
9655dc6fa2
status: return error if subserver already registered
Let the status manager first check its map of subservers before
registering a new one to ensure that an existing subserver is not being
overridden.
2024-10-21 10:25:06 +02:00
Elle Mouton
73cadc5253
subservers: use a map indexed by name for subservers
So that we can quickly access a sub-server by its name.
2024-10-21 10:20:00 +02:00
Elle
9eb11e2c5f
Merge pull request #858 from ellemouton/bakeSuperMacInStatelessV2
multi: bake super macaroon during stateless init mode (V2)
2024-10-18 09:33:46 +02:00
Oliver Gugger
7140714efe
Merge pull request #872 from lightninglabs/dependabot/npm_and_yarn/app/markdown-to-jsx-7.5.0
build(deps): bump markdown-to-jsx from 7.3.2 to 7.5.0 in /app
2024-10-16 09:59:39 +02:00
dependabot[bot]
0b7610dec8
build(deps): bump markdown-to-jsx from 7.3.2 to 7.5.0 in /app
Bumps [markdown-to-jsx](https://github.com/quantizor/markdown-to-jsx) from 7.3.2 to 7.5.0.
- [Release notes](https://github.com/quantizor/markdown-to-jsx/releases)
- [Changelog](https://github.com/quantizor/markdown-to-jsx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/quantizor/markdown-to-jsx/compare/v7.3.2...v7.5.0)

---
updated-dependencies:
- dependency-name: markdown-to-jsx
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-15 18:08:52 +00:00
Elle Mouton
a38837d2e2
docs: add release note 2024-10-14 16:57:00 +02:00
Elle Mouton
b76832a92e
itest: add a stateless_init test
Extract some of the tests used for the integrated and remote mode tests
and re-use them in a new test that runs them against a node stareted in
state-less init mode.
2024-10-14 16:57:00 +02:00
Elle Mouton
70cacf0048
itest: add NewNodeWithSeed
This will be used in our stateless init tests to initialise a LiT node
in stateless init mode. This method handles the creation of the wallet
and returns the LND admin macaroon that we can use.
2024-10-14 16:57:00 +02:00
Oliver Gugger
6b921b6834
Merge pull request #869 from lightninglabs/dependabot/go_modules/litrpc/github.com/opencontainers/runc-1.1.14
build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.14 in /litrpc
2024-10-14 16:10:29 +02:00
Oliver Gugger
a576aeca3f
Merge pull request #870 from lightninglabs/pin-litrpc-1-0-0
mod: pin litrpc version, bump protobuf-go-hex-display replaced version
2024-10-14 16:05:28 +02:00
Oliver Gugger
9c7820f2ee
mod: bump protobuf-go-hex-display replaced version 2024-10-14 15:50:23 +02:00
dependabot[bot]
d0a8e8b910
build(deps): bump github.com/opencontainers/runc in /litrpc
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.12 to 1.1.14.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.12...v1.1.14)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 13:50:13 +00:00
Oliver Gugger
5413498a76
mod: pin litrpc to v1.0.0 2024-10-14 15:49:56 +02:00