Commit graph

169 commits

Author SHA1 Message Date
yyforyongyu
29603954bd
.github: update actions versions 2025-01-20 21:55:20 +08:00
Elle Mouton
a7a01f684d
.github: bump upload-artifact action to v4 2025-01-10 08:31:57 +02:00
yyforyongyu
1dec926165
workflows: increase num of tranches to 16
Keep the SQL, etcd, bitcoin rpcpolling builds and non-ubuntu builds at 8
since they are less stable.
2024-12-20 19:38:14 +08:00
yyforyongyu
691a6267be
workflows: use btcd for macOS
To increase the speed from 40m per run to roughly 20m per run.
2024-12-20 19:38:13 +08:00
yyforyongyu
ef167835dd
workflows: pass action ID as the shuffle seed
To make sure each run is shuffled, we use the action ID as the seed.
2024-12-20 19:38:05 +08:00
yyforyongyu
1167181d06
workflows: fix no space left error 2024-12-20 14:00:30 +08:00
Alex Akselrod
53d34d2c60
github workflow: save postgres log to zip file 2024-12-12 10:40:40 -08:00
Oliver Gugger
55b685dbd7
Merge pull request #9347 from lightningnetwork/cross-compile-fix
build/ci: attempt to fix failing cross compile step
2024-12-12 17:47:50 +01:00
ziggie
c6bdbbe222
github: update goveralls tool
The goverall tool had a bug regarding the module versioning of
golang packages see also
https://github.com/mattn/goveralls/pull/222 for more background.
Goveralls is wrapped by another library to make it available for
github actions. So the relevant PR which is referenced here in
LND is:
https://github.com/shogo82148/actions-goveralls/pull/521.
2024-12-12 10:38:01 +01:00
Oliver Gugger
c022284f37
GitHub+make: run cross compile in matrix
This is just a test, perhaps this doesn't make any sense at all as it
will clog up too many build runners.
2024-12-12 10:09:30 +01:00
Oliver Gugger
66c3a46e4c
GitHub: allow not caching the Golang build cache
This is a tradeoff of disk space (and with that cache size) and
compilation speed. Because we're still running into disk full errors
with the full build cache, we remove it for the cross compile step.
Which means we'll do more work each time.
2024-12-12 10:09:30 +01:00
Oliver Gugger
7692ced5f5
multi: update comment on changing Go version
Since we now have a scripted check that makes sure the Golang version is
synced throughout all files, it is important that the main version in
the Makefile is changed, then all other versions can be detected by that
script.
2024-12-02 09:48:26 +01:00
Oliver Gugger
6ac1ffd274
github+scripts: bump itests to bitcoind v28, allow testing with RCs 2024-10-14 16:10:18 +02:00
Olaoluwa Osuntokun
19b5a1fb05
build: set min build version to Go 1.22.6
Go 1.23 was released this week, so with this PR we update the build
system to officially support the last two releases.
2024-08-20 19:13:23 +02:00
Olaoluwa Osuntokun
9e2b308f93
build: update to Go 1.22.5 2024-07-24 14:21:13 -07:00
Olaoluwa Osuntokun
6f37db3a92
Merge pull request #8927 from guggero/fix-release-script
GitHub: update vendored release script
2024-07-23 15:16:09 -07:00
Oliver Gugger
154a8af078
GitHub: update vendored release script
This fixes the problem where releases wouldn't be created anymore due to
the GitHub Action for creating the draft release being out of date.
2024-07-23 14:49:05 +02:00
Marcia Waite
e6dca0ce6e multi: Fix typos and grammar in multiple docs 2024-07-22 20:08:12 -07:00
Elle Mouton
e326e242ff
.github: rebase before running itests & unit tests 2024-06-13 08:11:02 -04:00
Elle Mouton
20be40df7b
.github: make the rebase step re-usable 2024-06-13 08:11:02 -04:00
Elle Mouton
8b31a37ec9
.github: only fetch the base branch when rebasing
Update the "check commits" action to only fetch the base branch that we
will be rebasing on. Otherwise every upstream branch is fetched.
2024-06-13 08:11:01 -04:00
yyforyongyu
84e58d6f02
workflows: decrease TRANCHES to 8 2024-06-13 17:54:34 +08:00
Oliver Gugger
a5c04bbd14
GitHub: increase itest parallelization to 16 tranches 2024-06-04 09:07:34 +02:00
Olaoluwa Osuntokun
a585833fb5
build: update release builds and CI to Go 1.22.3 2024-05-09 15:24:19 -07:00
Oliver Gugger
39b7f1c4f4
GitHub: give tag to each cover job 2024-04-23 19:16:56 +02:00
Oliver Gugger
7468eb3416
GitHub: only run cover on some itests, send completion
We only want to run the coverage on some select tests, since we don't
want to make tests with slow backends even slower.
And because we use "parallel: true" when uploading the coverage results,
those will only be assembled once we send "parallel-finished: true"
using the goveralls action.
So we do that with a new "finish" job.
2024-04-23 19:16:56 +02:00
Oliver Gugger
8a5160e1de
multi: add test coverage for integration tests 2024-04-23 19:15:33 +02:00
Oliver Gugger
817ddb807b
GitHub+scripts: use bitcoind v27.0 2024-04-18 17:44:04 +02:00
Andras Banki-Horvath
a7bd9701b1
github: update gRPC pin to v1.59.0 2024-04-09 20:46:11 +02:00
Oliver Gugger
15c7686830
Merge pull request #8554 from yyforyongyu/use-new-errors
lnwallet: use new errors returned from `rpcclient`
2024-03-21 01:42:57 -06:00
yyforyongyu
03afb72918
workflows: remove loggings from unit test
These loggings are not helpful.
2024-03-20 04:40:38 +08:00
Oliver Gugger
f6656d1daa
Travis+GitHub: replace Travis CI with GitHub MacOS 14 build 2024-03-18 17:08:18 +01:00
Oliver Gugger
b4449ab55f
GitHub: use bitcoind v26.0 for CI, remove default value
To make it less confusing what version of bitcoind is actually
installed, we now require the version to be specified as a command line
argument.

