167 Commits

Author SHA1 Message Date
Fabio Di Fabio
90bdd3cb6d Upload distributions to Cloudsmith (#15)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-10-05 15:55:41 +02:00
Fabio Di Fabio
908a6c6301 Publish java artifacts to Cloudsmith (#14)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-10-04 12:22:10 +02:00
Fabio Di Fabio
97ac88c1d2 Set gradle max workers
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-09-14 14:44:10 +02:00
Fabio Di Fabio
05c0f6e4d7 Run CI on zkbesu branch and PR against it
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-09-12 16:20:03 +02:00
Fabio Di Fabio
1c005dde7e Use larger runner
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-09-11 14:56:25 +02:00
garyschulte
ad7bd960e2 move to Hyperledger shared runners for current github actions (#5860)
Signed-off-by: garyschulte <garyschulte@gmail.com>
2023-09-08 08:51:42 +10:00
Fabio Di Fabio
b030e570ce Set the architecture for the docker image
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-25 18:36:04 +02:00
Fabio Di Fabio
295f7c8dd9 Setup CI (#12)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-25 16:07:22 +02:00
Fabio Di Fabio
0a1b973a28 Increase CI gradle memory, update actions and use no-daemon option
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-24 17:19:14 +02:00
Fabio Di Fabio
c5f648a234 Parallelize Gradle execution
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-23 18:40:30 +02:00
Fabio Di Fabio
df055685b0 Simplify CI
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-23 17:27:29 +02:00
Fabio Di Fabio
dc012170b1 Merge all CI in one job to avoid long copies of the workspace
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-23 16:53:04 +02:00
Fabio Di Fabio
b9698b083c Remove ARM build for the moment, and build after tests
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-23 16:13:18 +02:00
Fabio Di Fabio
5113e7ece9 CI: fix publish manifest
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-23 16:05:37 +02:00
Fabio Di Fabio
40367a239b Add buildArm64 step to CI workflow
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-23 16:03:57 +02:00
Fabio Di Fabio
77cd94611d Add new Github actions workflow
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-23 16:01:21 +02:00
Fabio Di Fabio
61739d0630 Add SPDX headers
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-23 15:25:53 +02:00
Fabio Di Fabio
1de00db772 Leave only base CI workflow
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2023-08-23 12:57:54 +02:00
Sally MacFarlane
db410621b0 PR checklist - remove checkbox for non-mainnet ATs (#5514)
* removed non-mainnetATs line

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2023-05-31 06:52:44 +10:00
Ry Jones
81a2b88ef8 Update sonarcloud.yml (#5419) 2023-05-02 16:59:51 -07:00
Simon Dudley
06c38ed8fc Add database compatibility to the PR checklist (#5349)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2023-04-17 10:40:37 +10:00
Matt Nelson
080fe87c81 updating issue template requesting logs (#5342)
* updating issue template requesting logs

Signed-off-by: Matt Nelson <monels11@gmail.com>
2023-04-14 11:46:24 -07:00
Justin Florentine
ad43d0d9e4 continue despite test failures (#5274)
* don't try to sonarqube on forks
* continue despite test failures

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2023-04-04 10:01:58 -04:00
garyschulte
2c1db63927 fence repolinter docker action to prevent docker user from poisoning the filesystem permissions (#5256)
Signed-off-by: garyschulte <garyschulte@gmail.com>
2023-03-22 11:41:42 -07:00
garyschulte
5bd75b43ae Cleanup after GHA docker user (#5253)
* cheaply attempt to cleanup after docker user

Signed-off-by: garyschulte <garyschulte@gmail.com>
2023-03-21 19:34:13 -07:00
Sally MacFarlane
48e2063fb7 [GHA] actions not required on merge group (#5233)
* no need to run codeql on merge group
* no need to run repolinter on merge group
* no need to run checks and gradle-wrapper on merge group

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2023-03-20 09:02:03 +10:00
garyschulte
a76e1f135f use x86 for codeQL github action (#5235)
* use x86 for codeQL github action
* and spotless
* add javadoc_17 runs-on

Signed-off-by: garyschulte <garyschulte@gmail.com>
2023-03-17 19:01:53 -07:00
garyschulte
759697e20a Mainnet AT reduce parallelism and self-hosted runners (#5234)
* reduce parallelism to 4
* use self-hosted runners

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
2023-03-17 18:04:16 -07:00
Sally MacFarlane
57df469e0e [GHA] Checklist action (#5225)
This GHA will add the checklist that's currently in the PR template, as
a comment, on newly opened PRs.

Because it needs write access (to add the comment), it needs to run on
the `pull_request_target` action, which means you won't see the outcome
on _this_ PR, but only once it's merged in, you'll see it on subsequent
PRs - example -
https://github.com/daisy-row/vigilant-octo-umbrella/pull/51

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2023-03-16 06:27:04 +00:00
Sally MacFarlane
b2dccc89e2 add separate dco yml for merge_group event (#5207)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2023-03-13 17:15:12 +10:00
Sally MacFarlane
15a9ca93de no dco on merge_group (#5204)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2023-03-13 12:44:26 +10:00
Sally MacFarlane
3dcedb5128 add merge_group action trigger (#5132)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2023-03-13 11:52:33 +10:00
Simon Dudley
d0de337d4d Ask for Consensus Client and version on issue template (#5169)
Remove unused templates
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2023-03-07 13:48:57 +10:00
Justin Florentine
249a6f363e Sonarcloud Analysis once a week. (#5137)
* fixing the sonarcloud building in gha
* update to temurin 17
* adds checksums on sonarqube plugins
* ignore generated for spdx
* runs at midnight Tuesday mornings UTC

---------

Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Joshua Fernandes <joshua.fernandes@consensys.net>
2023-03-07 13:11:23 +10:00
Ry Jones
ab576d6eed Update to Java 17 (#5110)
Signed-off-by: Ry Jones <ry@linux.com>
2023-02-18 12:22:21 -08:00
Usman Saleem
14155e3bb4 Update Github pull request template (#5060)
Add option to advise to run non-mainnet acceptance test if required

Signed-off-by: Usman Saleem <usman@usmans.info>
2023-02-07 14:04:41 +10:00
Usman Saleem
e18e407c4e Use Java 17 to build and run Besu (#4977)
Update following sections:
Gradle build, CircleCI, GitHub Actions, Docker

The devp2p TLS mutual authentication unit tests dealing with PKCS11+nss and QBFT+PKCS11+nss ATs were failing on Java 17 when dealing with RSA keys. The unit tests and AT are updated to use EC keys instead. The keystores, truststores, CRL etc. involved in those ATs are regenerated and detailed instructions are provided on how they are created.

Signed-off-by: Usman Saleem <usman@usmans.info>
2023-02-03 10:17:54 +10:00
Usman Saleem
9eb32836b7 Fix javadocs to allow build to pass in JDK 17 (#4834)
- Added missing javadocs so that javadoc doclint passes against JDK 17 (invoke by Besu gradle build).
- Exclude following packages from javadoc lint:
org.hyperledger.besu.privacy.contracts.generated
org.hyperledger.besu.tests.acceptance.*
- Temporarily exclude ethereum and evm submodule for doc lint checks.
- Run the javadoc task using GitHub actions (use Java 17) to report any javadoc errors during the PR builds
- Updating plugin-api build.gradle with new hash as javadoc comments caused it to change

Signed-off-by: Usman Saleem <usman@usmans.info>
2023-01-18 22:51:00 +10:00
Sally MacFarlane
083b5d1e9b rollback dco on push (#4855)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2022-12-22 07:05:13 +10:00
Sally MacFarlane
fa9f99d283 DCO check on main (#4847)
* run dco on push to main

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* release branches

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

* add test-dco* branch

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
2022-12-21 10:41:53 +10:00
Jason Frame
b29cc88e46 Fix docker release workflow login (#4826)
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2022-12-16 11:41:49 +10:00
Jason Frame
1c59bdc7d8 Docker release task for latest tags (#4810)
Signed-off-by: Jason Frame <jason.frame@consensys.net>
2022-12-16 11:41:49 +10:00
Jason Frame
1205e3a6f0 Docker release builds to no longer add latest tag (#4791)
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
2022-12-10 06:22:13 +10:00
Antoine Toulme
f838572ec8 separate dco from spotless, make dco only run for pull requests. Run on workflow dispatch on demand (#4165)
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2022-07-26 20:38:29 -07:00
Antoine Toulme
b7cea68d65 move some easy build jobs (DCO, Spotless) over to github (#4161)
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
2022-07-24 23:00:39 -06:00
Danno Ferrin
d0c71c3bdc Remove Sonar Integration (#4135)
Sonar has been removed from the build workflow. This PR removes all
configuration and code markings that were used to facilitate it.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2022-07-21 23:28:20 +01:00
Joshua Fernandes
c0631cf2b1 Create sonarcloud.yml (#3967)
* Create sonarcloud.yml

Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
2022-06-16 08:52:45 +10:00
Sally MacFarlane
834d13d8b3 Attempt to fix CodeQL OOM (#3877)
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2022-05-20 14:09:05 +10:00
Joshua Fernandes
57c71fdb10 adding codeql to besu to check for quality (#3774)
Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>

Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2022-05-06 12:08:19 +10:00
bgravenorst
fa0e9eb556 Update the PR template to include a documentation checklist item. (#3629)
Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>
2022-03-24 13:40:36 +10:00