Commit Graph

67 Commits

Author SHA1 Message Date
Marko
07bb7fb445 ci/e2e: avoid running job when no go files are touched (#5471) 2020-10-06 14:29:29 +02:00
Erik Grinaker
b894f07380 test: remove P2P tests (#5453) 2020-10-05 17:52:01 +02:00
Erik Grinaker
7e27e9b852 test: add GitHub action for end-to-end tests (#5452)
Partial fix for #5291.
2020-10-05 12:44:35 +02:00
Marko
dcdf9bbff8 ci: docker remvoe circleci and add github action (#5420) 2020-10-01 13:25:20 +02:00
Marko
c237e06078 ci: fix net run (#5343) 2020-09-08 20:57:36 +02:00
Tess Rinearson
2eda1798a6 CODEOWNERS: specify more precise codeowners (#5333) 2020-09-04 15:30:00 +02:00
dongsam
e30b125725 consensus: double-sign risk reduction (ADR-51) (#5147)
Implementation spec of Double Signing Risk Reduction [ADR-51](https://github.com/tendermint/tendermint/blob/master/docs/architecture/adr-051-double-signing-risk-reduction.md) by B-Harvest
- Add `DoubleSignCheckHeight` config variable to ConsensusConfig for "How many blocks looks back to check existence of the node's consensus votes when before joining consensus"
- Add `consensus.double_sign_check_height` to `config.toml` and `tendermint node` as flag for set `DoubleSignCheckHeight`
- Set default `consensus.double_sign_check_height` to `0`  ( it could be adjustable in this PR, disable when 0  )

Refs

- [ADR-51](https://github.com/tendermint/tendermint/blob/master/docs/architecture/adr-051-double-signing-risk-reduction.md)
- [https://github.com/tendermint/tendermint/issues/4059](https://github.com/tendermint/tendermint/issues/4059)
- [https://github.com/tendermint/tendermint/pull/4262](https://github.com/tendermint/tendermint/pull/4262)
2020-08-27 08:57:36 +04:00
Marko
8ca24e2f5a ci: fix net pipeline (#5272) 2020-08-20 17:24:11 +02:00
dependabot[bot]
3935a40929 build(deps): Bump actions/cache from v2.1.0 to v2.1.1 (#5268)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-08-20 13:29:22 +02:00
dependabot[bot]
8ea68b256d build(deps): Bump gaurav-nelson/github-action-markdown-link-check from 1.0.6 to 1.0.7 (#5269)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 13:22:04 +02:00
dependabot[bot]
02c18b44cf build(deps): Bump gaurav-nelson/github-action-markdown-link-check from 1.0.5 to 1.0.6 (#5265)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 13:18:47 +02:00
dependabot[bot]
d1662c9bca build(deps): Bump codecov/codecov-action from v1.0.12 to v1.0.13 (#5258)
Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 13:09:36 +02:00
Marko
42e4e8b58e lint: add markdown linter (#5254) 2020-08-17 16:40:50 +02:00
dependabot[bot]
434e99ce9e build(deps): Bump gaurav-nelson/github-action-markdown-link-check from 0.6.0 to 1.0.5 (#5248) 2020-08-13 18:03:05 +02:00
dependabot[bot]
f6c9a551b0 build(deps): Bump technote-space/get-diff-action from v1 to v3 (#5246) 2020-08-13 17:53:01 +02:00
dependabot[bot]
fca4cff113 build(deps): Bump codecov/codecov-action from v1.0.7 to v1.0.12 (#5247) 2020-08-13 17:43:57 +02:00
dependabot[bot]
7b367eb017 build(deps): Bump actions/cache from v1 to v2.1.0 (#5244) 2020-08-13 17:30:13 +02:00
dependabot[bot]
0ae78e5987 build(deps): Bump golangci/golangci-lint-action from v2.1.0 to v2.2.0 (#5245) 2020-08-13 17:21:04 +02:00
Marko
913f5010c8 add dependabot config (#5243)
## Description

This also adds dependabot for github actions

Closes: #XXX
2020-08-13 15:07:50 +00:00
Marko
2d167aefcf ci: freeze golangci action version (#5196)
## Description

This PR updates golang-ci to latest and stops looking at master for the action. 

Closes: #XXX
2020-08-03 07:57:06 +00:00
Marko
7c8c356f71 ci: version linter fix (#5128)
## Description
linter version fix and run make format to have all ci run

Closes: #XXX
2020-07-16 09:01:02 +00:00
Marko
bba966458a bump versiion of ci linter (#5127) 2020-07-16 09:16:32 +01:00
Marko
fca788a4e1 ci: only run tests when go files are touched (#5097)
## Description

_Please add a description of the changes that this PR introduces and the files that
are the most critical to review._ 

Closes: #XXX
2020-07-08 12:38:39 +00:00
Marko
ea946fabe0 ci: try to fix codecov (#5095)
## Description

codecov is having issues on upload so upgrade to 1.0.7 where they claim it works better and dont fail ci on failure to upload coverage file

Closes: #XXX
2020-07-08 12:00:18 +00:00
Ethan Buchman
bccc7fbca1 .github/issue_template: Update /dump_consensus_state request. (#5060)
Clarify how to get the `/dump_consensus_state` data. 

Eg. https://github.com/tendermint/tendermint/issues/4926 indicated: "Not sure how to do this."
2020-07-06 08:43:09 +00:00
Marko
4f91eaefb8 adjust stale action settings (#5080)
## Description

adjustment of stale action settings, making it a tad more strict

Closes: #XXX
2020-07-03 10:47:43 +00:00
Marko
003ead851a remove stalebot (#5079)
## Description

- remove stale bot (bad bot 👎 )
- add github action to do bots job

Closes: #XXX
2020-07-03 08:41:47 +00:00
Erik Grinaker
a0bd5e7ddd tests: use github.sha in binary cache key (#5062) 2020-06-29 15:02:15 +02:00
Marko
812dddc5ce ci: fix spacing of if statement (#5015)
## Description

This pr fixes the spacing of the if statement. It was working but throwing warnings. this aims to resolve that

Closes: #XXX
2020-06-16 14:35:16 +00:00
Marko
062764ae72 ci: migrate test_cover (#4869)
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
2020-06-16 11:36:40 +02:00
Marko
a27317dff0 ci: add timeouts (#4912)
## Description

Add Timeouts to Github action jobs. The goal of adding timeouts is so if a job is hanging on something it gets killed and the author will get notified. 

I picked these times based on previous circle and Github action times then doubled & in some places tripled the times. 

Closes: #XXX
2020-05-28 13:09:59 +00:00
Marko
7866f4a995 ci: migrate localnet to github actions (#4878)
## Description

This PR moves `localnet` from circleci to github actions.

Would we like to add longer lived nets?

Closes: #XXX
2020-05-26 08:10:41 +00:00
Marko
1ecc886c44 ci: add paths
## Description

by adding paths the ci job wont run if the files aren't touched. this is a change from before where they would run to see if there were changes

Closes: #XXX
2020-05-19 12:08:10 +00:00
Marko
9149ee7d8b lint: various fixes
## Description

various linitng fixes
2020-05-18 10:20:06 +00:00
Marko
678010c45e fix linters & switch to official linter (#4808) 2020-05-07 16:17:43 +02:00
Marko
b7c2d7a977 lint: enable nolintlinter, disable on tests
## Description
- enable nolintlint
- disable linting on tests

Closes: #XXX
2020-05-04 07:49:53 +00:00
Marko
ffc73ba03d ci: checkout code before git diff check (#4779) 2020-04-29 21:48:10 +02:00
Marko
1e925acd04 ci: check git diff on each job (#4770) 2020-04-29 14:55:15 +02:00
Marko
7a87a784bf ci: only run when applicable (#4752)
- only run tests when .go, .mod, .sum files have been touched
- only run proto checks when .proto files have been touched

Signed-off-by: Marko Baricevic marbar3778@yahoo.com
2020-04-28 16:07:11 +02:00
Tess Rinearson
be42442e10 .github: fix whitespace for auto-comment (#4750) 2020-04-28 14:12:53 +02:00
Tess Rinearson
3c41c72026 .github: fix whitespace for autocomment (#4747) 2020-04-27 14:59:07 +02:00
Tess Rinearson
b25faa761f .github: move checklist from PR description into an auto-comment (#4745)
The checklist and message in the default PR description were sometimes getting
included in commit messages. This change moves that text from the PR description
to a comment from a [Probot tool](https://probot.github.io/apps/auto-comment/).
2020-04-27 12:30:04 +02:00
Marko
1f64430cb5 readme: add badge for git tests (#4732)
- add github actions badge for tests on master
- fix discord badge
2020-04-23 13:30:02 +02:00
Marko
173472997a template: add labels to pr template
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v                               ✰  Thanks for creating a PR! ✰    
v    Before smashing the submit button please review the checkboxes.
v    If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  -->

## Description

- this pr add a check box for making sure labels are added to PRs

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

______

For contributor use:

- [ ] Wrote tests
- [ ] Updated CHANGELOG_PENDING.md
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Updated relevant documentation (`docs/`) and code comments
- [ ] Re-reviewed `Files changed` in the Github PR explorer
2020-04-22 08:12:50 +00:00
Marko
62feafb6bd ci: transition some ci to github actions
## Description

move tests for abci_cli, abci_app and app_tests to github actions


______

For contributor use:

- [ ] Wrote tests
- [ ] Updated CHANGELOG_PENDING.md
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Updated relevant documentation (`docs/`) and code comments
- [ ] Re-reviewed `Files changed` in the Github PR explorer
2020-04-20 10:30:06 +00:00
Marko
499f9ed153 lint: add review dog (#4652)
* lint: add review dog

- golangci is being deprecated on the 15th

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
2020-04-07 10:28:26 +02:00
Marko
b14c0e579e tools: remove need to install buf (#4605)
* tools: remove need to install buf

- using buf docker image instead of needing devs to install it

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* fix ci for lint and break checking
2020-03-27 06:47:39 +01:00
Marko
43f3276d6f change link checker to run daily (#4601) 2020-03-25 06:59:52 +00:00
Tess Rinearson
9e5b4afbf1 .github: add markdown link checker (#4513)
co-authored-by: Marko <marbar3778@yahoo.com>
2020-03-04 15:48:17 +01:00
Marko
875b106a17 github: edit templates for use in issues and pull requests (#4483)
* github: edit templates for use in issues and pull requests

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* fix sdk to tendermint
2020-02-27 11:34:56 +01:00