Commit Graph
84 Commits
Author SHA1 Message Date
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 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
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
yyforyongyu 859c5e5da4 Makefile+github: add make fmt-check to check for formatting 2022-08-23 22:10:27 +08:00
yyforyongyu 71eb5804b6 github: cancel concurrent workflows for the same PR/push 2022-08-18 03:54:48 +08:00
Olaoluwa Osuntokun c0672b80c2 build: update all Dockerfiles to build w/ Go 1.18.2 2022-06-10 11:32:39 -07:00
Elle Mouton e789107e1f multi: new bitcoind rpcpolling backend for itests 2022-05-11 09:02:13 +02:00
Daniel McNally 9966960b9a build: update release tags
This updates the list of tags used for `release` builds in the release
documentation. `peersrpc`, `kvdb_postgres`, and `kvdb_etcd` are now
automatically included in `make release` or `make release-install`
builds.
2022-05-05 18:16:44 -04:00
Oliver Gugger f8dd032de5 Merge pull request #6465 from Roasbeef/bitcoind23
build: update CI to build against bitcoind 23
2022-05-05 13:24:50 +02:00
Olaoluwa Osuntokun dec389d54f build: update CI to build against bitcoind 23 2022-05-04 15:24:22 -07:00
ErikEk 635cffa871 multi: add sub-server dep 2022-04-30 08:55:49 +02:00
Olaoluwa Osuntokun a90dfff9a5 build: update to Go 1.18 2022-04-12 16:14:04 -07:00
Oliver Gugger ba83c11a6f Merge pull request #6346 from thinkmassive/docker-tag-master
github: re-add rolling tag 'daily-testing-only'
2022-03-30 12:53:37 +02:00
Alex Miller fcaa2a93d2 github: re-add rolling 'daily-testing-only' tag [skip ci]
This commit re-adds the rolling `daily-testing-only` tag in addition to
the unique daily tag `daily-<YYYYmmdd>`.

A rolling `master` build was proposed but declined because this would
put an unnecessary burden on the build system (each run takes ~45 min)
2022-03-22 14:12:56 -04:00
Oliver Gugger bdda2aa059 docs+github+scripts: remove submodule update check
Because we want to avoid local replace directives (as they make it easy
to screw up things for external applications that use lnd as a library
without us noticing), we're going to switch over to a new process.
See section "Use of Golang submodules" in the code contribution
guideline.
2022-03-22 14:17:26 +01:00
Alex Miller 8c4a00853d github: daily builds use a unique tag 2022-03-10 14:41:24 -05:00
yyforyongyu b2f3cabc23 github: add timeout when zipping log files 2022-01-21 12:36:54 +08:00
Oliver Gugger 5ead5ec4b6 GitHub: fix daily docker build 2022-01-20 10:27:42 +01:00
Oliver Gugger 264b3b00cd github: add schedule for daily build 2022-01-18 12:46:27 +01:00
Oliver Gugger 44266f3889 GitHub+Makefile: remove travis goals 2021-11-29 12:52:26 +01:00
Oliver Gugger 260094cf07 GitHub: use go version that understands retract directive
As is customary with new GitHub actions, they don't work on first
attempt if you don't test them *sigh*

We need to use a more recent version of golang than is pre-installed to
avoid the "unknown directive: retract" error message.
2021-11-23 09:32:14 +01:00
Oliver Gugger 55edd1b260 scripts+GitHub: check submodule version bump 2021-11-22 14:40:28 +01:00
Olaoluwa Osuntokun e94ddf7b17 build: bump release+build version to Go 1.17.3 2021-11-15 17:29:02 -08:00
Olaoluwa Osuntokun 56d00f40ef script: update CI to bitcoind 22 2021-11-03 16:43:27 -07:00
Joost Jager d997bbf6b3 channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
Oliver Gugger 4e224fe0aa GitHub: fix matrix, package log files before upload
It turns out we were using the wrong matrix variable in the actual
make command and ran the same itest 6 times with no arguments, all
resulting in running the btcd test.

To avoid uploading too many files in individual requests, we zip them
first before uploading the zip itself.
2021-10-21 12:07:15 +02:00
Olaoluwa Osuntokun 3efe94b4b1 Merge pull request #5833 from guggero/itest-github-fixes
itest: fix log file upload and flakes
2021-10-07 12:47:32 -07:00
Olaoluwa Osuntokun ca4b8180a0 Merge pull request #5826 from guggero/release-fixes
GitHub: download key from git repo, update Roasbeef's key
2021-10-07 12:32:17 -07:00
Oliver Gugger b925ebb92c GitHub: only upload logs on failure 2021-10-06 16:29:44 +02:00
Oliver Gugger 134be244b4 GitHub+Travis: move itests to GitHub Actions 2021-10-05 20:48:48 +02:00
Oliver Gugger d688a2a7f5 GitHub: download key from git repo, update Roasbeef's key
With this commit we update the release template to download Roasbeef's
key from the git repository via GitHub.
We also update the key mentioned in the template to the new signing key.
[skip ci]
2021-10-05 10:06:40 +02:00
Olaoluwa Osuntokun d973cf1060 build: upgrade all CI+build infra to Go 1.17 2021-09-29 17:31:34 -07:00
Conner Fromknecht af3fa69d05 docs: update release verification scripts for v0.12.1-beta 2021-09-27 15:48:20 +02:00
Conner Fromknecht 50d27e8050 docs: remove unnecessary docker pull from release verification
Docker will automatically pull the image if it isn't found locally.
2021-09-27 15:48:20 +02:00
Joost Jager 3eb80cac97 kvdb: add postgres 2021-09-21 10:44:18 +02:00
Oliver Gugger 74dc883aa4 GitHub+make: compile JSON/WASM stubs 2021-08-03 13:44:37 +02:00
Oliver Gugger c8df606427 GitHub+lint: reduce linter memory usage
To reduce the likelyhood of the linter OOMing on the GitHub runner, we
exclude any generated code from being inspected and also tune the golang
garbage collector to be a bit more agressive.
2021-07-27 13:09:59 +02:00
Oliver Gugger 76e1223bf2 mod+kvdb: update etcd to v3.5.0 2021-07-27 13:09:59 +02:00
Olaoluwa Osuntokun 6570749f7f build: add new GH actions to require release note updates
In this commit, we add a simple bash script to parse out the current PR
number from an environment variable in the GH actions context, and use
that to check to see if the PR has been referenced in the release notes
or not. This isn't 100% fool proof, but it should catch most of the
common cases.
2021-07-16 11:00:56 -07:00
carla 8491d0da43 multi: enable monitoring build by default
The monitoring server still needs to be enabled using prometheus.enable,
so including this in the default build does not add an additional http
server unless the user opts in.
2021-06-18 09:15:51 +02:00