Because we tag the version in the docker image tag as bitcoin-core:XX
but the binary internally is located under /opt/bitcoin-XX.Y/, we
manually set Y to 0.
2024-03-18 16:13:38 +01:00
Oliver Gugger
05675fa254
GitHub: separate build caches
To avoid build caches getting larger and larger, causing our builds to
fail, we separate the caches of the different job types.
If we don't separate them, then the caches can end up being a
combination of the different jobs, which isn't useful (for example the
build cache of the cross compilation build isn't useful in an
integration test and vice versa).
2024-03-14 11:14:39 +01:00
Olaoluwa Osuntokun
482b0ad7b4
github/CODEOWNERS: rename code owners file to soft deactivate
In this commit, rather than attempt to reduce the scope of the current
`CODEOWNERS` file, we instead rename it as a way to stop Github from
automatically assigning reviewers based on it. Instead, we put things in
a "hint" mode as a way for PR OPs to figure out who they should manually
assign PRs today.

With the CODEOWNERS file reduced to a code review assignment hint, we
aim to instead promote usage of the `@code-review` team which will use a
load balancing algorithm for automatic code review assignment.
2024-03-07 17:15:22 -08:00
Andras Banki-Horvath
29ae17ba71
github: add nativesql itests to the matrix 2024-03-01 10:08:10 +01:00
Olaoluwa Osuntokun
7a3101710c
Merge pull request #8430 from bhandras/update-pr-stats
github: bump pull-resquest-stats to v2.11.0
2024-02-14 17:52:11 -08:00
Matt Morehouse
7a0390fe59
.github: add morehouse to CODEOWNERS 2024-02-09 10:27:17 -06:00
Olaoluwa Osuntokun
ba3c0c497a
.github: codeowners additions 2024-02-05 16:30:31 -08:00
saubyk
fd212ed8c2
.github: add CODEOWNERS file 2024-02-01 12:16:40 -08:00
Andras Banki-Horvath
59ce7d9845
github: bump pull-resquest-stats to v2.11.0 2024-01-25 18:08:34 +01:00
Mohamed Awnallah
1402ffd17b
protolint: configure protolint and fix the protolinting issues
This PR addresses the following:
- Install and Configure protolint to enforce the protobuf style guide rules in the CI.
- Fix the protolinting issues (package and import ordering) while maintaining the comaptibility.
2024-01-22 22:00:00 +02:00
Keagan McClelland
a2cb3da145 meta: update PR template to remind contributors about lncli docs 2023-11-20 14:48:26 -07:00
Oliver Gugger
e6fde8bd0c
GitHub: bump pinned versions in CI check 2023-10-26 10:25:35 +02:00
Yong
ca9cdacd5f
github: print debug logs for failed unit tests (#8083) 2023-10-12 12:50:11 +02:00
Oliver Gugger
abb1e3463f
scripts: kill lnd on windows to access log files (#8076)
For some reason lnd doesn't properly shut down on some windows itests,
and the process still running makes it impossible to access its log
files.
So for the Windows integration test, we attempt to kill the whole
process tree once the process indicates it is done.
2023-10-10 16:15:41 +02:00
Oliver Gugger
3b0d918ea4
GitHub: fix link in release template
Fixes #8055.
This PR fixes a broken link in the release page template.
2023-10-04 09:36:51 +02:00
Peter Todd
d5b88dde72
Fix capitalization of OpenTimestamps in release notes 2023-09-21 02:10:14 -04:00
yyforyongyu
c568ba9fa2
github+Makefile: add new action make tidy-module-check
This commit adds `tidy-module` and `tidy-module-check` to make sure the
modules are always tidy.
2023-09-06 02:48:13 +08:00
yyforyongyu
5296509474
Makefile+action: add make unit-module to test submodules
This commit adds a new command `make unit-module` to run unit tests for
submodules to avoid future build errors.
2023-09-06 02:47:55 +08:00