Commit Graph
111 Commits
Author SHA1 Message Date
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
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