Commit Graph
93 Commits
Author SHA1 Message Date
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
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
carla 0f8d314ee7 github: simplify PR template and add more sections [skip ci] 2022-01-28 09:50:02 +02: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 ed3e597598 Merge pull request #5953 from yyforyongyu/add-contribution-checklist
docs: add skip ci to PR checklist [skip ci]
2021-12-02 10:46:37 +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
yyforyongyu 2aaae4a776 docs: add skip ci to PR checklist [skip ci] 2021-11-10 00:23:26 +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 6b73f01683 build: set min Go version to 1.16 in go.mod 2021-09-29 17:31:45 -07: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
Olaoluwa Osuntokun 85e3dd3e45 docs: add release notes to PR checklist and contributor guidelines 2021-08-10 15:56:17 -07: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
Oliver Gugger 5482451297 mod+GitHub: shorten PR template, bump golang to 1.15
The golang version always needs to be in sync between the go.mod, the PR
checklist and the installation instructions.

We also shorten the Pull Request template by removing everything that we
have a CI check for and just refer to those checks instead.
2021-07-20 10:55:08 +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
Oliver Gugger 3965ee93df GitHub: remove build cache for release builder
The golang build cache seems to only grow over time and is now causing
disk space issues on the release builder. Since the release build has to
build for targets that aren't built during other GH actions and our
releases are too far apart to be hitting the cache anyway we suspect the
cache doesn't actually help that much.
Removing it might mean the build takes a bit longer but at least won't
cause any problems with full virtual disks anymore.
2021-06-03 09:35:46 +02:00