Commit Graph

187 Commits

Author SHA1 Message Date
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
Olaoluwa Osuntokun
dde1495e1d build: bump Go version to v1.21.0, lnd version to v0.17.0 rc1 (#7914)
* build: update Go version to 1.21.0

* build: bump version to v0.17.0 rc1
2023-08-23 17:33:11 -07:00
feelancer21
8b78c1b9e2 workflows: change step name of sample conf check
We now also check the default values themselves and not just the
existence of the command line flags in the file.
2023-08-03 18:04:25 +02:00
Oliver Gugger
bd3f570107 Merge pull request #7807 from lightningnetwork/dependabot/go_modules/google.golang.org/grpc-1.53.0
build(deps): bump google.golang.org/grpc from 1.41.0 to 1.53.0
2023-07-17 14:15:25 +02:00
positiveblue
ff1379a633 CI: Add sqlc code generation check 2023-07-10 17:57:09 -07:00
Oliver Gugger
93c4b678be GitHub: bump pinned dependency for grpc 2023-07-10 11:04:14 +02:00
Matt Morehouse
acace4d330 github: run fuzz tests with unit tests
We download and extract the fuzzing seed corpora into the LND tree so
that "make unit" automatically runs the fuzz tests on the seeds.
2023-05-19 15:48:11 -05:00
Olaoluwa Osuntokun
c0f4defe0b build: update build system to Go 1.20.3 2023-04-05 11:28:34 -07:00
Olaoluwa Osuntokun
0bbbd9b911 build: bump min Go version to 1.19
Fixes https://github.com/lightningnetwork/lnd/issues/7495
2023-03-08 18:02:57 -08:00
yyforyongyu
b5fab8232a github: increase parallelism in windows build 2023-02-23 21:56:12 +08:00
yyforyongyu
268be87abe github: refactor github action yaml files
This commit refactors the github action yaml files by putting the common
steps into an action file, and upgrades the tools used.
2023-02-23 21:56:12 +08:00
yyforyongyu
142b00711f itest+github: remove flag temptest
This commit removes flag `temptest` and all its usage, marking the start
of promoting our `lntemp` to be `lntest`!
2023-02-23 21:56:08 +08:00
Oliver Gugger
a257e6203d github: fix merge group directive 2023-02-17 11:14:38 +01:00
Olaoluwa Osuntokun
aec10481c1 build: use the new merge_group selector for the merge queue
In this commit, we activate the merge queue by using the new merge_group
selector. Without this, the CI won't report back the progress of a CI
run to the merge queue, so things won't get auto merged.
2023-02-16 15:00:20 -08:00
Oliver Gugger
6874582ed4 GitHub: allow skipping itest and changelog check with labels 2023-02-06 14:11:59 +01:00
Chris Geihsler
a5eaabf548 multi: add sqlite option to itests and github job 2023-01-25 14:16:56 +02:00
Elle Mouton
2fd4f3f180 go.mod+lnrpc+github: point to latest kvdb changes
Use kvdb package v1.4.1. This update also forced the protobuf version to
be bumped which required `make rpc` to be run to update the generated
files. This also required a bump in the github pinned dependencies
config for the grpc and protobuf libs.
2023-01-25 14:03:00 +02:00
Oliver Gugger
a074c801d1 GitHub: add job ID to cache key
To avoid the problem where multiple jobs try to create the same cache
entry, we add the GitHub job ID to the cache key.
The two restore keys make it possible that a job can also restore a
cache entry from another job if none for the current job exist yet.
2023-01-06 09:18:28 +01:00
Oliver Gugger
984fc3a2ec GitHub: make setup-go action more versatile
With this commit we allow the Go version that is set up to be
configurable and not dependent on a specific environment variable. This
will allow us to eventually extract the action into a tooling
repository.
2023-01-06 09:18:26 +01:00
Oliver Gugger
c4ca7b99e2 GitHub: remove Go env variable override
For some reason we used to override the GOCACHE and GOPATH variables
earlier. This now causes the updated cache action not to pick up any
caches. As the overrides shouldn't be needed anymore, we remove them.
2023-01-06 09:18:16 +01:00
yyforyongyu
3ca7e30199 github: move fmt-check into lint 2022-12-15 16:56:06 +08:00
yyforyongyu
26110beb53 github: upgrade actions/checkout to v3 2022-12-15 16:32:45 +08:00
yyforyongyu
26613a2d46 github: create new action to hold common setup 2022-12-15 16:26:12 +08:00
yyforyongyu
4f9f2f7901 github: update action versions 2022-11-17 21:06:12 +08:00
Elle Mouton
5499ce36fa github+docs: only check commits on PR action 2022-11-04 11:07:19 +02:00
Elle Mouton
5ea99578a8 github: check commits against base branch 2022-11-02 09:08:21 +02:00
yyforyongyu
55f8a621ae lntest+github: add flag temptest to run tests separately
This commit adds a new flag `temptest` so we can run new and old tests
separately. This flag will be removed once the migration from old tests
to new tests is finished.
2022-10-14 07:25:28 +08:00
Oliver Gugger
f02528f304 multi: bump Golang version to v1.19.2 2022-10-11 09:49:30 +02:00
Olaoluwa Osuntokun
2f16997a98 build: add PR stats to github workflow
In this PR, we introduce a new Github work flow tool that should help us
keep better track fo reviewer load across the proejct. Ideally this can
also be used as a tool to help new PRs find a reviewer, and also for us
to better balance out review load, and keep track of how long it takes
to do PR turnaround.
2022-10-05 13:18:02 -07:00
Oliver Gugger
9eaf0cb73f GitHub: add link to discussions [skip ci] 2022-10-03 18:41:36 +02:00
Oliver Gugger
f5a3b735f6 GitHub: add template for feature requests 2022-10-03 18:41:36 +02:00
Oliver Gugger
bd507c4c37 GitHub: move default template to bug_report.md, add config
With this commit we prepare for adding multiple issue templates to
GitHub that will be shown when the user clicks on the "New Issue" button
on GitHub.
The config.yml will also add a bunch of useful links to the page that
shows the different issue templates.
An example of how this template selection page looks like can be found
here: https://github.com/lightninglabs/lightning-terminal/issues/new/choose
2022-10-03 18:41:36 +02:00
Olaoluwa Osuntokun
65a5eeb24e build: make Go 1.18 the min version, update to Go 1.19
As usual, we keep with the last two Go versions, which means the last
year of Go release (they release every 6 months or so).

This change means we can now use the type params (generics) in the
project!
2022-08-23 10:54:13 -05:00